/* Estilos mínimos propios — MudBlazor cubre el resto. */

html, body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
}

/* Splash mientras descarga el runtime WASM — temática de vacaciones */
.fripmix-splash {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #0EA5B7 0%, #0F172A 100%);
}

.fripmix-splash-title {
    color: #FFFFFF;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-top: 26px;
}

.fripmix-splash-sub {
    color: #CFFAFE;
    margin-top: 8px;
}

/* Escena: sol girando + palmera meciéndose + olas. */
.fx-splash-scene {
    position: relative;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sol con rayos (anillo punteado girando). */
.fx-splash-sun {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 6px dashed #FDE68A;
    animation: fx-spin 6s linear infinite;
}

.fx-splash-sun::after {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, #FEF08A 0%, #FBBF24 70%);
    box-shadow: 0 0 24px rgba(251, 191, 36, .6);
}

/* Palmera meciéndose sobre el sol. */
.fx-splash-palm {
    position: relative;
    z-index: 2;
    font-size: 46px;
    transform-origin: 50% 90%;
    animation: fx-sway 2.2s ease-in-out infinite;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
}

/* Olas debajo. */
.fx-splash-waves {
    position: absolute;
    bottom: -18px;
    display: flex;
    gap: 6px;
}

.fx-splash-waves span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #67E8F9;
    animation: fx-bob 1.2s ease-in-out infinite;
}

.fx-splash-waves span:nth-child(2) { animation-delay: .2s; }
.fx-splash-waves span:nth-child(3) { animation-delay: .4s; }

@keyframes fx-spin { to { transform: rotate(360deg); } }
@keyframes fx-sway { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
@keyframes fx-bob  { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(-7px); opacity: 1; } }

/* Slides del carrusel de la landing. El carrusel está fijado a proporción
   24:7 (≈3.43:1). Si la imagen tiene ESA misma proporción, 'cover' la muestra
   completa, sin bordes y sin recortes. El navy solo aparece si la imagen no
   calza exacto. */
.hero-slide {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0F172A;
}

/* ── Logo de marca ──────────────────────────────────────────────────── */
.brand-logo {
    display: inline-flex;
    align-items: center;
}

.brand-logo img {
    display: block;
    border-radius: 10px;
    transition: transform .15s ease;
}

.brand-logo:hover img { transform: scale(1.04); }

/* logo_002 ya trae su propio fondo: lo enmarcamos como una insignia limpia. */
.brand-logo--pill {
    padding: 3px;
    border-radius: 13px;
    background: linear-gradient(135deg, #84CC16, #0EA5B7);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.brand-logo--pill img {
    border-radius: 10px;
}

/* ════════════════════════════════════════════════════════════════════════
   LANDING (estilo Uber)
   ════════════════════════════════════════════════════════════════════════ */

.fx-section-title {
    font-weight: 700;
    color: #0F172A;
}

/* ── Hero (titular centrado + buscador flotante) ────────────────────────── */
.fx-hero {
    position: relative;
    min-height: 540px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;       /* parallax sutil */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 24px;
    text-align: center;
}

.fx-hero__content {
    max-width: 760px;
    width: 100%;
}

.fx-hero__title {
    font-size: 3.1rem;
    line-height: 1.1;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 14px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

.fx-hero__sub {
    font-size: 1.15rem;
    color: #E5EAF5;
    margin: 0 0 30px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .4);
}

/* Buscador como una píldora flotante. */
.fx-search {
    display: flex;
    gap: 10px;
    align-items: stretch;
    background: rgba(255, 255, 255, .96);
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .35);
    max-width: 620px;
    margin: 0 auto;
}

.fx-search__field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
}

.fx-search__icon { color: #64748B; }

.fx-search__input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    color: #0F172A;
    height: 44px;
    font-family: inherit;
}

.fx-search__input::placeholder { color: #94A3B8; }

.fx-search__btn { white-space: nowrap; border-radius: 12px !important; }

.fx-hero__hint {
    color: #CBD5E1;
    font-size: .82rem;
    margin-top: 14px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}

@media (max-width: 600px) {
    .fx-hero          { background-attachment: scroll; }
    .fx-hero__title   { font-size: 2.1rem; }
    .fx-hero__sub     { font-size: 1rem; }
    .fx-search        { flex-direction: column; }
    .fx-search__field { padding: 6px 14px; }
}

/* ── Carrusel ───────────────────────────────────────────────────────────── */
.fx-carousel-wrap {
    margin: 0;
}

/* ── Pasos / tarjetas de valor ──────────────────────────────────────────── */
.fx-step {
    text-align: center;
    padding: 16px;
}

.fx-step__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EEF2FF;
    color: #4F46E5;
}

/* ── Banda con fondo claro ──────────────────────────────────────────────── */
.fx-band {
    background: #FFFFFF;
    padding: 64px 0;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

/* ── Tarjetas de destino ────────────────────────────────────────────────── */
.fx-dest {
    height: 260px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .15);
    transition: transform .2s ease;
}

.fx-dest:hover { transform: translateY(-4px); }

.fx-dest__body { padding: 20px; }

/* ── Sección conductores ────────────────────────────────────────────────── */
.fx-rounded-img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .18);
    display: block;
}

.fx-bullet {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #334155;
}

/* ── CTA final ──────────────────────────────────────────────────────────── */
.fx-cta {
    background: #0F172A;
    padding: 64px 24px;
}

/* ════════════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════════════ */
.fx-footer {
    background: #0B1120;
    color: #CBD5E1;
    padding: 56px 24px 24px;
}

.fx-footer__grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 32px;
}

@media (max-width: 900px) {
    .fx-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
    .fx-footer__grid { grid-template-columns: 1fr; }
}

.fx-footer__tagline {
    margin-top: 16px;
    font-size: .9rem;
    line-height: 1.6;
    color: #94A3B8;
    max-width: 320px;
}

.fx-footer__col h4 {
    color: #FFFFFF;
    font-size: .95rem;
    margin: 0 0 14px;
}

.fx-footer__col a {
    display: block;
    color: #94A3B8;
    text-decoration: none;
    font-size: .9rem;
    margin-bottom: 10px;
    transition: color .15s ease;
}

.fx-footer__col a:hover { color: #FFFFFF; }

.fx-footer__bar {
    max-width: 1100px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #1E293B;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .82rem;
    color: #64748B;
}

.fx-footer__legal a {
    color: #64748B;
    text-decoration: none;
}

.fx-footer__legal a:hover { color: #CBD5E1; }

/* Chips de multiplicador del mercado. */
.fx-mult-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ── Tarjetas del mercado ────────────────────────────────────────────────── */
.fx-market-card {
    display: flex;
    overflow: hidden;
    border-radius: 14px;
}

.fx-market-card__accent {
    width: 6px;
    flex-shrink: 0;
    background: linear-gradient(#4F46E5, #84CC16);
}

.fx-market-card__body {
    flex: 1 1 auto;
    padding: 18px 20px;
}

.fx-market-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EEF2FF;
    color: #4F46E5;
    flex-shrink: 0;
}

.fx-market-card__price {
    text-align: right;
    min-width: 130px;
}

.fx-market-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fx-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #F1F5F9;
    color: #475569;
    border-radius: 14px;
    padding: 2px 10px;
    font-size: .76rem;
}

.fx-badge .mud-icon-root { font-size: 1rem; }
.fx-badge.hot { background: #FEF3C7; color: #B45309; }

/* Filas de aprobación de billetera. */
.fx-approval-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    margin-bottom: 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: box-shadow .15s ease, transform .12s ease;
}

.fx-approval-row:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(15,23,42,.12); }

.fx-approval-row__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fx-approval-row__icon.in  { background: #DCFCE7; color: #16A34A; }
.fx-approval-row__icon.out { background: #FEE2E2; color: #DC2626; }

/* ── Tarjetas de ruta prediseñada ───────────────────────────────────────── */
.fx-route-card {
    border-radius: 14px;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}

.fx-route-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(15,23,42,.16); }

.fx-route-card__photo {
    position: relative;
    height: 160px;
}

.fx-route-card__photo img,
.fx-route-card__photo .fx-img-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fx-route-card__status {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    color: #fff;
}

.fx-route-card__status.ok       { background: #16A34A; }
.fx-route-card__status.pending  { background: #F59E0B; }
.fx-route-card__status.rejected { background: #DC2626; }

/* Buscador de lugares (Places) en el editor de rutas. */
.fx-place-search {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    padding: 4px 12px;
    background: #fff;
}

.fx-place-search__icon { color: #64748B; }

.fx-place-search__input {
    flex: 1;
    border: none;
    outline: none;
    height: 38px;
    font-size: .95rem;
    font-family: inherit;
    color: #0F172A;
    background: transparent;
}

/* El dropdown de sugerencias de Google debe ir por encima de todo. */
.pac-container { z-index: 4000 !important; }

/* ── Encabezado y títulos profesionales del detalle ─────────────────────── */
.fx-detail-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fx-detail-title {
    font-weight: 800;
    color: #0F172A;
    line-height: 1.1;
}

/* Título de sección con barra de acento a la izquierda. */
.fx-section-head {
    position: relative;
    padding-left: 12px;
    font-weight: 700;
    color: #0F172A;
}

.fx-section-head::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 3px;
    background: linear-gradient(#4F46E5, #84CC16);
}

/* Métrica (distancia / tiempo / paradas / rating). */
.fx-metric {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 10px 12px;
}

.fx-metric > div {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.fx-metric b { font-size: 1.05rem; color: #0F172A; }
.fx-metric span { font-size: .72rem; color: #64748B; }

/* ── Slots de foto por ángulo (detalle de vehículo) ─────────────────────── */
.fx-angle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.fx-type-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fx-angle-slot__label {
    font-size: .78rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
}

.fx-angle-slot__photo {
    position: relative;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
}

.fx-angle-slot__photo img,
.fx-angle-slot__photo .fx-img-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fx-angle-slot__empty {
    height: 110px;
    border: 2px dashed #CBD5E1;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #94A3B8;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease;
}

.fx-angle-slot__empty:hover { border-color: #4F46E5; color: #4F46E5; }
.fx-angle-slot__empty .mud-icon-root { font-size: 1.8rem; }

/* ── Tarjetas de vehículo (lista) ───────────────────────────────────────── */
.fx-veh-card {
    border-radius: 14px;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}

.fx-veh-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(15,23,42,.16); }

.fx-veh-card__photo {
    position: relative;
    height: 150px;
}

.fx-veh-card__photo img,
.fx-veh-card__photo .fx-img-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fx-veh-card__noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E2E8F0;
    color: #94A3B8;
}

.fx-veh-card__noimg .mud-icon-root { font-size: 3rem; }

.fx-veh-card__status {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    color: #fff;
}

.fx-veh-card__status.ok       { background: #16A34A; }
.fx-veh-card__status.pending  { background: #F59E0B; }
.fx-veh-card__status.rejected { background: #DC2626; }

/* Filas de parada en el detalle. */
.fx-stop-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #F1F5F9;
}

.fx-stop-row:last-of-type { border-bottom: none; }

.fx-stop-row__num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #4F46E5;
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estado vacío. */
.fx-empty {
    text-align: center;
    padding: 56px 24px;
    background: #fff;
    border: 1px dashed #CBD5E1;
    border-radius: 16px;
}

/* ── Formulario centrado (crear admin, etc.) ────────────────────────────── */
.fx-form-center {
    display: flex;
    justify-content: center;
    padding: 16px;
}

.fx-form-card {
    width: 100%;
    max-width: 560px;
    padding: 36px 32px;
    border-radius: 18px;
}

.fx-form-head {
    text-align: center;
    margin-bottom: 24px;
}

.fx-form-head__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EEF2FF;
    color: #4F46E5;
}

.fx-form-head__icon .mud-icon-root { font-size: 2rem; }

/* Barra de guardado fija (tarifas). */
.fx-save-bar {
    position: sticky;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    box-shadow: 0 -4px 16px rgba(15, 23, 42, .08);
    padding: 14px 20px;
    margin: 0 -24px -24px;   /* desborda el padding del MudMainContent */
    border-radius: 12px 12px 0 0;
    z-index: 5;
}

/* ── Stepper compacto del estado del viaje ──────────────────────────────── */
.fx-stepper {
    display: flex;
    flex-direction: column;
}

.fx-stepper__item {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding: 5px 0;
}

/* Línea conectora entre puntos. */
.fx-stepper__item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 28px;
    bottom: -5px;
    width: 2px;
    background: #E2E8F0;
}

.fx-stepper__item.done:not(:last-child)::before { background: #16A34A; }

.fx-stepper__dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E2E8F0;
    color: #fff;
    z-index: 1;
}

.fx-stepper__item.done    .fx-stepper__dot { background: #16A34A; }
.fx-stepper__item.current .fx-stepper__dot { background: #4F46E5; box-shadow: 0 0 0 4px rgba(79,70,229,.18); }

.fx-stepper__label { font-size: .92rem; color: #64748B; }
.fx-stepper__item.done    .fx-stepper__label { color: #0F172A; }
.fx-stepper__item.current .fx-stepper__label { color: #0F172A; font-weight: 700; }

/* ── Billetera ──────────────────────────────────────────────────────────── */
.fx-balance-card {
    background: linear-gradient(135deg, #4F46E5 0%, #0F172A 100%);
    color: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(79, 70, 229, .35);
}

.fx-balance-card__label {
    font-size: .72rem;
    letter-spacing: .14em;
    opacity: .85;
}

.fx-balance-card__amount {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 6px 0 14px;
}

.fx-balance-card__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .15);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: .8rem;
}

.fx-bank-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #F1F5F9;
}

.fx-bank-row:last-of-type { border-bottom: none; }

.fx-tx-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 4px;
    border-bottom: 1px solid #F1F5F9;
    cursor: pointer;
    transition: background .12s ease;
}

.fx-tx-row:hover { background: #F8FAFC; }
.fx-tx-row:last-of-type { border-bottom: none; }

/* La descripción puede achicarse y truncar; el monto nunca se parte. */
.fx-tx-row__body {
    flex: 1 1 auto;
    min-width: 0;
}

.fx-tx-row__desc {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fx-tx-row__amount {
    flex-shrink: 0;
    white-space: nowrap;
    text-align: right;
    font-weight: 700;
}

.fx-tx-row__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fx-tx-row__icon.in  { background: #DCFCE7; color: #16A34A; }
.fx-tx-row__icon.out { background: #FEE2E2; color: #DC2626; }

/* Avatar de la página de perfil. */
.fx-profile-avatar {
    display: flex;
    justify-content: center;
}

.fx-profile-avatar__img,
.fx-profile-avatar__placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #EEF2FF;
}

.fx-profile-avatar__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4F46E5;
    color: #fff;
    font-size: 2.6rem;
    font-weight: 700;
}

/* Avatar circular con foto protegida. */
.fx-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Placeholder mientras carga / falla una imagen protegida. */
.fx-img-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E2E8F0;
    color: #94A3B8;
}

/* Galería de fotos del vehículo. */
.fx-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.fx-photo-grid img,
.fx-photo-grid .fx-img-fallback {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 12px;
}

/* ── Campana de notificaciones ──────────────────────────────────────────── */
.fx-notif-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px 6px;
    border-bottom: 1px solid #E2E8F0;
}

.fx-notif-list {
    width: 360px;
    max-width: 90vw;
    max-height: 420px;
    overflow-y: auto;
}

.fx-notif-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 14px;
    border-bottom: 1px solid #F1F5F9;
    cursor: pointer;
    transition: background .12s ease;
}

.fx-notif-item:hover { background: #F8FAFC; }
.fx-notif-item.unread { background: #EEF2FF; }
.fx-notif-item.unread:hover { background: #E0E7FF; }

/* Chip de usuario en el header público (foto + nombre → perfil). */
.fx-userchip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 14px 4px 4px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .10);
    cursor: pointer;
    transition: background .15s ease;
}

.fx-userchip:hover { background: rgba(255, 255, 255, .20); }

.fx-userchip__img,
.fx-userchip__initial {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.fx-userchip__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #84CC16;
    color: #0F172A;
    font-weight: 700;
}

.fx-userchip__name {
    color: #FFFFFF;
    font-weight: 600;
    font-size: .95rem;
}

/* Contenedor centrado del portal: ancho máximo y márgenes automáticos para
   que el contenido no se estire a todo lo ancho en monitores grandes. */
.fx-page {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 24px;          /* el padding visual va aquí, NO en MudMainContent */
}

@media (max-width: 600px) {
    .fx-page { padding: 16px; }
}

/* ════════════════════════════════════════════════════════════════════════
   DRAWER DEL PORTAL (menú lateral)
   ════════════════════════════════════════════════════════════════════════ */
.fx-drawer {
    background: #0F172A;            /* navy — contrasta con el contenido claro */
    border-right: none;
    box-shadow: 2px 0 16px rgba(15, 23, 42, .18);
}

/* Encabezados de sección (Administración / Conductor / Viajero). */
.fx-drawer .mud-navmenu .mud-typography-overline {
    color: #64748B;
    letter-spacing: .12em;
    font-weight: 700;
    padding: 20px 20px 6px !important;
}

/* Enlaces del menú. */
.fx-drawer .mud-nav-link {
    color: #CBD5E1;
    margin: 2px 12px;
    border-radius: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: background .15s ease, color .15s ease;
}

.fx-drawer .mud-nav-link .mud-nav-link-icon {
    color: #94A3B8;
    transition: color .15s ease;
}

.fx-drawer .mud-nav-link:hover {
    background: rgba(255, 255, 255, .07);
    color: #FFFFFF;
}

.fx-drawer .mud-nav-link:hover .mud-nav-link-icon {
    color: #FFFFFF;
}

/* Enlace activo: acento lima de la marca. */
.fx-drawer .mud-nav-link.active {
    background: rgba(132, 204, 22, .16);
    color: #FFFFFF;
    font-weight: 600;
    box-shadow: inset 3px 0 0 #84CC16;
}

.fx-drawer .mud-nav-link.active .mud-nav-link-icon {
    color: #84CC16;
}

/* ════════════════════════════════════════════════════════════════════════
   PÁGINAS DE AUTENTICACIÓN (login / registro centrados)
   ════════════════════════════════════════════════════════════════════════ */
.fx-auth {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background:
        linear-gradient(rgba(15, 23, 42, .72), rgba(15, 23, 42, .82)),
        url('../images/main/beach-background.png');
    background-size: cover;
    background-position: center;
}

.fx-auth__card {
    width: 100%;
    max-width: 440px;
    background: #FFFFFF;
    border-radius: 18px;
    padding: 40px 36px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.fx-auth__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* Divisor "o continúa con". */
.fx-social-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 14px;
    color: #94A3B8;
    font-size: .82rem;
}

.fx-social-divider::before,
.fx-social-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #E2E8F0;
}

/* Botones sociales (mismas redes que el móvil; visuales por ahora). */
.fx-social-row {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.fx-social-btn {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    border: 1.5px solid #E5E7EB;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease;
}

.fx-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .12);
}

#blazor-error-ui {
    background: #FEF2F2;
    color: #DC2626;
    bottom: 0;
    box-shadow: 0 -1px 4px rgba(0,0,0,.2);
    display: none;
    left: 0;
    padding: .6rem 1.25rem .7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: .75rem;
    top: .5rem;
}
