/* ==================== PORTAL LOGIN & REGISTRATION STYLES ==================== */

.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: var(--bg-color);
    transition: background-color 0.3s;
}

.auth-card {
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    padding: 35px;
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-lg);
    animation: slideInSoft 0.55s var(--motion-ease);
}

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

.auth-header h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.5px;
    animation: popIn 0.5s var(--motion-ease);
}

.auth-header p {
    font-size: 13px;
    color: #64748b;
    margin-top: 5px;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 25px;
}

.auth-tab {
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border-radius: 7px;
    cursor: pointer;
    transition: transform var(--motion-fast) var(--motion-ease), background var(--motion-normal), color var(--motion-normal), box-shadow var(--motion-normal);
    color: #64748b;
}

.auth-tab:hover {
    transform: translateY(-1px);
}

.auth-tab.active {
    background: var(--card-bg);
    color: var(--secondary-color);
    box-shadow: var(--shadow);
}

.auth-form-content {
    display: none;
}

.auth-form-content.active {
    display: block;
    animation: fadeIn 0.28s var(--motion-ease);
}

.auth-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 13px;
    color: #64748b;
}
