/* ============================================================
   VARIABLES INSTITUCIONALES
============================================================ */
:root {
    --aeroflash-primary: #0b1430;
    --aeroflash-primary-strong: #050a1f;
    --aeroflash-primary-soft: #e8eaf3;
    --aeroflash-primary-softer: #f2f4f8;

    --aeroflash-accent: #ffcc33;
    --aeroflash-accent-hover: #e6b82e;

    --aeroflash-success-light: #e4f8e8;
    --aeroflash-success-strong: #1f6b2a;

    /* GO Variants */
    --aeroflash-go-primary: #0b1430;
    --aeroflash-go-primary-strong: #050a1f;
    --aeroflash-go-primary-soft: #e8eaf3;
    --aeroflash-go-primary-softer: #f2f4f8;

    --aeroflash-go-receiver: #9b00ff;
    --aeroflash-go-receiver-soft: #f7e9ff;
    --aeroflash-go-courier: #0ea5e9;
    --aeroflash-go-courier-strong: #0284c7;
    --aeroflash-go-courier-soft: #e0f2fe;
}

/* ============================================================
   HERO INICIAL
============================================================ */
.aeroflash-go__hero {
    margin-top: 20px;
    margin-bottom: 10px;
}

.aeroflash-go__hero-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 24px;
    border: 1px solid #e4ebf5;
    box-shadow: 0 14px 40px rgba(11, 20, 48, 0.08);
}

.aeroflash-go__hero-pill {
    width: 60px;
    height: 6px;
    border-radius: 999px;
    background: var(--aeroflash-primary-soft);
    margin-bottom: 10px;
}

.aeroflash-go__hero-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: var(--aeroflash-primary);
}

.aeroflash-go__hero-title small {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    margin-top: 4px;
}

.aeroflash-go__hero-text {
    margin: 0;
    font-size: 14px;
    color: #647185;
}

/* ============================================================
   TABS CONTENEDOR
============================================================ */
.aeroflash-go__tabs .nav-tabs {
    background: #fff;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid #e4ebf5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.aeroflash-go__tabs .nav-tabs > li > a {
    font-weight: 600;
    color: #52607a;
    border: 0;
    border-radius: 10px;
    padding: 10px 16px;
}

.aeroflash-go__tabs .nav-tabs > li.active > a {
    color: var(--aeroflash-primary);
    background-color: var(--aeroflash-primary-softer);
}

.aeroflash-go__tabs .tab-content {
    border: 1px solid #e4ebf5;
    border-radius: 14px;
    margin-top: 12px;
    box-shadow: 0 16px 36px rgba(18, 38, 63, 0.08);
    background: #f8fafc;
}

/* ============================================================
   QR LANDING – TARJETAS
============================================================ */
.aef-go__qr-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 26px 30px;
    border: 1px solid #e4ebf5;
    box-shadow: 0 18px 40px rgba(12, 36, 85, 0.12);
}

.aef-go__qr-header {
    background: var(--aeroflash-primary);
    color: #fff;
    padding: 25px 20px;
    text-align: center;
    border-radius: 14px;
    margin-bottom: 25px;
}

.aef-go__badge {
    font-size: 18px;
    font-weight: 700;
}

.aef-go__location {
    margin-top: 6px;
    font-size: 18px;
    opacity: .9;
}

.aef-go__qr-options-vertical {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 25px 0 24px;
}

.aef-go__qr-option {
    background: #fff;
    padding: 26px 28px;
    border-radius: 16px;
    border: 2px solid #e4e7ec;
    transition: .25s ease;
}

.aef-go__qr-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(12, 36, 85, 0.15);
}

@media (max-width: 600px) {
    .aeroflash-go__hero {
        margin-top: 12px;
        margin-bottom: 8px;
    }

    .aeroflash-go__hero-card {
        padding: 16px 18px;
        border-radius: 14px;
    }

    .aeroflash-go__hero-title {
        font-size: 20px;
    }

    .aeroflash-go__hero-title small {
        font-size: 13px;
    }

    .aeroflash-go__hero-text {
        font-size: 13px;
    }

    .aeroflash-go__tabs .nav-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding: 8px 10px;
    }

    .aeroflash-go__tabs .nav-tabs > li {
        flex: 0 0 auto;
    }

    .aeroflash-go__tabs .nav-tabs > li > a {
        padding: 8px 12px;
        font-size: 13px;
        white-space: nowrap;
    }

    .aef-go__qr-card {
        padding: 18px;
        border-radius: 14px;
    }

    .aef-go__qr-header {
        padding: 18px 14px;
        margin-bottom: 18px;
    }

    .aef-go__badge,
    .aef-go__location {
        font-size: 15px;
    }

    .aef-go__qr-options-vertical {
        gap: 16px;
        margin: 18px 0;
    }

    .aef-go__qr-option {
        padding: 18px;
        border-radius: 14px;
    }

    .aef-go__icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .aef-go__option-title {
        font-size: 16px;
    }

    .aef-btn-primary,
    .aef-btn-secondary {
        height: 44px;
        font-size: 14px;
        padding: 10px 12px;
    }
}

.aef-go__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--aeroflash-primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--aeroflash-primary);
}

.aef-go__icon.purple {
    background: var(--aeroflash-go-receiver-soft);
    color: var(--aeroflash-go-receiver);
}

.aef-go__icon.teal {
    background: var(--aeroflash-go-courier-soft);
    color: var(--aeroflash-go-courier);
}

.aef-go__option-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--aeroflash-primary);
}

.aef-go__courier-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 18px;
}

.aef-go__courier-tile {
    flex: 1 1 260px;
    background: #f6f8fc;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    padding: 18px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.aef-go__courier-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--aeroflash-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.aef-go__courier-desc {
    color: #647185;
    margin: 0;
    flex: 1;
}

.aef-go__courier-note {
    margin-top: 18px;
    background: var(--aeroflash-go-courier-soft);
    border-color: var(--aeroflash-go-courier);
    color: #0b162f;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.aef-go__courier-note i {
    color: var(--aeroflash-go-courier-strong);
    margin-top: 3px;
}

.aef-go__courier-location {
    margin-top: 16px;
}

.aef-go__courier-card {
    box-shadow: 0 24px 70px rgba(5, 10, 31, 0.08);
}

.aef-go__courier-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.aef-go__courier-title-lg {
    font-size: 24px;
    font-weight: 800;
    color: var(--aeroflash-primary);
    margin: 0;
}

.aef-go__courier-sub {
    margin: 2px 0 0;
    color: #475569;
    font-size: 14px;
}

.aef-go__courier-flow {
    margin-top: 14px;
    background: #f3f6ff;
    border: 1px solid #d7e0ff;
    border-radius: 12px;
    padding: 14px 16px;
    color: #1f2a44;
}

.aef-go__courier-flow--compact {
    margin-bottom: 16px;
}

.aef-go__courier-flow-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--aeroflash-primary);
    margin-bottom: 8px;
}

.aef-go__courier-flow-steps {
    margin: 0;
    padding-left: 18px;
    color: #475569;
}

.aef-go__courier-flow-steps li {
    margin-bottom: 6px;
}

.aef-go__courier-flow-steps li:last-child {
    margin-bottom: 0;
}

.aef-go__courier-location {
    background: #e7f6e8;
    border: 1px solid #c1e7c8;
    color: #0b3b1e;
}

.aef-go__courier-location .aeroflash-go__location-title {
    font-weight: 800;
    color: #0b3b1e;
}

.aef-go__courier-location .text-muted,
.aef-go__courier-location small {
    color: #1f5131 !important;
}

.aef-go__courier-form .form-control {
    border-radius: 10px;
    border: 1px solid #d9dde5;
    box-shadow: none;
}

.aef-go__courier-label {
    font-weight: 700;
    color: var(--aeroflash-primary);
}

.aef-go__courier-form .btn {
    margin-top: 6px;
}

.aef-go__courier-service {
    font-weight: 800;
    color: var(--aeroflash-primary);
}

.aef-go__courier-status {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #e7f6e8;
    border: 1px solid #c1e7c8;
    color: #0b3b1e;
    font-weight: 700;
}

.aef-go__packages-panel {
    margin-top: 18px;
}

.aef-go__packages-table {
    margin-bottom: 0;
}

.aef-go__packages-select {
    width: 38px;
    text-align: center;
}

.aef-go__packages-checkbox {
    margin: 0;
}

.aef-go__packages-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.aef-go__packages-search {
    min-width: 220px;
}

.aef-go__packages-table thead th {
    background: #f6f8fc;
    color: #1f2a44;
    border-bottom: 1px solid #e4e7ec;
}

.aef-go__packages-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid transparent;
}

.aef-go__packages-status--ok {
    background: #e7f6e8;
    border-color: #c1e7c8;
    color: #0b3b1e;
}

.aef-go__packages-status--info {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #1e3a8a;
}

.aef-go__packages-status--warn {
    background: #fff6e5;
    border-color: #fbd38d;
    color: #7c2d12;
}

.aef-go__packages-alert {
    font-weight: 700;
}

@media (max-width: 767px) {
    .aeroflash-go__result-head {
        flex-direction: column;
        align-items: stretch;
    }

    .aeroflash-go__result-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .aeroflash-go__status {
        align-self: flex-start;
    }

    .aef-go__packages-tools {
        flex-direction: column;
        align-items: stretch;
    }

    .aef-go__packages-search {
        min-width: 0;
        width: 100%;
    }

    .aef-go__packages-tools .btn-group {
        display: flex;
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }

    .aef-go__packages-tools .btn-group .btn {
        flex: 1 1 auto;
        width: 100%;
        white-space: normal;
    }

    .aef-go__packages-table thead {
        display: none;
    }

    .aef-go__packages-table tbody tr {
        display: block;
        padding: 10px 12px;
        border: 1px solid #e4e7ec;
        border-radius: 12px;
        background: #fff;
        margin-bottom: 12px;
    }

    .aef-go__packages-table tbody td {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 4px;
        padding: 6px 0;
        border-top: none;
        max-width: 100%;
    }

    .aef-go__packages-table tbody td[data-label]::before {
        content: attr(data-label);
        font-weight: 700;
        color: #1f2a44;
        flex: 0 0 auto;
    }

    .aef-go__packages-table tbody .aef-go__packages-value {
        flex: 0 0 auto;
        text-align: left;
        color: #111827;
        min-width: 0;
        word-break: break-word;
        overflow-wrap: anywhere;
        width: 100%;
        max-width: 100%;
    }

    .aef-go__packages-table tbody .aef-go__packages-destino {
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
        hyphens: auto;
    }

    .aef-go__packages-table tbody td.aef-go__packages-select {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .aef-go__packages-table tbody td.aef-go__packages-select::before {
        margin-right: 0;
    }

    .aef-go__packages-table tbody td.aef-go__packages-select .aef-go__packages-checkbox {
        margin-left: auto;
    }

    .aef-go__packages-table tbody td.aef-go__packages-actions {
        align-items: flex-start;
    }

    .aef-go__packages-table tbody td.aef-go__packages-actions::before {
        text-align: left;
    }

    .aef-go__packages-table tbody td.aef-go__packages-actions .btn {
        display: block;
        width: 100%;
        white-space: normal;
    }
}

/* ============================================================
   BOTONES INSTITUCIONALES
============================================================ */

.aef-btn-primary,
.aeroflash-go__cta,
.aef-generate-btn {
    width: 100%;
    padding: 12px;
    height: 46px;
    border-radius: 12px;
    border: none;
    background: var(--aeroflash-primary);
    color: #fff;
    font-weight: 700;
    transition: .25s ease;
}

.aef-btn-primary:hover,
.aeroflash-go__cta:hover,
.aef-generate-btn:hover {
    background: var(--aeroflash-primary-strong);
}

.aef-btn-courier {
    background: var(--aeroflash-go-courier);
    color: #fff;
    font-weight: 700;
}

.aef-btn-courier:hover {
    background: var(--aeroflash-go-courier-strong);
    color: #fff;
}

/* SECUNDARIO */
.aef-btn-secondary {    
    background: var(--aeroflash-accent);
    color: #000;
}

.aef-btn-secondary:hover {
    background: var(--aeroflash-accent-hover);
}

/* ============================================================
   VIÑETA GENERADA – EMPTY STATE
============================================================ */
.aef-generated-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 10px 20px 30px;
}

.aef-generated-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e4ebf5;
    box-shadow: 0 18px 40px rgba(11, 20, 48, 0.08);
    padding: 40px 20px;
    text-align: center;
}

.aef-generated-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--aeroflash-primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #9ca3af;
}

.aef-generated-empty-text {
    font-size: 15px;
    color: #6b7280;
}

/* ============================================================
   REMITENTE – FORMULARIO
============================================================ */
.aeroflash-go__sender-wrapper,
.aeroflash-go__receiver-wrapper {
    max-width: 900px;
    margin: 20px auto 30px;
    padding: 20px;
}

.aeroflash-go__sender-header {
    background: var(--aeroflash-primary);
    color: #fff;
    padding: 25px 30px;
    border-radius: 12px 12px 0 0;
    font-size: 20px;
    font-weight: 600;
}

.aeroflash-go__sender-content {
    background: #fff;
    padding: 28px 30px;
    border-radius: 0 0 12px 12px;
    border: 1px solid #e6e8f0;
}

.aeroflash-go__sender-sub,
.aeroflash-go__receiver-sub {
    font-size: 14px;
    font-weight: 400;
    color: #e0e7ff;
    margin-top: 6px;
}

.aeroflash-go__result {
    margin-top: 18px;
    border: 1px solid #e6e8f0;
    border-radius: 12px;
    padding: 18px;
    background: #f9fbff;
}

.aeroflash-go__result-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    gap: 12px;
    flex-wrap: wrap;
}

.aeroflash-go__result-code {
    font-size: 22px;
    font-weight: 700;
    color: var(--aeroflash-primary);
}

.aeroflash-go__status {
    padding: 8px 12px;
    border-radius: 10px;
    background: #e7f1ff;
    color: var(--aeroflash-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.aeroflash-go__result-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.aeroflash-go__result-cta {
    font-weight: 700;
    min-width: 180px;
}

.aeroflash-go__status--ok {
    background: #e7fbe8;
    color: #0f7d34;
}

.aeroflash-go__status--warn {
    background: #fff4e5;
    color: #b45309;
}

.aeroflash-go__status--info {
    background: #e7f1ff;
    color: var(--aeroflash-primary);
}

.aeroflash-go__result-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.aeroflash-go__result-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.aeroflash-go__result-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
    margin-bottom: 4px;
}

.aeroflash-go__result-value {
    font-size: 15px;
    font-weight: 700;
    color: #0f2244;
    word-break: break-word;
}

.aeroflash-go__status-bar {
    margin-top: 16px;
    width: 100%;
    text-align: center;
    background: #d1fae5;
    color: #0f7d34;
    font-weight: 800;
    padding: 12px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .aeroflash-go__result-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   RECEPTOR – FORMULARIO
============================================================ */
.aeroflash-go__receiver-header {
    background: var(--aeroflash-go-receiver);
    color: #fff;
    padding: 25px 30px;
    border-radius: 12px 12px 0 0;
    font-size: 20px;
    font-weight: 600;
}

.aeroflash-go__receiver-content {
    background: #fff;
    padding: 28px 30px;
    border-radius: 0 0 12px 12px;
    border: 1px solid #e6e8f0;
}

.aeroflash-go__receiver-content .help-block {
    color: #6b7280;
}

.aeroflash-go__info-box,
.aeroflash-go__info-box--receiver {
    background: var(--aeroflash-primary-softer);
    border: 1px dashed #d7dcec;
    border-radius: 12px;
    padding: 16px 18px;
    margin: 18px 0;
}

.aeroflash-go__info-title {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--aeroflash-primary);
}

.aeroflash-go__steps {
    margin: 0;
    padding-left: 18px;
    color: #4b5563;
}

.aeroflash-go__steps li + li {
    margin-top: 4px;
}

/* ============================================================
   GENERAR VIÑETA — FINAL (limpio + ordenado)
============================================================ */
.aef-generate-wrapper {
    max-width: 900px;
    margin: 24px auto 30px;
    background: #ffffff;
    border-radius: 12px;
    padding: 28px 38px;
    border: 1px solid #e5e8ef;
}

.aef-generate-titleband {
    background: var(--aeroflash-primary);
    color: white;
    padding: 18px;
    border-radius: 10px 10px 0 0;
    font-weight: 700;
    text-align: center;
    font-size: 17px;
}

.aef-generate-sub {
    text-align: center;
    color: #cfd6e0;
    font-size: 13px;
    margin-top: -10px;
    margin-bottom: 16px;
}

/* INPUTS */
.aef-generate-wrapper .form-control,
.aef-generate-wrapper select {
    height: 44px;
    border-radius: 10px;
    border: 1px solid #dfe3ea;
    font-size: 14px;
}

.aef-generate-wrapper label {
    font-weight: 600;
    margin-top: 5px;
}

/* Icono para títulos */
.aef-section-icon {
    margin-right: 6px;
    color: var(--aeroflash-primary);
}

/* ============================================================
   GENERAR VIÑETA — WRAPPER PRINCIPAL
============================================================ */
.aef-generate-wrapper {
    background: #ffffff;
    border-radius: 14px;
    padding: 32px 40px;
    border: 1px solid #e5e8ef;
    margin-top: 25px;
    margin-bottom: 35px;
    box-shadow: 0 16px 36px rgba(18, 38, 63, 0.08);
}

/* ============================================================
   GENERAR VIÑETA — TÍTULO SUPERIOR
============================================================ */
.aef-generate-titleband {
    background: var(--aeroflash-primary);
    color: #fff;
    padding: 18px;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    font-size: 17px;
    margin-bottom: 10px;
}

.aef-generate-sub {
    text-align: center;
    color: #6f7a88;
    font-size: 13px;
    margin-bottom: 20px;
}

/* ============================================================
   GENERAR VIÑETA — INPUTS
============================================================ */
.aef-generate-wrapper label {
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 4px;
    font-size: 14px;
    color: #121b2f;
}

.aef-generate-wrapper .form-control,
.aef-generate-wrapper select {
    height: 44px;
    border-radius: 10px;
    border: 1px solid #dfe3ea;
    font-size: 14px;
    box-shadow: none;
}

.aef-generate-wrapper .form-control:focus,
.aef-generate-wrapper select:focus {
    border-color: var(--aeroflash-primary);
    box-shadow: 0 0 0 2px rgba(11, 20, 48, 0.15);
}

/* ============================================================
   ÍCONOS DE SECCIÓN
============================================================ */
.aef-section-icon {
    margin-right: 6px;
    color: var(--aeroflash-primary);
}

/* ============================================================
   SEPARADORES DE BLOQUE
============================================================ */
.aef-generate-divider {
    border-top: 1px solid #edf0f7;
    margin: 25px 0 18px;
}

/* ============================================================
   BOTÓN INSTITUCIONAL
============================================================ */
.aef-generate-btn,
button#btnGenerarV {
    background: var(--aeroflash-primary);
    color: #fff;
    border: none;
    width: 100%;
    padding: 12px;
    height: 46px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    margin-top: 20px;
    transition: 0.25s ease;
}

.aef-generate-btn:hover,
button#btnGenerarV:hover {
    background: var(--aeroflash-primary-strong);
}

/* ============================================================
   TARJETA VERDE – UBICACIÓN ACTUAL (Diseño Figma + institucional)
   ============================================================ */
.aeroflash-go__receiver-point,
.aeroflash-go__location-card {
    background: #e4f8e8 !important; /* verde súper suave */
    border: 1px solid #b1e4be !important; /* borde verde claro */
    border-radius: 12px !important;
    padding: 18px 22px !important;
    margin-bottom: 22px !important;
    color: var(--aeroflash-success-strong); /* verde institucional */
}

/* Título dentro del cuadro */
.aeroflash-go__location-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--aeroflash-success-strong) !important;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.aeroflash-go__location-title i {
    color: var(--aeroflash-success-strong) !important;
}

/* Subtexto */
.aeroflash-go__location-sub {
    font-size: 14px;
    color: var(--aeroflash-success-strong) !important;
}

/* BOTÓN SECUNDARIO UNIFORME */
.aef-btn-secondary-uniform {
    width: 100% !important;
    padding: 12px !important;
    height: 46px !important;
    border-radius: 12px !important;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: 0.25s ease;

    background-color: var(--aeroflash-accent) !important; /* <-- FORZADO */
    color: #000 !important; /* <-- FORZADO */
}

.aef-btn-secondary-uniform:hover {
    background-color: var(--aeroflash-accent-hover) !important;
    color: #000 !important;
}


/* Estilo general del combo personalizado */
.aef-select {
    position: relative;
    width: 100%;
    cursor: pointer;
    font-family: "Segoe UI", Arial;
}

.aef-select--disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.aef-select-trigger {
    background: #f9fbff;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #d7e3f4;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(15, 34, 68, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.aef-select-trigger:hover {
    border-color: #2f6dff;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(47, 109, 255, 0.12);
}

.aef-options {
    position: absolute;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    margin-top: 5px;
    box-shadow: 0 12px 30px rgba(15, 34, 68, 0.18);
    display: none;
    z-index: 9999;
    border: 1px solid #d7e3f4;
    max-height: 240px;
    overflow-y: auto;
}

.aef-select-search {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 10px;
    background: #ffffff;
    border-bottom: 1px solid #e4eaf5;
}

.aef-select-search input {
    width: 100%;
    border: 1px solid #d7e3f4;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 13px;
    font-family: "Segoe UI", Arial;
    outline: none;
}

.aef-select-search input:focus {
    border-color: #2f6dff;
    box-shadow: 0 0 0 2px rgba(47, 109, 255, 0.15);
}

.aef-option-empty {
    padding: 10px 14px;
    font-size: 13px;
    color: #6c7a92;
    display: none;
}

.aef-option {
    padding: 12px 14px;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.aef-option:hover {
    background: #eef4ff;
    color: #2f6dff;
}

.aef-option--disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.aef-option:last-child {
    border-bottom: none;
}

    .aef-generated-actions {
        background: #f4f7fc;
        border: 1px solid #d9e3f7;
        border-radius: 12px;
        padding: 16px;
        margin-top: 16px;
    }

    .aef-generated-actions__header {
        display: flex;
        align-items: center;
        gap: 12px;
        color: #0f2244;
    }

    .aef-generated-actions__header i {
        font-size: 26px;
        color: #153a7d;
    }

    .aef-generated-actions__title {
        font-weight: 700;
        font-size: 16px;
    }

    .aef-generated-actions__subtitle {
        font-size: 13px;
        color: #5f6c7b;
    }

    .aef-generated-actions__buttons {
        margin-top: 12px;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .aef-action-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border-radius: 8px;
        padding: 10px 16px;
        font-weight: 600;
        border: 1px solid transparent;
        transition: all 0.2s ease;
        cursor: pointer;
    }

    .aef-action-btn--primary {
        background: #12284c;
        color: #fff;
    }

    .aef-action-btn--primary:hover {
        background: #0d1f3b;
    }

    .aef-action-btn--ghost {
        background: #fff;
        color: #455164;
        border-color: #d9e3f7;
        cursor: not-allowed;
    }

    .aef-action-btn i {
        font-size: 15px;
    }
    

 .ingreso-comp-wrapper {
        background: #f7f9fb;
        padding: 12px 12px 24px;
        border-radius: 12px;
    }
    .ingreso-comp-wrapper .panel {
        border: 1px solid #d8dee9;
        border-radius: 10px;
        box-shadow: 0 10px 24px rgba(13, 35, 58, 0.08);
    }
    .ingreso-comp-wrapper .panel-heading {
        background: linear-gradient(90deg, #1c2d4a, #2d4263);
        color: #ffffff;
        font-weight: 700;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        padding: 12px 16px;
    }
    .ingreso-comp-wrapper section { margin-bottom: 18px; }
    .ingreso-comp-wrapper section > .panel > div { padding: 16px 18px 12px; }
    .ingreso-comp-wrapper .login-input {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 14px;
    }
    .ingreso-comp-wrapper .aef-field-label {
        display: block;
        font-weight: 700;
        color: #1c2d4a;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        font-size: 12px;
        margin: 0;
    }
    .ingreso-comp-wrapper .form-control,
    .ingreso-comp-wrapper textarea {
        border: 1px solid #cbd5e1;
        border-radius: 10px;
        padding: 10px 12px;
        background: #f8fafc;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
        color: #0f172a;
    }
    .ingreso-comp-wrapper .form-control:focus,
    .ingreso-comp-wrapper textarea:focus,
    .ingreso-comp-wrapper .aef-select-trigger:focus {
        border-color: #2d4263;
        box-shadow: 0 0 0 2px rgba(45, 66, 99, 0.15);
        outline: none;
    }
    .ingreso-comp-wrapper .aef-select {
        border-radius: 10px;
        border: 1px solid #d8dee9;
        box-shadow: 0 6px 12px rgba(20, 36, 64, 0.06);
    }
    .ingreso-comp-wrapper .aef-select-trigger {
        padding: 12px 14px;
        font-weight: 600;
        color: #1c2d4a;
        cursor: pointer;
    }
    .ingreso-comp-wrapper .aef-options { border-top: 1px solid #d8dee9; display:none; }
    .ingreso-comp-wrapper .aef-option { padding: 10px 14px; font-weight: 600; cursor: pointer; }
    .ingreso-comp-wrapper .aef-option--disabled { opacity: .45; pointer-events: none; }
    .ingreso-comp-wrapper .help-block { color: #475569; font-size: 12px; }    


panel-heading .fa {
    color: #fff;
}

.btn-primary .fa {
    color: #fff;
}

/* ============================================================
   TRACKING PÚBLICO - AERFLASH GO
============================================================ */
.aef-track__wrapper {
    max-width: 1100px;
    margin: 18px auto 32px;
    padding: 0 10px;
}

.aef-track__header {
    background: var(--aeroflash-primary);
    color: #fff;
    padding: 24px 28px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 16px 36px rgba(11, 20, 48, 0.18);
}

.aef-track__eyebrow {
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    opacity: 0.8;
    margin: 0 0 6px;
}

.aef-track__title {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
}

.aef-track__subtitle {
    margin: 8px 0 0;
    font-size: 14px;
    color: #d7deed;
    max-width: 620px;
}

.aef-track__header-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: rgba(255, 204, 51, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #ffcc33;
    flex-shrink: 0;
}

.aef-track__card {
    background: #fff;
    border-radius: 16px;
    padding: 26px 30px;
    border: 1px solid #e4ebf5;
    box-shadow: 0 12px 30px rgba(12, 36, 85, 0.12);
    margin-top: -12px;
}

.aef-track__input-block {
    margin-bottom: 18px;
}

.aef-track__label {
    font-weight: 700;
    color: #0f2244;
    margin-bottom: 8px;
    display: block;
}

.aef-track__search {
    display: flex;
    gap: 10px;
    align-items: center;
}

.aef-track__search input {
    flex: 1;
    height: 46px;
    border-radius: 12px;
    border: 1px solid #dfe3ea;
    padding: 12px 14px;
    font-size: 14px;
    box-shadow: none;
}

.aef-track__search input:focus {
    border-color: var(--aeroflash-primary);
    box-shadow: 0 0 0 2px rgba(11, 20, 48, 0.15);
    outline: none;
}

.aef-track__search button {
    background: var(--aeroflash-primary);
    color: #fff;
    border: none;
    padding: 12px 16px;
    height: 46px;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.25s ease;
}

.aef-track__search button:hover {
    background: var(--aeroflash-primary-strong);
}

.aef-track__search button.is-loading {
    opacity: 0.7;
    cursor: progress;
}

.aef-track__help {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 13px;
}

.aef-track__spacing {
    margin: 8px 0;
}

.aef-track__status {
    padding: 12px 14px;
    border-radius: 12px;
    margin: 12px 0;
    font-weight: 700;
    font-size: 14px;
}

.aef-track__status--info {
    background: #e8f0ff;
    color: #0f2244;
}

.aef-track__status--warning {
    background: #fff4e5;
    color: #b45309;
}

.aef-track__status--error {
    background: #ffe0e0;
    color: #b42318;
}

@media (max-width: 768px) {
    .aef-track__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .aef-track__search {
        flex-direction: column;
        align-items: stretch;
    }

    .aef-track__search button {
        width: 100%;
        justify-content: center;
    }
}
