/* TFP Auth Pages Styles */

.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: var(--md-sys-color-surface);
}

.auth-card {
    width: 100%;
    max-width: 450px;
    padding: 40px;
    margin: 0 auto;

    /* Glassmorphic Style */
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h1 {
    margin: 0 0 8px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--md-sys-color-on-surface);
    letter-spacing: -0.02em;
}

.auth-header p {
    margin: 0;
    color: var(--md-sys-color-on-surface-variant);
    font-size: 1rem;
}

.auth-header md-icon {
    font-size: 48px;
    width: 48px;
    height: 48px;
    line-height: 1;
    overflow: visible;
    color: var(--md-sys-color-primary);
    margin-bottom: 16px;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

md-outlined-text-field {
    width: 100%;
}

.form-actions {
    margin-top: 32px;
}

md-filled-button {
    width: 100%;
}

/* Links & Separators */
.auth-links {
    margin-top: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.9rem;
}

.auth-links a {
    color: var(--md-sys-color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.auth-links a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.auth-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: var(--md-sys-color-outline);
    font-size: 0.85rem;
}

.auth-separator::before,
.auth-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.auth-separator:not(:empty)::before {
    margin-right: .5em;
}

.auth-separator:not(:empty)::after {
    margin-left: .5em;
}

/* Messages */
.status-msg {
    display: block;
    margin-top: 16px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    min-height: 20px;
}

.status-msg.error {
    color: #d32f2f;
}

.status-msg.success {
    color: #2e7d32;
}

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

    .auth-header h1 {
        font-size: 1.75rem;
    }
}