/* ==========================================================
   Oficity Mundial 2026
   Archivo: assets/css/style.css
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');


/* ==========================================================
   1. BASE GENERAL
   ========================================================== */

.om-mundial-page {
    --om-dark: #071b35;
    --om-text: #5b6b82;
    --om-muted: #7f8ea3;

    --om-border: #d6e2f0;
    --om-border-soft: #dce8f5;

    --om-primary: #0057ff;
    --om-primary-hover: #1769ff;
    --om-primary-soft: #edf4ff;

    --om-accent: #00b8b0;
    --om-danger: #ff2f67;
    --om-focus-yellow: #ffe06d;

    --om-bg-soft: #f7fbff;
    --om-row-hover: #fbfdff;

    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 40px 24px 70px;

    color: var(--om-dark);
    font-family: 'Montserrat', sans-serif !important;
}

.om-mundial-page,
.om-mundial-page * {
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif !important;
}

.om-hidden {
    display: none !important;
}

.om-required {
    color: var(--om-danger);
    font-weight: 900;
}


/* ==========================================================
   2. HERO / ENCABEZADO
   ========================================================== */

.om-hero-card {
    position: relative;
    overflow: hidden;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 30px;
    align-items: center;

    padding: 48px 56px;
    margin-bottom: 28px;

    border: 1px solid var(--om-border-soft);
    border-radius: 28px;

    background:
        radial-gradient(circle at top right, rgba(0, 102, 255, 0.14), transparent 34%),
        radial-gradient(circle at bottom left, rgba(14, 181, 178, 0.16), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #f7fbff 56%, #eef7ff 100%);

    box-shadow: 0 22px 60px rgba(4, 35, 73, 0.08);
}

.om-hero-card::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -80px;

    width: 310px;
    height: 310px;

    border-radius: 50%;
    background: rgba(0, 102, 255, 0.08);
}

.om-hero-card::after {
    content: "";
    position: absolute;
    right: 80px;
    bottom: -65px;

    width: 260px;
    height: 120px;

    border-radius: 999px;
    background: rgba(0, 196, 180, 0.12);
    transform: rotate(-22deg);
}

.om-hero-content {
    position: relative;
    z-index: 2;
}

.om-hero-card h1 {
    max-width: 760px;
    margin: 22px 0 14px;

    color: var(--om-dark);
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 900;
    line-height: 1.03;
    letter-spacing: -0.04em;
}

.om-hero-card p {
    max-width: 760px;
    margin: 0;

    color: var(--om-text);
    font-size: 17px;
    line-height: 1.7;
}

.om-hero-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;

    margin-top: 28px;
}

.om-hero-info div {
    padding: 18px 20px;

    border: 1px solid var(--om-border-soft);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(6px);
}

.om-hero-info strong {
    display: block;
    margin-bottom: 6px;

    color: var(--om-dark);
    font-size: 14px;
    font-weight: 900;
}

.om-hero-info span {
    display: block;

    color: var(--om-text);
    font-size: 14px;
    line-height: 1.45;
}

.om-hero-decoration {
    position: relative;
    z-index: 2;

    min-height: 220px;
}

.om-ball {
    position: absolute;
    top: 20px;
    right: 56px;

    width: 130px;
    height: 130px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 25px 55px rgba(0, 51, 102, 0.16);

    font-size: 72px;
    transform: rotate(-9deg);
}

.om-cup {
    position: absolute;
    right: 10px;
    bottom: 12px;

    width: 94px;
    height: 94px;

    display: grid;
    place-items: center;

    border-radius: 28px;
    background: linear-gradient(135deg, #0b65ff, var(--om-accent));
    box-shadow: 0 22px 45px rgba(0, 102, 255, 0.24);

    font-size: 48px;
}


/* ==========================================================
   3. LAYOUT GENERAL / TARJETAS
   ========================================================== */

.om-layout {
    display: grid;
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.om-tables-column {
    display: grid;
    gap: 24px;
    min-width: 0;
}

.om-card {
    border: 1px solid var(--om-border-soft);
    border-radius: 24px;

    background: #ffffff;
    box-shadow: 0 20px 50px rgba(4, 35, 73, 0.07);
}

.om-form-card {
    width: 100%;
    max-width: 390px;
    padding: 24px;
}

.om-table-card {
    position: relative;
    overflow: hidden;

    width: 100%;
    padding: 30px;
}

.om-table-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;

    width: 190px;
    height: 190px;

    border-radius: 50%;
    background: rgba(0, 184, 176, 0.10);
}

.om-table-card .om-card-header,
.om-table-wrapper {
    position: relative;
    z-index: 2;
}

.om-card-header {
    margin-bottom: 20px;
}

.om-card-header h2 {
    margin: 16px 0 8px;

    color: var(--om-dark);
    font-size: 25px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.om-card-header p {
    margin: 0;

    color: var(--om-text);
    font-size: 14px;
    line-height: 1.6;
}


/* ==========================================================
   4. FORMULARIO
   ========================================================== */

.om-form {
    display: grid;
    gap: 15px;
}

.om-field-group {
    display: grid;
    gap: 8px;
}

.om-field-group label {
    color: var(--om-dark);
    font-size: 14px;
    font-weight: 850;
    line-height: 1.25;
}

.om-field-group small {
    display: block;
    margin-top: 2px;

    color: var(--om-muted);
    font-size: 12.5px;
    line-height: 1.4;
}

.om-form input,
.om-form select {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;

    border: 1px solid var(--om-border);
    border-radius: 22px;

    background: #ffffff;
    color: var(--om-dark);

    font-size: 14px;
    line-height: 1.2;

    outline: none;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}

.om-form input::placeholder {
    color: var(--om-muted) !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
}

.om-form input::-webkit-input-placeholder {
    color: var(--om-muted) !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
}

.om-form input::-moz-placeholder {
    color: var(--om-muted) !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

.om-form input:-ms-input-placeholder {
    color: var(--om-muted) !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
}

.om-form input:focus,
.om-form select:focus {
    border-color: var(--om-focus-yellow);
    background: #ffffff;
    box-shadow:
        0 0 0 4px rgba(23, 105, 255, 0.13),
        0 0 0 1px rgba(255, 224, 109, 0.85) inset;
}


/* ==========================================================
   5. BOTÓN PRINCIPAL
   ========================================================== */

.om-mundial-page .om-submit-btn {
    width: 100%;
    min-height: 52px;
    margin-top: 4px;

    border: 0 !important;
    border-radius: 16px;

    background: linear-gradient(135deg, var(--om-primary) 0%, var(--om-accent) 100%) !important;
    background-image: linear-gradient(135deg, var(--om-primary) 0%, var(--om-accent) 100%) !important;

    color: #ffffff !important;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 18px 35px rgba(0, 102, 255, 0.25);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        opacity 0.18s ease;
}

.om-mundial-page .om-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(0, 102, 255, 0.30);
}

.om-mundial-page .om-submit-btn:active {
    transform: translateY(0);
}

.om-mundial-page .om-submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    transform: none;
}


/* ==========================================================
   6. SELECT PERSONALIZADO CON BANDERAS
   ========================================================== */

.om-mundial-page .om-native-hidden {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;

    white-space: nowrap !important;

    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.om-mundial-page .om-custom-select {
    position: relative;
    width: 100%;
}

.om-mundial-page .om-select-trigger,
.om-mundial-page .om-select-trigger:hover,
.om-mundial-page .om-select-trigger:active,
.om-mundial-page .om-select-trigger:focus {
    width: 100% !important;
    min-height: 56px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;

    padding: 0 18px !important;

    border: 1px solid var(--om-border) !important;
    border-radius: 22px !important;

    background: #ffffff !important;
    background-image: none !important;

    color: var(--om-dark) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-align: left !important;

    box-shadow: none !important;
    outline: none !important;

    cursor: pointer !important;
    transform: none !important;
}

.om-mundial-page .om-select-trigger:hover {
    border-color: #b9cde6 !important;
    background: #fbfdff !important;
}

.om-mundial-page .om-custom-select.is-open .om-select-trigger,
.om-mundial-page .om-select-trigger:focus {
    border-color: var(--om-focus-yellow) !important;
    background: #ffffff !important;
    box-shadow:
        0 0 0 4px rgba(23, 105, 255, 0.13),
        0 0 0 1px rgba(255, 224, 109, 0.85) inset !important;
}

.om-mundial-page .om-selected-content {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 10px;
}

.om-mundial-page .om-selected-text {
    display: block;
    min-width: 0;

    overflow: hidden;

    color: var(--om-dark) !important;
    font-size: 14px !important;
    font-weight: 600 !important;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.om-mundial-page .om-custom-select.is-placeholder .om-selected-text {
    color: var(--om-muted) !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
}

.om-mundial-page .om-select-arrow {
    flex: 0 0 auto;

    color: var(--om-dark) !important;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;

    transition: transform 0.18s ease;
}

.om-mundial-page .om-custom-select.is-open .om-select-arrow {
    transform: rotate(180deg);
}

.om-mundial-page .om-select-menu {
    position: absolute;
    z-index: 9999;
    top: calc(100% + 8px);
    left: 0;
    right: 0;

    max-height: 280px;
    overflow-y: auto;

    padding: 8px;

    border: 1px solid var(--om-border);
    border-radius: 18px;

    background: #ffffff;
    box-shadow: 0 22px 48px rgba(4, 35, 73, 0.16);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);

    transition:
        opacity 0.16s ease,
        transform 0.16s ease,
        visibility 0.16s ease;
}

.om-mundial-page .om-custom-select.is-open .om-select-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.om-mundial-page .om-select-option,
.om-mundial-page .om-select-option:hover,
.om-mundial-page .om-select-option:focus,
.om-mundial-page .om-select-option:active {
    width: 100% !important;
    min-height: 44px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 11px !important;

    padding: 10px 12px !important;
    margin: 0 0 4px 0 !important;

    border: 0 !important;
    border-radius: 12px !important;

    background: #ffffff !important;
    background-image: none !important;

    color: var(--om-dark) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: left !important;

    box-shadow: none !important;
    outline: none !important;

    cursor: pointer !important;
    transform: none !important;
}

.om-mundial-page .om-select-option:hover,
.om-mundial-page .om-select-option:focus {
    background: var(--om-primary-soft) !important;
    color: var(--om-primary-hover) !important;
}

.om-mundial-page .om-select-option.is-selected {
    background: linear-gradient(135deg, var(--om-primary) 0%, var(--om-accent) 100%) !important;
    color: #ffffff !important;
}

.om-mundial-page .om-select-placeholder-option {
    color: var(--om-muted) !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
}

.om-mundial-page .om-select-placeholder-option.is-selected {
    background: #f4f7fb !important;
    color: var(--om-muted) !important;
}

.om-mundial-page .om-flag {
    width: 24px;
    height: 18px;
    flex: 0 0 24px;

    object-fit: cover;

    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(7, 27, 53, 0.08);
}

.om-mundial-page .om-flag-placeholder {
    width: 24px;
    height: 18px;
    flex: 0 0 24px;
}

.om-mundial-page .om-select-menu::-webkit-scrollbar {
    width: 8px;
}

.om-mundial-page .om-select-menu::-webkit-scrollbar-track {
    background: #f1f6ff;
    border-radius: 999px;
}

.om-mundial-page .om-select-menu::-webkit-scrollbar-thumb {
    background: #b8c6d9;
    border-radius: 999px;
}

.om-mundial-page .om-select-menu::-webkit-scrollbar-thumb:hover {
    background: #8fa4bf;
}

.om-mundial-page button.om-select-trigger,
.om-mundial-page button.om-select-option {
    font-family: 'Montserrat', sans-serif !important;
}

/* ==========================================================
   7. TABLAS
   ========================================================== */

.om-table-wrapper {
    position: relative;
    z-index: 2;

    width: 100%;
    overflow-x: auto;

    border: 1px solid #e0ebf6;
    border-radius: 18px;

    background: #ffffff;
}

.om-table {
    width: 100%;
    min-width: 720px;
    margin: 0;

    border-collapse: separate;
    border-spacing: 0;

    background: #ffffff;
}

.om-table thead th {
    padding: 11px 10px !important;

    border-bottom: 1px solid var(--om-border-soft);
    background: #f3f8ff;

    color: var(--om-dark);
    font-size: 10.8px !important;
    font-weight: 900;
    line-height: 1.3;
    text-align: center !important;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    vertical-align: middle !important;
}

.om-table thead th:first-child {
    border-top-left-radius: 18px;
}

.om-table thead th:last-child {
    border-top-right-radius: 18px;
}

.om-table tbody td {
    padding: 11px 10px !important;

    border-bottom: 1px solid #edf2f8;

    color: #344258;
    font-size: 12px !important;
    line-height: 1.4;
    text-align: center !important;
    vertical-align: middle !important;
}

.om-table tbody tr:last-child td {
    border-bottom: 0;
}

.om-table tbody tr:hover td {
    background: var(--om-row-hover);
}

.om-table td:nth-child(4) {
    white-space: nowrap;
    color: var(--om-text);
    font-weight: 700;
}

.om-table th:nth-child(4),
.om-table td:nth-child(4),
.om-table th:nth-child(5),
.om-table td:nth-child(5) {
    text-align: center !important;
}


/* ==========================================================
   8. FILAS VACÍAS / SIN RESULTADOS
   ========================================================== */

.om-empty-row td,
.om-filter-empty-row td {
    padding: 28px 18px !important;

    background: #f8fbff;

    color: #6a778a;
    font-size: 13px !important;
    font-weight: 800;
    text-align: center !important;
}


/* ==========================================================
   9. FACTURA RESALTADA
   ========================================================== */

.om-invoice-code {
    color: var(--om-dark);
    font-size: 12.3px !important;
    font-weight: 900 !important;
    letter-spacing: 0.02em;
}


/* ==========================================================
   10. SELECCIÓN CON BADGE Y BANDERA
   ========================================================== */

.om-selection-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 8px 14px;

    border: 1px solid #d9e9ff;
    border-radius: 999px;

    background: linear-gradient(135deg, #edf4ff 0%, #eefcfb 100%);
}

.om-selection-name {
    color: var(--om-primary);
    font-size: 12px !important;
    font-weight: 900;
    line-height: 1;
}

.om-selection-flag {
    width: 24px;
    height: 18px;

    object-fit: cover;

    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(7, 27, 53, 0.08);
}


/* ==========================================================
   11. ESTATUS
   ========================================================== */

.om-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 92px;
    padding: 6px 10px !important;

    border-radius: 999px;

    font-size: 11px !important;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.om-status-participante {
    background: var(--om-primary-soft);
    color: var(--om-primary-hover);
}

.om-status-finalista {
    background: #fff7df;
    color: #b07800;
}

.om-status-ganador {
    background: #ecfff9;
    color: #087a60;
}

.om-status-descalificado {
    background: #fff2f5;
    color: #bf244b;
}


/* ==========================================================
   12. SEGUNDA TABLA / TABLA ESPECIAL
   ========================================================== */

.om-special-table-card {
    border-color: #b8eadf;
    background:
        radial-gradient(circle at top right, rgba(0, 184, 176, 0.12), transparent 28%),
        #ffffff;
}

.om-special-table-card .om-card-header h2::before {
    content: "🏆 ";
}


/* ==========================================================
   13. CONTROLES SUPERIORES DE TABLA
   ========================================================== */

.om-table-tools {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) minmax(170px, 1fr) minmax(160px, 0.9fr) auto;
    gap: 14px;
    align-items: end;

    margin: 22px 0 18px;
}

.om-table-tool {
    min-width: 0;
}

.om-table-tool label {
    display: block;
    margin-bottom: 7px;

    color: var(--om-dark);
    font-size: 11.5px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.om-table-tool input,
.om-table-tool select {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;

    border: 1px solid var(--om-border);
    border-radius: 18px;

    background: #ffffff;
    color: var(--om-dark);

    font-size: 12.5px;
    font-weight: 600;

    outline: none;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}

.om-table-tool input::placeholder {
    color: var(--om-muted);
    font-size: 12px;
    font-weight: 500;
}

.om-table-tool input:focus,
.om-table-tool select:focus {
    border-color: var(--om-focus-yellow);
    background: #ffffff;
    box-shadow:
        0 0 0 4px rgba(23, 105, 255, 0.10),
        0 0 0 1px rgba(255, 224, 109, 0.80) inset;
}

.om-table-tool-reset {
    display: flex;
    align-items: end;
}

#om-reset-table-filters {
    min-height: 44px;
    padding: 0 16px;

    border: 1px solid var(--om-border) !important;
    border-radius: 18px !important;

    background: #f8fbff !important;
    color: var(--om-dark) !important;

    font-size: 12px !important;
    font-weight: 900 !important;

    cursor: pointer !important;
    box-shadow: none !important;
    white-space: nowrap;
}

#om-reset-table-filters:hover {
    background: var(--om-primary-soft) !important;
    color: var(--om-primary-hover) !important;
}


/* ==========================================================
   14. SELECT DE FILTRO CON MISMO ESTILO VISUAL
   ========================================================== */

.om-table-tools .om-custom-select .om-select-trigger,
.om-table-tools .om-custom-select .om-select-trigger:hover,
.om-table-tools .om-custom-select .om-select-trigger:active,
.om-table-tools .om-custom-select .om-select-trigger:focus {
    min-height: 44px !important;
    padding: 0 14px !important;

    border-radius: 18px !important;

    font-size: 12.5px !important;
    font-weight: 700 !important;
}

.om-table-tools .om-custom-select .om-selected-text {
    font-size: 12.5px !important;
    font-weight: 700 !important;
}

.om-table-tools .om-custom-select.is-placeholder .om-selected-text {
    font-size: 12.5px !important;
    font-weight: 600 !important;
}

.om-table-tools .om-custom-select .om-select-menu {
    border-radius: 16px !important;
}

.om-table-tools .om-custom-select .om-select-option {
    min-height: 38px !important;
    padding: 8px 10px !important;

    font-size: 12.5px !important;
}


/* ==========================================================
   15. BOTÓN DE ORDENAMIENTO EN ENCABEZADO
   ========================================================== */

.om-sort-btn,
.om-sort-btn:hover,
.om-sort-btn:focus,
.om-sort-btn:active {
    width: auto !important;
    min-height: auto !important;
    padding: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    color: var(--om-dark) !important;
    font-size: 10.8px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.045em !important;

    box-shadow: none !important;
    cursor: pointer !important;
}

.om-sort-icon {
    width: 20px;
    height: 20px;

    display: inline-grid;
    place-items: center;

    border-radius: 999px;

    background: var(--om-primary-soft);
    color: var(--om-primary-hover);

    font-size: 13px;
    font-weight: 900;
}

/* ==========================================================
   16. FOOTER / MOSTRAR / PAGINACIÓN
   ========================================================== */

.om-table-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: center;

    margin-top: 16px;
}

.om-table-info {
    color: var(--om-text);
    font-size: 12.5px;
    font-weight: 700;
}

.om-table-footer-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--om-text);
    font-size: 12.5px;
    font-weight: 700;
}

.om-per-page-label {
    margin: 0;

    color: var(--om-dark);
    font-size: 12px;
    font-weight: 900;
}

.om-footer-select {
    min-height: 36px;
    padding: 0 10px;

    border: 1px solid var(--om-border);
    border-radius: 12px;

    background: #ffffff;
    color: var(--om-dark);

    font-size: 12px;
    font-weight: 800;

    outline: none;
}

.om-footer-select:focus {
    border-color: var(--om-focus-yellow);
    box-shadow:
        0 0 0 4px rgba(23, 105, 255, 0.10),
        0 0 0 1px rgba(255, 224, 109, 0.80) inset;
}

.om-per-page-text {
    color: var(--om-text);
    font-size: 12.5px;
    font-weight: 700;
}

.om-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
}

.om-page-btn {
    min-width: 36px;
    min-height: 36px;
    padding: 0 11px;

    border: 1px solid var(--om-border) !important;
    border-radius: 12px !important;

    background: #ffffff !important;
    color: var(--om-dark) !important;

    font-size: 12px !important;
    font-weight: 900 !important;

    cursor: pointer !important;
    box-shadow: none !important;
}

.om-page-btn:hover:not(:disabled),
.om-page-btn.is-active {
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--om-primary) 0%, var(--om-accent) 100%) !important;
    color: #ffffff !important;
}

.om-page-btn:disabled {
    cursor: not-allowed !important;
    opacity: 0.45;
}


/* ==========================================================
   17. TOAST / MENSAJE FLOTANTE
   ========================================================== */

.om-message,
#om-msg {
    display: none !important;
}

.om-toast-container {
    position: fixed;
    z-index: 999999;
    top: 24px;
    right: 24px;

    display: grid;
    gap: 12px;

    width: min(390px, calc(100vw - 32px));
    pointer-events: none;
}

body.admin-bar .om-toast-container {
    top: 56px;
}

.om-toast {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 28px;
    gap: 12px;
    align-items: center;

    padding: 16px;

    border-radius: 18px;

    background: #ffffff;
    box-shadow: 0 22px 55px rgba(4, 35, 73, 0.20);

    opacity: 0;
    transform: translateY(-12px) scale(0.98);

    transition:
        opacity 0.22s ease,
        transform 0.22s ease;

    pointer-events: auto;
}

.om-toast.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.om-toast-success {
    border: 1px solid #b8eadf;
}

.om-toast-error {
    border: 1px solid #ffd1dc;
}

.om-toast-icon {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 999px;

    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.om-toast-success .om-toast-icon {
    background: #ecfff9;
    color: #087a60;
}

.om-toast-error .om-toast-icon {
    background: #fff2f5;
    color: #bf244b;
}

.om-toast-text {
    color: var(--om-dark);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.45;
}

.om-toast-close {
    width: 28px !important;
    height: 28px !important;

    display: grid !important;
    place-items: center !important;

    padding: 0 !important;

    border: 0 !important;
    border-radius: 999px !important;

    background: #f4f7fb !important;
    color: var(--om-text) !important;

    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    cursor: pointer !important;

    box-shadow: none !important;
}

.om-toast-close:hover {
    background: var(--om-primary-soft) !important;
    color: var(--om-primary-hover) !important;
}


/* ==========================================================
   18. MODAL DE CONFIRMACIÓN
   ========================================================== */

.om-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 999998;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(7, 27, 53, 0.42);
    backdrop-filter: blur(3px);
}

.om-confirm-modal {
    width: 100%;
    max-width: 520px;

    overflow: hidden;

    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 30px 70px rgba(4, 35, 73, 0.26);
}

.om-confirm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 22px;

    border-bottom: 1px solid #edf2f8;
}

.om-confirm-header h3 {
    margin: 0;

    color: var(--om-dark);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
}

.om-confirm-close {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 999px !important;

    background: #f4f7fb !important;
    color: var(--om-text) !important;

    font-size: 22px !important;

    cursor: pointer !important;
    box-shadow: none !important;
}

.om-confirm-close:hover {
    background: var(--om-primary-soft) !important;
    color: var(--om-primary-hover) !important;
}

.om-confirm-body {
    padding: 22px;
}

.om-confirm-body p {
    margin: 0 0 16px;

    color: var(--om-text);
    font-size: 14px;
    line-height: 1.6;
}

.om-confirm-summary {
    display: grid;
    gap: 10px;
}

.om-confirm-summary div {
    padding: 12px 14px;

    border: 1px solid #e4edf7;
    border-radius: 14px;

    background: #f8fbff;

    color: #344258;
    font-size: 14px;
    line-height: 1.5;
}

.om-confirm-summary strong {
    color: var(--om-dark);
    font-weight: 800;
}

.om-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;

    padding: 0 22px 22px;
}

.om-confirm-cancel,
.om-confirm-accept {
    min-height: 46px;
    padding: 0 18px;

    border-radius: 14px !important;

    font-size: 14px !important;
    font-weight: 800 !important;

    cursor: pointer !important;
    box-shadow: none !important;
}

.om-confirm-cancel {
    border: 1px solid var(--om-border) !important;

    background: #ffffff !important;
    color: var(--om-dark) !important;
}

.om-confirm-cancel:hover {
    background: var(--om-primary-soft) !important;
    color: var(--om-primary-hover) !important;
}

.om-confirm-accept {
    border: 0 !important;

    background: linear-gradient(135deg, var(--om-primary) 0%, var(--om-accent) 100%) !important;
    color: #ffffff !important;
}


/* ==========================================================
   19. ESTADOS AUXILIARES
   ========================================================== */

.om-empty-state {
    padding: 28px;

    border: 1px dashed #cfe0ef;
    border-radius: 18px;

    background: #f8fbff;

    color: var(--om-text);
    text-align: center;
}

.om-empty-state strong {
    display: block;
    margin-bottom: 6px;

    color: var(--om-dark);
    font-size: 18px;
}


/* ==========================================================
   20. RESPONSIVE
   ========================================================== */

@media (max-width: 1200px) {
    .om-table-tools {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .om-table-tool-reset {
        align-items: end;
    }

    .om-table-footer {
        grid-template-columns: 1fr;
    }

    .om-pagination {
        justify-content: flex-start;
    }
}

@media (max-width: 1180px) {
    .om-layout {
        grid-template-columns: 1fr;
    }

    .om-form-card {
        max-width: 520px;
    }
}

@media (max-width: 900px) {
    .om-mundial-page {
        padding: 28px 16px 56px;
    }

    .om-hero-card {
        grid-template-columns: 1fr;
        padding: 36px 28px;
    }

    .om-hero-decoration {
        display: none;
    }

    .om-hero-info {
        grid-template-columns: 1fr;
    }

    .om-card-header h2 {
        font-size: 25px;
    }
}

@media (max-width: 800px) {
    .om-table-tools {
        grid-template-columns: 1fr;
    }

    #om-reset-table-filters {
        width: 100%;
    }

    .om-table-footer-controls {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .om-form-card {
        max-width: 100%;
        padding: 22px;
    }

    .om-table {
        min-width: 760px;
    }
}

@media (max-width: 600px) {
    .om-mundial-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .om-hero-card {
        padding: 30px 22px;
        border-radius: 22px;
    }

    .om-hero-card h1 {
        font-size: 32px;
    }

    .om-hero-card p {
        font-size: 15px;
    }

    .om-form-card,
    .om-table-card {
        padding: 22px;
        border-radius: 20px;
    }

    .om-form input,
    .om-form select,
    .om-submit-btn,
    .om-select-trigger {
        min-height: 52px !important;
        font-size: 14px;
    }

    .om-card-header h2 {
        font-size: 23px;
    }

    .om-toast-container {
        top: 16px;
        right: 16px;
        left: 16px;
        width: auto;
    }

    body.admin-bar .om-toast-container {
        top: 62px;
    }

    .om-confirm-actions {
        flex-direction: column;
    }

    .om-confirm-cancel,
    .om-confirm-accept {
        width: 100%;
    }
}