/* ========================================
   LOGIN PAGE STYLES
   ======================================== */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-card {
    background: white;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
    padding: 60px;
    max-width: 480px;
    width: 100%;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.login-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.login-title {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--dozi-turquoise), var(--dozi-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.login-subtitle {
    color: var(--dozi-gray);
    font-size: 16px;
}

.login-form {
    margin-bottom: 30px;
}

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

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dozi-dark);
}

.form-input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--dozi-turquoise);
    box-shadow: 0 0 0 4px rgba(64, 224, 208, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--dozi-gray);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.forgot-link {
    color: var(--dozi-turquoise);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

.login-footer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #E5E7EB;
}

.login-footer p {
    color: var(--dozi-gray);
    margin-bottom: 12px;
}

.register-link {
    color: var(--dozi-turquoise);
    text-decoration: none;
    font-weight: 600;
}

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

.back-link {
    text-align: center;
    margin-top: 20px;
}

.back-link a {
    color: var(--dozi-gray);
    text-decoration: none;
    font-size: 14px;
}

.back-link a:hover {
    color: var(--dozi-turquoise);
}

/* Error/Success Messages */
.message {
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

.message.error {
    background: #FEE2E2;
    color: #DC2626;
    border: 1px solid #FCA5A5;
}

.message.success {
    background: #D1FAE5;
    color: #059669;
    border: 1px solid #6EE7B7;
}

.message.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State */
.btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 640px) {
    .login-card {
        padding: 40px 30px;
    }

    .login-title {
        font-size: 28px;
    }

    .form-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}
