/* ============================================================
   VDM · FERRETMEX PROMOCIONES
   Adaptación visual basada en la interfaz Ferretmex:
   negro grafito + rojo intenso + blanco + metal/gris.
   ============================================================ */

.vdm-fx-shell,
.vdm-fx-public-wrap {
    --fx-red: #d31318;
    --fx-red-2: #ef282b;
    --fx-red-dark: #8e0509;
    --fx-black: #070707;
    --fx-panel: #111111;
    --fx-panel-2: #191919;
    --fx-line: #3f3f3f;
    --fx-metal: #c9c9c9;
    --fx-soft: #f0f0f0;
    --fx-white: #ffffff;
    --fx-muted: #a9a9a9;
    --fx-shadow: 0 18px 45px rgba(0,0,0,.24);
    box-sizing: border-box;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    container-type: inline-size;
    container-name: vdmfx;
}

.vdm-fx-shell *,
.vdm-fx-public-wrap * { box-sizing: border-box; }

.vdm-fx-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px;
    color: var(--fx-white);
    background:
        radial-gradient(circle at 88% 2%, rgba(211,19,24,.22), transparent 29%),
        linear-gradient(180deg, #0b0b0b 0%, #050505 100%);
    border: 1px solid #202020;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--fx-shadow);
}

.vdm-fx-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 150px;
    padding: 24px 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px;
    background:
        linear-gradient(110deg, rgba(139,0,0,.96), rgba(208,13,20,.93) 48%, rgba(82,0,0,.92)),
        #b20d12;
    box-shadow: inset 0 -16px 36px rgba(0,0,0,.24);
}

.vdm-fx-hero::before {
    content: "";
    position: absolute;
    inset: auto -8% -70% 35%;
    height: 160px;
    background: rgba(0,0,0,.4);
    transform: rotate(-3deg);
    filter: blur(1px);
}

.vdm-fx-brand {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    padding: 13px 26px 11px;
    color: #fff;
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 900;
    letter-spacing: .4px;
    line-height: 1;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 999px 999px 999px 72%;
    background: linear-gradient(180deg, #f12328, #a7060b);
    box-shadow: 0 9px 24px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.35);
    transform: skew(-7deg);
}

.vdm-fx-brand::first-letter { letter-spacing: .8px; }

.vdm-fx-hero-text { position: relative; z-index: 2; min-width: 0; flex: 1 1 0; }
.vdm-fx-kicker,
.vdm-fx-overline {
    display: block;
    margin-bottom: 4px;
    color: #ffd9d9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}
.vdm-fx-hero h2 {
    margin: 0 0 6px !important;
    color: #fff !important;
    font-size: clamp(25px, 4vw, 40px) !important;
    font-weight: 900 !important;
    letter-spacing: -.6px;
    line-height: 1.05 !important;
}
.vdm-fx-hero p {
    margin: 0 !important;
    color: rgba(255,255,255,.9) !important;
    font-size: 15px;
}
.vdm-fx-tool-mark {
    position: absolute;
    z-index: 1;
    right: 24px;
    bottom: -18px;
    color: rgba(255,255,255,.13);
    font-size: 112px;
    line-height: 1;
    transform: rotate(-11deg);
}

.vdm-fx-aviso {
    margin: 16px 0 0;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
}
.vdm-fx-aviso--ok {
    color: #eaffea;
    border: 1px solid #2c7738;
    background: #143d1b;
}
.vdm-fx-aviso--error {
    color: #fff0f0;
    border: 1px solid #8e2626;
    background: #4a1515;
}

.vdm-fx-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
    gap: 18px;
    margin-top: 18px;
}

.vdm-fx-form-card,
.vdm-fx-list-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid #353535;
    border-radius: 18px;
    background: linear-gradient(180deg, #181818, #0f0f0f);
    box-shadow: inset 0 1px rgba(255,255,255,.04);
}

.vdm-fx-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.vdm-fx-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(145deg, var(--fx-red-2), #9e0509);
    box-shadow: 0 9px 18px rgba(211,19,24,.25), inset 0 1px rgba(255,255,255,.28);
}
.vdm-fx-section-heading h3 {
    margin: 0 !important;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 850 !important;
    line-height: 1.1 !important;
}
.vdm-fx-overline { color: #eb4d50; }

.vdm-fx-form { display: grid; gap: 14px; }
.vdm-fx-field { display: grid; gap: 7px; margin: 0; }
.vdm-fx-field > span,
.vdm-fx-upload-title {
    color: #f7f7f7;
    font-size: 13px;
    font-weight: 800;
}
.vdm-fx-field input,
.vdm-fx-field textarea,
.vdm-fx-field select {
    width: 100%;
    min-height: 46px;
    margin: 0 !important;
    padding: 11px 13px !important;
    color: #111 !important;
    caret-color: var(--fx-red);
    border: 1px solid #cfcfcf !important;
    border-radius: 11px !important;
    outline: none !important;
    background: #f5f5f5 !important;
    font: inherit !important;
    line-height: 1.35 !important;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.vdm-fx-field textarea { resize: vertical; min-height: 105px; }
.vdm-fx-field input:focus,
.vdm-fx-field textarea:focus {
    border-color: var(--fx-red) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(211,19,24,.18) !important;
}
.vdm-fx-field small { color: #969696; font-size: 12px; }
.vdm-fx-two-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; }

.vdm-fx-upload {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px 12px;
    padding: 14px;
    border: 1px dashed #676767;
    border-radius: 13px;
    background: #0b0b0b;
    overflow: hidden;
    cursor: pointer;
}
.vdm-fx-upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.vdm-fx-upload-button {
    grid-row: 1 / span 2;
    grid-column: 2;
    padding: 9px 13px;
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    border-radius: 9px;
    background: linear-gradient(180deg, #eb2529, #ab070c);
}
.vdm-fx-upload-help { color: #8f8f8f; font-size: 11px; }

.vdm-fx-preview {
    display: none;
    overflow: hidden;
    border: 1px solid #3b3b3b;
    border-radius: 13px;
    background: #080808;
}
.vdm-fx-preview.is-visible { display: block; }
.vdm-fx-preview img { display: block; width: 100%; max-height: 310px; object-fit: contain; }

.vdm-fx-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    color: #ddd;
    border-radius: 11px;
    background: #0b0b0b;
    cursor: pointer;
}
.vdm-fx-check input { position: absolute; opacity: 0; }
.vdm-fx-check-ui {
    position: relative;
    width: 38px;
    height: 22px;
    flex: 0 0 38px;
    border-radius: 999px;
    background: #4d4d4d;
    transition: background .18s ease;
}
.vdm-fx-check-ui::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: transform .18s ease;
}
.vdm-fx-check input:checked + .vdm-fx-check-ui { background: var(--fx-red); }
.vdm-fx-check input:checked + .vdm-fx-check-ui::after { transform: translateX(16px); }

.vdm-fx-form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.vdm-fx-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .16s ease, filter .16s ease, border-color .16s ease;
}
.vdm-fx-btn:hover { transform: translateY(-1px); filter: brightness(1.07); }
.vdm-fx-btn--primary {
    color: #fff !important;
    border-color: #f15a5c;
    background: linear-gradient(180deg, #e72025, #a8080d);
    box-shadow: 0 10px 20px rgba(211,19,24,.18);
}
.vdm-fx-btn--ghost { color: #eee !important; border-color: #555; background: #151515; }

.vdm-fx-admin-list { display: grid; gap: 11px; }
.vdm-fx-admin-item {
    display: grid;
    grid-template-columns: 88px minmax(0,1fr);
    gap: 12px;
    padding: 10px;
    border: 1px solid #373737;
    border-radius: 14px;
    background: #0a0a0a;
}
.vdm-fx-admin-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    overflow: hidden;
    border: 1px solid #444;
    border-radius: 11px;
    background: #171717;
    font-size: 30px;
}
.vdm-fx-admin-thumb img { width: 100%; height: 100%; min-height: 88px; object-fit: cover; }
.vdm-fx-admin-main { min-width: 0; }
.vdm-fx-admin-topline { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.vdm-fx-status {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .4px;
}
.vdm-fx-status.is-active { color: #dfffe3; background: #1c6029; }
.vdm-fx-status.is-inactive { color: #ffe8e8; background: #6c2424; }
.vdm-fx-id { color: #767676; font-size: 10px; }
.vdm-fx-admin-item h4 { margin: 8px 0 4px !important; color: #fff !important; font-size: 16px !important; line-height: 1.15 !important; }
.vdm-fx-dates { margin: 0 !important; color: #aaa !important; font-size: 11px; }
.vdm-fx-mini-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.vdm-fx-inline-form { display: inline; margin: 0; }
.vdm-fx-mini-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 6px 9px;
    color: #eee !important;
    border: 1px solid #505050;
    border-radius: 7px;
    background: #1a1a1a;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none !important;
    cursor: pointer;
}
.vdm-fx-mini-btn--red { border-color: #9d2427; background: #741317; }
.vdm-fx-mini-btn--danger { color: #ffb4b4 !important; border-color: #5d2828; background: #291010; }

.vdm-fx-empty {
    padding: 20px;
    color: #bbb;
    border: 1px dashed #474747;
    border-radius: 12px;
    background: #0d0d0d;
    text-align: center;
}


/* ========== AISLAMIENTO / RESPONSIVE POR ANCHO REAL ========== */
.vdm-fx-shell,
.vdm-fx-shell form,
.vdm-fx-shell label,
.vdm-fx-shell input,
.vdm-fx-shell textarea,
.vdm-fx-shell select,
.vdm-fx-shell button,
.vdm-fx-shell a,
.vdm-fx-shell h1,
.vdm-fx-shell h2,
.vdm-fx-shell h3,
.vdm-fx-shell h4,
.vdm-fx-shell p,
.vdm-fx-public-wrap,
.vdm-fx-public-wrap h1,
.vdm-fx-public-wrap h2,
.vdm-fx-public-wrap h3,
.vdm-fx-public-wrap h4,
.vdm-fx-public-wrap p,
.vdm-fx-public-wrap a {
    font-family: Arial, Helvetica, sans-serif !important;
}

.vdm-fx-shell,
.vdm-fx-shell > *,
.vdm-fx-panel-grid,
.vdm-fx-form-card,
.vdm-fx-list-card,
.vdm-fx-form,
.vdm-fx-field,
.vdm-fx-admin-list,
.vdm-fx-admin-item,
.vdm-fx-public-wrap,
.vdm-fx-promo-grid,
.vdm-fx-promo-card {
    min-width: 0;
    max-width: 100%;
}

.vdm-fx-field > span,
.vdm-fx-upload-title,
.vdm-fx-upload-help,
.vdm-fx-section-heading h3,
.vdm-fx-hero h2,
.vdm-fx-hero p,
.vdm-fx-admin-item h4,
.vdm-fx-empty {
    overflow-wrap: anywhere;
}

/* Evita que estilos del tema/Gutenberg cambien dimensiones del formulario. */
.vdm-fx-shell input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.vdm-fx-shell textarea,
.vdm-fx-shell select {
    display: block !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.vdm-fx-shell button,
.vdm-fx-shell .vdm-fx-btn,
.vdm-fx-shell .vdm-fx-mini-btn {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* El administrador debe responder al ancho DEL BLOQUE, no al viewport.
   Esto corrige páginas de WordPress con una columna de contenido estrecha. */
@container vdmfx (max-width: 760px) {
    .vdm-fx-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        min-height: 0;
        padding: 22px;
    }

    .vdm-fx-brand {
        max-width: 100%;
        font-size: clamp(25px, 8cqi, 34px);
        padding: 12px 22px 11px;
    }

    .vdm-fx-hero-text {
        width: 100%;
    }

    .vdm-fx-hero h2 {
        font-size: clamp(27px, 8cqi, 36px) !important;
        line-height: 1.02 !important;
    }

    .vdm-fx-tool-mark {
        right: 12px;
        bottom: -12px;
        font-size: 88px;
    }

    .vdm-fx-panel-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@container vdmfx (max-width: 520px) {
    .vdm-fx-form-card,
    .vdm-fx-list-card {
        padding: 14px;
        border-radius: 15px;
    }

    .vdm-fx-section-heading {
        align-items: flex-start;
    }

    .vdm-fx-two-cols {
        grid-template-columns: minmax(0, 1fr);
    }

    .vdm-fx-upload {
        grid-template-columns: minmax(0, 1fr);
    }

    .vdm-fx-upload-button {
        grid-row: auto;
        grid-column: auto;
        justify-self: start;
    }

    .vdm-fx-form-actions .vdm-fx-btn {
        flex: 1 1 100%;
    }
}

@container vdmfxpublic (max-width: 760px) {
    .vdm-fx-promo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@container vdmfxpublic (max-width: 500px) {
    .vdm-fx-promo-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vdm-fx-public-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========== LISTADO PÚBLICO ========== */
.vdm-fx-public-wrap {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    container-type: inline-size;
    container-name: vdmfxpublic;
}
.vdm-fx-public-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.vdm-fx-public-badge {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 18px;
    color: #fff;
    border-radius: 999px 999px 999px 70%;
    background: linear-gradient(180deg, #ee272b, #a8070c);
    box-shadow: 0 8px 18px rgba(160,0,5,.2);
    font-weight: 900;
    letter-spacing: .4px;
    transform: skew(-6deg);
}
.vdm-fx-public-head > div > span { color: #d31318; font-size: 11px; font-weight: 900; letter-spacing: 1.4px; }
.vdm-fx-public-head h2 { margin: 2px 0 0 !important; color: #111 !important; font-size: clamp(25px, 4vw, 38px) !important; font-weight: 900 !important; line-height: 1 !important; }

.vdm-fx-promo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
}
.vdm-fx-promo-card {
    min-width: 0;
    overflow: hidden;
    border: 2px solid #c9c9c9;
    border-radius: 18px;
    background: #080808;
    box-shadow: 0 12px 28px rgba(0,0,0,.16);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.vdm-fx-promo-card:hover {
    transform: translateY(-3px);
    border-color: #e12a2e;
    box-shadow: 0 17px 36px rgba(0,0,0,.23);
}
.vdm-fx-promo-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #171717;
}
.vdm-fx-promo-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .3s ease; }
.vdm-fx-promo-card:hover .vdm-fx-promo-media img { transform: scale(1.025); }
.vdm-fx-promo-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 54px; background: radial-gradient(circle at 50% 30%, #333, #111 72%); }
.vdm-fx-promo-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: linear-gradient(180deg, #ef282c, #a8080d);
    box-shadow: 0 7px 15px rgba(0,0,0,.25);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .8px;
}
.vdm-fx-promo-body { padding: 17px; }
.vdm-fx-promo-body h3 { margin: 0 0 8px !important; color: #fff !important; font-size: 20px !important; font-weight: 900 !important; line-height: 1.08 !important; }
.vdm-fx-promo-copy,
.vdm-fx-promo-copy p { color: #d5d5d5 !important; font-size: 13px; line-height: 1.45; }
.vdm-fx-promo-copy p:last-child { margin-bottom: 0; }
.vdm-fx-promo-validity {
    display: grid;
    gap: 2px;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid #333;
}
.vdm-fx-promo-validity span { color: #e72b2f; font-size: 9px; font-weight: 900; letter-spacing: 1px; }
.vdm-fx-promo-validity strong { color: #e9e9e9; font-size: 11px; }
.vdm-fx-promo-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding: 11px 13px;
    color: #fff !important;
    border: 1px solid #f34b4e;
    border-radius: 9px;
    background: linear-gradient(180deg, #df2025, #a8070c);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none !important;
}
.vdm-fx-promo-cta span { font-size: 18px; line-height: 1; transition: transform .15s ease; }
.vdm-fx-promo-cta:hover span { transform: translateX(2px); }
.vdm-fx-empty--public { grid-column: 1 / -1; color: #555; border-color: #ccc; background: #f5f5f5; }

.vdm-fx-diagnostico {
    white-space: pre-wrap;
    overflow: auto;
    padding: 16px;
    color: #f7f7f7;
    border-radius: 12px;
    background: #101010;
}

@media (max-width: 980px) {
    .vdm-fx-panel-grid { grid-template-columns: 1fr; }
    .vdm-fx-promo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 700px) {
    .vdm-fx-shell { padding: 10px; border-radius: 18px; }
    .vdm-fx-hero { align-items: flex-start; flex-direction: column; gap: 13px; padding: 20px; min-height: 190px; }
    .vdm-fx-brand { font-size: 26px; padding: 11px 20px 10px; }
    .vdm-fx-tool-mark { right: 6px; font-size: 92px; }
    .vdm-fx-form-card,
    .vdm-fx-list-card { padding: 15px; }
    .vdm-fx-two-cols { grid-template-columns: 1fr; }
    .vdm-fx-promo-grid { grid-template-columns: 1fr; }
    .vdm-fx-public-head { align-items: flex-start; }
}

@media (max-width: 480px) {
    .vdm-fx-admin-item { grid-template-columns: 70px minmax(0,1fr); }
    .vdm-fx-admin-thumb { min-height: 72px; }
    .vdm-fx-admin-thumb img { min-height: 72px; }
    .vdm-fx-upload { grid-template-columns: 1fr; }
    .vdm-fx-upload-button { grid-row: auto; grid-column: auto; justify-self: start; }
    .vdm-fx-form-actions .vdm-fx-btn { flex: 1 1 100%; }
    .vdm-fx-public-head { flex-direction: column; }
}

/* ========== NAVEGACIÓN POR PESTAÑAS (v1.0.2) ========== */
.vdm-fx-tab-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid #303030;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(180deg, #111111, #0a0a0a);
}

.vdm-fx-tab-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 14px 18px;
    color: #ffffff !important;
    border-bottom: 3px solid transparent;
    background: transparent;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .4px;
    text-align: center;
    text-decoration: none !important;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.vdm-fx-tab-link + .vdm-fx-tab-link {
    border-left: 1px solid #303030;
}

.vdm-fx-tab-link:hover {
    background: rgba(255,255,255,.04);
}

.vdm-fx-tab-link.is-active {
    color: #ffffff !important;
    border-bottom-color: #eb2a2f;
    background: linear-gradient(180deg, rgba(211,19,24,.28), rgba(90,5,7,.18));
}

.vdm-fx-tab-panels {
    border: 1px solid #303030;
    border-top: 0;
    border-radius: 0 0 20px 20px;
    background: linear-gradient(180deg, #0d0d0d, #080808);
}

.vdm-fx-tab-panel {
    display: none;
    padding: 18px;
}

.vdm-fx-tab-panel.is-active {
    display: block;
}

.vdm-fx-form-card--single,
.vdm-fx-list-card--single {
    padding: 24px;
    border-radius: 18px;
}

.vdm-fx-section-heading--space {
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 16px;
    border-bottom: 1px solid #2b2b2b;
}

.vdm-fx-section-icon--float {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    font-size: 21px;
}

.vdm-fx-list-card--single .vdm-fx-admin-list,
.vdm-fx-form-card--single .vdm-fx-form {
    margin-top: 2px;
}

/* Evita que se muestre el layout de dos columnas anterior dentro del centro. */
.vdm-fx-shell .vdm-fx-panel-grid {
    display: none;
}

@container vdmfx (max-width: 760px) {
    .vdm-fx-tab-panel {
        padding: 14px;
    }

    .vdm-fx-form-card--single,
    .vdm-fx-list-card--single {
        padding: 18px;
    }
}

@container vdmfx (max-width: 560px) {
    .vdm-fx-tab-nav {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 16px 16px 0 0;
    }

    .vdm-fx-tab-link + .vdm-fx-tab-link {
        border-left: 0;
        border-top: 1px solid #303030;
    }

    .vdm-fx-tab-link {
        min-height: 52px;
        font-size: 13px;
    }

    .vdm-fx-section-heading--space {
        gap: 10px;
    }
}


/* ========== ESTADO DE ENVÍO A VDM CONEXIONES (v1.0.3) ========== */
.vdm-fx-send-status {
    margin: 7px 0 0 !important;
    padding: 7px 9px;
    border: 1px solid #424242;
    border-radius: 8px;
    font-size: 10px !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere;
}
.vdm-fx-send-status.is-ok {
    color: #cfffda !important;
    border-color: #285f34;
    background: #102b17;
}
.vdm-fx-send-status.is-error {
    color: #ffd1d1 !important;
    border-color: #713232;
    background: #321515;
}

/* v1.0.4 · diagnóstico de redirección */
.vdm-fx-dates a {
    color: #f06a6d !important;
    text-decoration: underline !important;
    overflow-wrap: anywhere;
}
