


:root {
    --primary-green: #2ECC71;
    --text-dark: #253D4E;
    --text-gray: #7E7E7E;
    --border-color: #E0E0E0;
}




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}





.login-page {
    display: flex;
    height: 100vh;
    width: 100%;
}


.login-left {
    flex: 1;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
}

.login-illustration {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}


.login-right {
    flex: 1;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
}

.login-container {
    width: 100%;
    max-width: 420px;
}


.login-logo {
    text-align: left;
    margin-bottom: 60px;
}

.login-logo h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000000;
    font-family: 'Outfit', sans-serif;
}


.login-form {
    width: 100%;
}

.auth-feedback {
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 0.92rem;
}

.auth-feedback.is-error {
    background-color: #fff1f2;
    border-color: #fecdd3;
    color: #be123c;
}

.auth-feedback.is-success {
    background-color: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
}

.auth-toast-host {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1200;
    display: grid;
    gap: 12px;
    width: min(360px, calc(100vw - 32px));
    pointer-events: none;
}

.auth-toast {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    color: var(--text-dark);
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
    pointer-events: auto;
}

.auth-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.auth-toast.is-leaving {
    transform: translateY(-8px);
    opacity: 0;
}

.auth-toast.is-error {
    border-color: rgba(244, 63, 94, 0.18);
}

.auth-toast.is-success {
    border-color: rgba(34, 197, 94, 0.18);
}

.auth-toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.auth-toast.is-error .auth-toast-icon {
    background: #fff1f2;
    color: #e11d48;
}

.auth-toast.is-success .auth-toast-icon {
    background: #ecfdf3;
    color: #15803d;
}

.auth-toast-message {
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.45;
    padding-top: 0.2rem;
}

.auth-toast-close {
    border: 0;
    background: transparent;
    color: #94a3b8;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.auth-toast-close:hover {
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
}


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


.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 1rem;
}

.input-status {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #22c55e;
    color: #ffffff;
    font-size: 0.72rem;
    box-shadow: 0 8px 18px rgba(34, 197, 94, 0.22);
}


.form-input {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 500;
    width: 100%;
    padding: 16px 52px 16px 50px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    background-color: #FFFFFF;
}

.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus,
.form-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: var(--text-dark) !important;
}

.form-input:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 1px #000000;
}

.input-wrapper.has-valid-email .form-input {
    border-color: rgba(34, 197, 94, 0.7);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-input::placeholder {
    color: var(--text-gray);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 500;
}


.btn-signup {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    width: 100%;
    padding: 16px;
    background-color: #000000;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    margin-bottom: 30px;
}

.btn-signup:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-signup:disabled {
    cursor: not-allowed;
    opacity: 0.8;
    transform: none;
    box-shadow: none;
}


.divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background-color: var(--border-color);
}

.divider::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background-color: var(--border-color);
}

.divider span {
    background-color: #FFFFFF;
    padding: 0 15px;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
}


.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-social {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: #FFFFFF;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-social i {
    font-size: 1.2rem;
}

.btn-facebook i {
    color: #1877F2;
}

.btn-google i {
    color: #DB4437;
}


.login-link {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.login-link a {
    color: #000000;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: var(--primary-green);
    text-decoration: underline;
}





@media (max-width: 1200px) {
    .login-right {
        padding: 60px 50px;
    }

    .login-left {
        padding: 40px;
    }
}

@media (max-width: 992px) {
    .login-page {
        flex-direction: column;
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }

    .login-left {
        min-height: 50vh;
        padding: 40px 20px;
    }

    .login-illustration {
        max-height: 60vh;
    }

    .login-right {
        padding: 40px 30px;
    }

    .login-logo {
        text-align: center;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .login-logo h1 {
        font-size: 3rem;
    }

    .login-container {
        max-width: 100%;
    }

    .social-login {
        flex-direction: column;
    }

    .btn-social {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .auth-toast-host {
        top: 14px;
        right: 14px;
        width: min(100vw - 20px, 340px);
    }

    .login-left {
        min-height: 25vh;
        max-height: 200px;
        padding: 20px;
    }

    .login-illustration {
        max-height: 180px;
    }

    .login-logo {
        margin-bottom: 25px;
    }

    .login-logo h1 {
        font-size: 2.2rem;
    }

    .login-right {
        padding: 24px 16px 40px;
    }

    .form-input {
        padding: 13px 16px 13px 44px;
        font-size: 0.9rem;
    }

    .input-wrapper.has-valid-email .form-input {
        padding-right: 44px;
    }

    .input-icon {
        left: 14px;
        font-size: 0.95rem;
    }

    .btn-signup {
        padding: 13px;
        font-size: 0.95rem;
    }

    .btn-social {
        padding: 11px 16px;
        font-size: 0.88rem;
    }
}
