@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: 'Inter', sans-serif;
    display: flex; /* Creates the split screen side-by-side */
    overflow: hidden;
}

/* Left Section: Matches Login Background & Overlay */
.left-section {
    flex: 1;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.65)), 
                url('../image/reuhub_loginpage.png') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 50px;
    text-align: center;
}

.left-section img.large-logo {
    width: 350px;
    margin-bottom: 20px;
}

.left-section p {
    font-size: 18px;
    font-weight: 600;
    max-width: 500px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Right Section: Matches the 450px fixed panel from Login */
.right-section {
    width: 450px;
    height: 100vh;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligned to top to fit more signup fields */
    padding: 60px;
    box-sizing: border-box;
}

/* Brand Button: Identical Red */
.btn-red {
    width: 100%;
    padding: 15px;
    background-color: #ec1f27;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    text-transform: uppercase;
}

.login-link a {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.right-section {
    width: 450px;
    height: 100vh;
    background-color: white;
    display: flex;
    flex-direction: column; /* Vertical stack allows margin-top: auto */
    padding: 40px 60px;
    box-sizing: border-box;
}

.logo-signup {
    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center;     /* Vertical centering within its div */
    margin-bottom: 20px;
    width: 100%;             /* Ensures it spans the container width */
}

.logo-signup img {
    width: 180px;            /* Fixed width for clarity */
    height: auto;            /* Maintains aspect ratio to prevent blurring */
    display: block;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

/* Modal Box */
.modal-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    max-width: 400px;
    width: 90%;
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: #dcfce7;
    color: #15803d;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.modal-content h3 {
    margin: 0 0 10px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-content p {
    color: #666;
    font-size: 14px;
}

.sub-text {
    font-size: 12px !important;
    color: #999 !important;
    margin-top: 10px;
}

/* Progress bar animation */
.loading-bar {
    height: 4px;
    background: #ec1f27;
    width: 0;
    margin-top: 25px;
    border-radius: 2px;
    animation: progress 2s linear forwards;
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes progress {
    to { width: 100%; }
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

/* Modal Box */
.modal-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    max-width: 400px;
    width: 90%;
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: #dcfce7;
    color: #15803d;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.modal-content h3 {
    margin: 0 0 10px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-content p {
    color: #666;
    font-size: 14px;
}

.sub-text {
    font-size: 12px !important;
    color: #999 !important;
    margin-top: 10px;
}

/* Progress bar animation */
.loading-bar {
    height: 4px;
    background: #ec1f27;
    width: 0;
    margin-top: 25px;
    border-radius: 2px;
    animation: progress 2s linear forwards;
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes progress {
    to { width: 100%; }
}