.ref-auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background-color: #f8f9fb;
}

.ref-auth-container {
    width: 100%;
    max-width: 480px;
}

.ref-auth-card {
    background: #fff;
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.ref-auth-card h1 {
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #181F35;
    margin: 0 0 8px 0;
    text-align: center;
}

.ref-auth-subtitle {
    font-family: 'League Spartan', sans-serif;
    font-size: 16px;
    color: #4A5578;
    text-align: center;
    margin: 0 0 32px 0;
    line-height: 1.5;
}

/* Messages */
.ref-auth-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'League Spartan', sans-serif;
    margin-bottom: 20px;
    line-height: 1.4;
}

.ref-msg-success,
.ref-auth-message.success {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    display: block;
}

.ref-msg-error,
.ref-auth-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    display: block;
}

/* Form */
.ref-auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ref-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ref-form-group label {
    font-family: 'League Spartan', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #181F35;
}

.ref-form-group input {
    font-family: 'League Spartan', sans-serif;
    font-size: 15px;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    color: #181F35;
    transition: border-color 0.2s;
    outline: none;
}

.ref-form-group input:focus {
    border-color: #077DFD;
    box-shadow: 0 0 0 3px rgba(7, 125, 253, 0.1);
}

.ref-form-group input.input-error {
    border-color: #dc2626;
}

/* Password strength */
.ref-password-strength {
    font-family: 'League Spartan', sans-serif;
    font-size: 12px;
    min-height: 18px;
}

.ref-password-strength.weak { color: #dc2626; }
.ref-password-strength.medium { color: #d97706; }
.ref-password-strength.strong { color: #059669; }

/* Button */
.ref-auth-btn {
    font-family: 'League Spartan', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #077DFD;
    border: none;
    border-radius: 10px;
    padding: 14px 24px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 4px;
}

.ref-auth-btn:hover {
    background: #065ecb;
}

.ref-auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Footer */
.ref-auth-footer {
    text-align: center;
    margin-top: 24px;
    font-family: 'League Spartan', sans-serif;
    font-size: 14px;
    color: #4A5578;
}

.ref-auth-footer a {
    color: #077DFD;
    text-decoration: none;
    font-weight: 600;
}

.ref-auth-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 540px) {
    .ref-auth-card {
        padding: 32px 24px;
        border-radius: 16px;
    }

    .ref-auth-card h1 {
        font-size: 24px;
    }

    .ref-auth-subtitle {
        font-size: 14px;
    }
}
