/* AFENIXX-V11 */

/* =========================================================
   PORTADA: TARJETAS DE PLANES
   ========================================================= */

.plan-card {
    position: relative !important;
    overflow: hidden !important;
    transform: none !important;
    margin-top: 0 !important;
    border-radius: 22px !important;
}

.plan-card-inner {
    position: relative !important;
    overflow: hidden !important;
    border-radius: inherit !important;
}

.plan-card::before,
.plan-card-inner::before {
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    transform: none !important;
    border-radius: 22px 22px 0 0 !important;
}

.plan-card.is-featured,
.plan-card.is-highlighted,
.plan-card.featured,
.plan-card.highlighted,
.plan-card.recommended {
    transform: none !important;
    margin-top: 0 !important;
    translate: none !important;
}

.plan-card .plan-badge,
.plan-card .recommended-badge,
.plan-card .plan-recommended,
.plan-card .featured-label {
    top: 10px !important;
    max-width: calc(100% - 24px) !important;
    transform: none !important;
}

.plan-card-note {
    line-height: 1.3 !important;
}

/* =========================================================
   PORTADA: CIERRE COMERCIAL
   ========================================================= */

.af-v11-final-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.af-v11-final-point {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    color: inherit;
    font-size: 12px;
    font-weight: 750;
    backdrop-filter: blur(8px);
}

.af-v11-final-point i {
    color: #fbbf24;
}

/* =========================================================
   CONSULTA: INSTRUCCIONES
   ========================================================= */

.af-v11-instructions {
    display: grid;
    gap: 9px;
}

.af-v11-instructions-intro {
    margin: -5px 0 3px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.af-v11-instruction {
    display: grid;
    grid-template-columns: 29px 34px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 10px 11px;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 5px 14px rgba(15, 23, 42, .045);
}

.af-v11-instruction-number {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef2929, #991b1b);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
}

.af-v11-instruction-icon {
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #fff1f2;
    color: #dc2626;
    font-size: 13px;
}

.af-v11-instruction-copy strong {
    display: block;
    color: #172033;
    font-size: 12px;
    line-height: 1.25;
}

.af-v11-instruction-copy small {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.35;
}

#platform-pagination {
    min-height: 35px;
}

#platform-pagination #prev-platform,
#platform-pagination #next-platform {
    width: 34px !important;
    height: 34px !important;
    display: inline-grid !important;
    place-items: center !important;
    margin: 0 8px !important;
    border: 1px solid #dbe4ef !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #334155 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .06);
    font-size: 12px !important;
}

/* =========================================================
   GESTIONAR CUENTAS
   ========================================================= */

.af-v11-account-filterline {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 9px;
    flex-wrap: nowrap;
    margin: 0 0 12px;
    padding: 0;
}

.af-v11-account-filterline > * {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
}

.af-v11-account-filterline input[type="search"],
.af-v11-account-filterline input[placeholder*="Buscar"],
.af-v11-account-filterline input[placeholder*="buscar"] {
    width: 235px !important;
    min-width: 180px !important;
    max-width: 235px !important;
}

.af-v11-account-filterline select {
    width: auto !important;
    min-width: 125px !important;
}

.af-v11-account-filterline button,
.af-v11-account-filterline a {
    white-space: nowrap !important;
}

.af-v11-platform-cell {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.af-v11-platform-logo {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: grid;
    place-items: center;
    padding: 5px;
    overflow: hidden;
    border: 1px solid #dbe4ef;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 5px 14px rgba(15, 23, 42, .08);
}

.af-v11-platform-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.af-v11-platform-logo-fallback {
    display: none;
    color: #dc2626;
    font-size: 13px;
}

.af-v11-platform-name {
    color: #0f172a;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.25;
    white-space: nowrap;
}

@media (max-width: 1050px) {
    .af-v11-account-filterline {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .af-v11-account-filterline {
        display: grid;
        grid-template-columns: 1fr;
    }

    .af-v11-account-filterline input[type="search"] {
        width: 100% !important;
        max-width: none !important;
    }

    .af-v11-instruction {
        grid-template-columns: 27px 31px minmax(0, 1fr);
        padding: 9px;
    }
}