:root {
    --primary: #0E9D59;
    --primary-dark: #087A45;
    --secondary: #12355B;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --font: 'Inter', sans-serif;
    --error: #ef4444;
    --success: #0E9D59;
}

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

body {
    font-family: var(--font);
    background: var(--gray-50);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-page {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-container {
    max-width: 420px;
    width: 100%;
}
.auth-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}
.auth-logo-img {
    height: 80px;
    width: auto;
    display: block;
    margin: 0 auto 10px;
}
.auth-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-size: 22px;
    color: var(--secondary);
    text-decoration: none;
}
.auth-logo span {
    color: var(--secondary);
}
.auth-logo span::after {
    content: "Smart";
    color: var(--primary);
}
.auth-subtitle {
    color: var(--gray-500);
    font-size: 15px;
    margin-top: 6px;
}

/* ===== FORM ===== */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-700);
}
.form-group input {
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    font-size: 16px;
    font-family: var(--font);
    transition: all 0.2s ease;
}
.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 157, 89, 0.12);
}

/* ===== BUTTON ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(14, 157, 89, 0.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}
.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.btn-block {
    width: 100%;
}

/* ===== ERROR ===== */
.auth-error {
    background: #fef2f2;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    border-left: 4px solid var(--error);
}

/* ===== LINKS ===== */
.auth-links {
    text-align: center;
    padding: 8px 0;
}
.auth-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.auth-links a:hover {
    text-decoration: underline;
}

/* ===== SUPPORT ===== */
.auth-support {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 0 0;
    font-size: 14px;
    color: var(--gray-500);
    border-top: 1px solid var(--gray-100);
}
.auth-support i {
    color: var(--primary);
}
.auth-support strong {
    color: var(--gray-800);
}

/* ===== DOWNLOAD LINK ===== */
.auth-download-link {
    text-align: center;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
    margin-top: 8px;
}
.auth-download-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.auth-download-link a:hover {
    text-decoration: underline;
}
.auth-download-link i {
    margin-right: 6px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .auth-card {
        padding: 24px 18px;
    }
    .auth-logo-img {
        height: 60px;
    }
    .auth-logo {
        font-size: 18px;
    }
}

/* ===== COMING SOON TOAST ===== */
.coming-soon-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: var(--gray-900);
    color: var(--white);
    padding: 16px 28px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: slideUp 0.3s ease;
}
.coming-soon-toast .toast-content {
    display: flex;
    align-items: center;
    gap: 8px;
}
.coming-soon-toast .toast-content i {
    color: var(--primary);
    font-size: 20px;
}
.coming-soon-toast.fade-out {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    transition: all 0.3s ease;
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}