/**
 * InvestFlow Authentication Styles
 *
 * @package     InvestFlow
 * @subpackage  Assets\CSS\Public
 * @author      Kaetech Digital
 * @since       1.0.0
 */

.investflow-auth-page {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.auth-container {
    width: 100%;
    max-width: 640px;
    padding: 20px;
}



.auth-brand {
    text-align: center;
    margin-bottom: 32px;
}

.auth-brand .brand-icon {
    display: inline-block;
    margin-bottom: 12px;
}

.auth-brand h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.5px;
    padding-top: 15px;
}

.auth-brand p {
    color: #64748b;
    font-size: 14px;
    margin-top: 4px;
}

.auth-form h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.auth-subtitle {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 24px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.auth-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #ffffff;
    color: #0f172a;
}

.auth-form input:focus {
    outline: none;
    border-color: #00C897;
    box-shadow: 0 0 0 3px rgba(0, 200, 151, 0.1);
}

.auth-form input::placeholder {
    color: #94a3b8;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #00C897;
}

.forgot-link {
    font-size: 14px;
    color: #00C897;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 200, 151, 0.3);
    background:var(--primary-hover);
}

.btn-primary:active {
    transform: translateY(0);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    font-size: 14px;
    color: #64748b;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-error {
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Dark theme for auth page */
body.dark-theme .auth-box {
    background: #1a1a2e;
}

body.dark-theme .auth-brand h1 {
    color: #ffffff;
}

body.dark-theme .auth-brand p {
    color: #94a3b8;
}

body.dark-theme .auth-form h2 {
    color: #ffffff;
}

body.dark-theme .auth-form label {
    color: #e2e8f0;
}

body.dark-theme .auth-form input {
    background: #16213e;
    border-color: #2d2d4a;
    color: #ffffff;
}

body.dark-theme .auth-form input:focus {
    border-color: #00C897;
    box-shadow: 0 0 0 3px rgba(0, 200, 151, 0.15);
}

body.dark-theme .auth-form input::placeholder {
    color: #64748b;
}

body.dark-theme .checkbox-label {
    color: #94a3b8;
}

body.dark-theme .auth-footer {
    border-top-color: #2d2d4a;
    color: #94a3b8;
}

body.dark-theme .auth-footer a {
    color: #00C897;
}

@media (max-width: 480px) {
    .auth-box {
        padding: 24px;
    }

    .auth-form h2 {
        font-size: 18px;
        font-weight: 700;
        color: var(--text-primary);
        margin: 0 0 8px;
    }

    .auth-brand h1 {
        font-size: 22px;
        font-weight: 800;
        color: var(--text-primary);
        margin: 0;
        letter-spacing: -0.5px;
    }
}