.register-body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5;
    display: flex;
    flex-direction: column;
    min-height: 97vh;
}

.register-page-wrapper {
    display: flex;
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}


.register-illustration-left {
    flex-grow: 1;
    background-color: #4c75af;
    position: relative;
    overflow: hidden;
    background-image: url('../images/Man-working-on-laptop-icon-illustration-on-transparent-background-PNG.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    /* justify-content: center; */
    /* align-items: center; */
    /* padding: 50px; */
}

.illustration-content {
    position: relative;
    z-index: 2;

    max-width: 400px;
}

.welcome-logo {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.register-illustration-left h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.register-illustration-left p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}


.register-form-area {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 3rem;
    background-color: #ffffff;
    /* z-index: 10; */
}

.register-form-card {
    width: 100%;
    max-width: 450px;
    text-align: left;
    padding: 0 4rem 2rem 4rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    /* max-height: 95vh; */
    /* overflow-y: auto; */
}

.register-form-card h2 {
    font-size: 2.2rem;
    color: var(--dark-text);
    margin-bottom: 10px;
    font-weight: 700;
}

.login-prompt {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 30px;
}

.login-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.login-link:hover {
    text-decoration: underline;
}


.register-form .form-group {
    margin-bottom: 20px;
}

.register-form .form-group label {
    display: block;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
}

.register-form .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    color: var(--dark-text);
    background-color: #fff;
    transition: border-color 0.3s;
}

.register-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.register-form .password-group {
    position: relative;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.terms-checkbox input[type="checkbox"] {
    margin-right: 10px;
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: var(--primary-green);
}

.terms-checkbox label {
    color: #666;
    line-height: 1.5;
    display: block;
}

.terms-checkbox .terms-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
}

.terms-checkbox .terms-link:hover {
    text-decoration: underline;
}

.register-button {
    width: 108%;
    padding: 15px;
    background-color: #4c75af;

    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.register-button:hover {
    background-color: #3B5B88;
}

@media (max-width: 900px) {
    .register-page-wrapper {
        flex-direction: column;
        min-height: auto;

    }

    .register-illustration-left {
        order: 1;
        flex: none;
        width: 100%;
        height: 250px;
        padding: 30px 20px;
        display: flex;
        align-items: center;
        text-align: center;
    }

    .illustration-content {
        max-width: none;
    }

    .register-form-area {
        order: 2;
        flex: none;
        width: 100%;
        padding: 40px 20px;
        align-items: flex-start;
    }

    .register-form-card {
        padding: 5rem;
        box-shadow: none;
        max-width: 100%;
        max-height: none;
        overflow-y: visible;
    }

    .register-form-card h2 {
        font-size: 1.8rem;
    }

}

@media (max-width: 500px) {
    .register-illustration-left {
        height: 200px;
    }

    .register-form-area {
        padding: 20px 15px;
    }

    .register-button {
        width: 110%;
    }

    .welcome-logo {
        font-size: 2rem;
    }

    .register-illustration-left h3 {
        font-size: 1.4rem;
    }

    .register-illustration-left p {
        font-size: 0.9rem;
    }
}