html {
    margin-top: 0 !important;
    min-height: 100%;
    background: #030405 !important;
}

body {
    min-height: 100%;
    background: #030405 !important;
    overflow-x: clip;
    overflow-y: visible;
}

body:has(.cox-dashboard),
body:has(.cox-dashboard) #page,
body:has(.cox-dashboard) .site,
body:has(.cox-dashboard) .site-content,
body:has(.cox-dashboard) .content-area,
body:has(.cox-dashboard) #content,
body:has(.cox-dashboard) .entry-content,
body:has(.cox-dashboard) .page-content,
body:has(.cox-dashboard) .elementor,
body:has(.cox-dashboard) .elementor-section-wrap,
body:has(.cox-dashboard) .elementor-widget-wrap,
body:has(.cox-dashboard) .elementor-widget-container,
body:has(.cox-dashboard) .e-con,
body:has(.cox-dashboard) .e-con-inner {
    background-color: #030405 !important;
}

#wpadminbar {
    display: none !important;
}

.cox-dashboard {
    --cox-font-heading: Rajdhani, Inter, ui-sans-serif, system-ui, sans-serif;
    --cox-font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --cox-color-red: #ed1c24;
    --cox-color-red-bright: #ed1c24;
    --cox-color-red-soft: #ed1c24;
    --cox-color-white: #ffffff;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
    padding: clamp(12px, 2vw, 26px);
    padding-bottom: max(clamp(12px, 2vw, 26px), calc(env(safe-area-inset-bottom, 0px) + 14px));
    background:
        radial-gradient(circle at 82% 16%, rgba(237, 28, 36, .24), transparent 24%),
        radial-gradient(circle at 14% 84%, rgba(237, 28, 36, .12), transparent 28%),
        linear-gradient(135deg, #030405 0%, #10131a 48%, #050608 100%);
    color: var(--cox-color-white);
    font-family: var(--cox-font-body);
    isolation: isolate;
    margin: 0 0 -2px;
}

.cox-dashboard,
.cox-dashboard * {
    box-sizing: border-box;
}

.cox-dashboard button {
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
}

.cox-dashboard-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(237, 28, 36, .1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(237, 28, 36, .1) 1px, transparent 1px);
    background-size: 78px 78px;
    opacity: .55;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.cox-dashboard-shell {
    width: min(100%, 1520px);
    margin: 0 auto;
    overflow: visible;
}

.cox-dashboard-app {
    display: grid;
    grid-template-columns: 208px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    overflow: visible;
}

.cox-dashboard-sidebar {
    position: sticky;
    top: 10px;
    z-index: 5;
    align-self: start;
    height: calc(100vh - 20px);
    height: calc(100svh - 20px);
    max-height: calc(100vh - 20px);
    max-height: calc(100svh - 20px);
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background: rgba(8, 10, 15, .86);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .32);
    padding: 10px;
    backdrop-filter: blur(16px);
}

.cox-dashboard-sidebar::-webkit-scrollbar {
    width: 6px;
}

.cox-dashboard-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .04);
}

.cox-dashboard-sidebar::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(237, 28, 36, .5);
}

.cox-dashboard-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.cox-dashboard-brand > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: #000;
    box-shadow: 0 12px 30px rgba(237, 28, 36, .2);
}

.cox-dashboard-brand img,
.cox-login-brand img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.cox-dashboard-brand strong,
.cox-dashboard-brand small {
    display: block;
}

.cox-dashboard-brand strong {
    color: #fff;
    font-size: 12px;
    letter-spacing: .04em;
}

.cox-dashboard-brand small {
    margin-top: 2px;
    color: rgba(255, 255, 255, .56);
    font-size: 11px;
}

.cox-dashboard-nav {
    display: grid;
    gap: 8px;
    padding-top: 2px;
}

.cox-dashboard-nav a,
.cox-dashboard-exit,
.cox-dashboard-button {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 9px;
    border-radius: 8px;
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    padding: 0 10px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.cox-dashboard-nav .dashicons,
.cox-dashboard-exit .dashicons {
    width: 19px;
    height: 19px;
    color: rgba(255, 255, 255, .52);
    font-size: 19px;
    line-height: 19px;
    transition: color .2s ease;
}

.cox-dashboard-nav a:hover,
.cox-dashboard-nav a.is-active {
    background: linear-gradient(135deg, rgba(237, 28, 36, .32), rgba(237, 28, 36, .12));
    color: #fff;
    transform: translateX(2px);
}

.cox-dashboard-nav a:hover .dashicons,
.cox-dashboard-nav a.is-active .dashicons {
    color: #ed1c24;
}

.cox-dashboard-nav a.is-active {
    box-shadow: inset 3px 0 0 #ed1c24;
}

.cox-dashboard-exit {
    margin-top: auto;
    border: 1px solid rgba(237, 28, 36, .35);
    color: #ed1c24;
}

.cox-dashboard-exit .dashicons {
    color: #ed1c24;
}

.cox-dashboard-main {
    min-width: 0;
    width: 100%;
    padding-top: clamp(8px, 1.4vw, 20px);
}

.cox-dashboard-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.cox-dashboard-header-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.cox-dashboard-header p,
.cox-panel-title span,
.cox-dashboard-generation span,
.cox-dashboard-cards span {
    margin: 0;
    color: rgba(255, 255, 255, .56);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.cox-dashboard-header h1 {
    margin: 8px 0 0;
    color: #fff;
    font-family: var(--cox-font-heading);
    font-size: clamp(38px, 6vw, 72px);
    line-height: .95;
    letter-spacing: 0;
}

.cox-row-link,
.cox-dashboard-help {
    color: #ed1c24;
    font-weight: 800;
    text-decoration: none;
}

.cox-row-link:hover {
    color: #fff;
    text-shadow: 0 0 18px rgba(237, 28, 36, .42);
}

.cox-dashboard-header-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(237, 28, 36, .38);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(237, 28, 36, .18), rgba(237, 28, 36, .08)),
        rgba(255, 255, 255, .035);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    padding: 0 15px;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}

.cox-dashboard-header-button .dashicons {
    width: 18px;
    height: 18px;
    color: #ed1c24;
    font-size: 18px;
    line-height: 18px;
}

.cox-dashboard-header-button:hover,
.cox-dashboard-header-button.is-active {
    border-color: rgba(255, 255, 255, .28);
    background: linear-gradient(135deg, #ed1c24, #a80016);
    color: #fff;
    box-shadow: 0 14px 34px rgba(237, 28, 36, .25);
    text-shadow: none;
    transform: translateY(-1px);
}

.cox-dashboard-header-button:hover .dashicons,
.cox-dashboard-header-button.is-active .dashicons {
    color: #fff;
}

.cox-dashboard-header-button.is-danger {
    background: linear-gradient(135deg, #ed1c24, #c9001b);
    border-color: rgba(237, 28, 36, .45);
    box-shadow: 0 14px 34px rgba(237, 28, 36, .22);
}

.cox-dashboard-header-button.is-danger .dashicons {
    color: #fff;
}

.cox-dashboard a:focus-visible,
.cox-dashboard button:focus-visible,
.cox-dashboard input:focus-visible,
.cox-dashboard select:focus-visible,
.cox-dashboard textarea:focus-visible {
    outline: 2px solid rgba(237, 28, 36, .9);
    outline-offset: 3px;
}

.cox-link-button,
.cox-settings-grid button,
.cox-settings-grid a {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.cox-dashboard-view[hidden] {
    display: none !important;
}

.cox-dashboard-notice {
    margin: 0 0 16px;
    border: 1px solid rgba(70, 220, 150, .34);
    border-radius: 8px;
    background: rgba(31, 160, 103, .14);
    color: #b7f7d6;
    font-weight: 800;
    padding: 13px 15px;
}

.cox-dashboard-notice[data-type="error"] {
    border-color: rgba(255, 193, 7, .42);
    background: rgba(255, 193, 7, .14);
    color: #ffe6a1;
}

.cox-dashboard-notice[data-type="info"] {
    border-color: rgba(159, 192, 255, .34);
    background: rgba(159, 192, 255, .12);
    color: #c8d8ff;
}

.cox-dashboard-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.cox-dashboard-cards article,
.cox-dashboard-panel,
.cox-login-card {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    background: rgba(8, 10, 15, .84);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .32);
    backdrop-filter: blur(16px);
}

.cox-dashboard-cards article:hover,
.cox-dashboard-panel:hover,
.cox-ambassador-list article:hover,
.cox-settings-grid article:hover {
    border-color: rgba(237, 28, 36, .26);
}

.cox-dashboard-cards article {
    min-height: 132px;
    display: grid;
    align-content: space-between;
    padding: 18px;
}

.cox-dashboard-cards strong {
    color: #fff;
    font-size: clamp(34px, 4vw, 54px);
    line-height: .95;
}

.cox-dashboard-generation {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, auto) auto;
    align-items: start;
    gap: 18px;
    margin-bottom: 16px;
    padding: 18px;
}

.cox-dashboard-generation strong {
    display: block;
    margin-top: 6px;
    color: #fff;
    font-size: 24px;
}

.cox-dashboard-generation p {
    margin: 0;
    border-left: 2px solid rgba(237, 28, 36, .56);
    color: rgba(255, 255, 255, .72);
    font-weight: 800;
    line-height: 1.35;
    padding-left: 14px;
}

.cox-dashboard-generation-hero {
    min-height: auto;
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    margin-bottom: 0;
    background:
        linear-gradient(135deg, rgba(237, 28, 36, .16), rgba(255, 255, 255, .035)),
        rgba(8, 10, 15, .86);
    box-shadow:
        0 22px 70px rgba(0, 0, 0, .34),
        inset 0 1px 0 rgba(255, 255, 255, .08);
}

.cox-dashboard-generation-hero strong {
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1;
}

.cox-generation-view {
    display: grid;
    gap: 16px;
}

.cox-overview-stack {
    display: grid;
    gap: 16px;
}

.cox-overview-support {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
    gap: 16px;
    align-items: stretch;
}

.cox-overview-support .cox-dashboard-generation,
.cox-overview-support .cox-dashboard-panel {
    min-height: 100%;
    margin-bottom: 0;
}

.cox-overview-support .cox-dashboard-generation {
    grid-template-columns: 1fr;
    align-items: flex-start;
    align-content: start;
    justify-items: start;
}

.cox-dashboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 16px;
}

.cox-dashboard-layout > *,
.cox-overview-stack > *,
.cox-overview-support > *,
.cox-generation-view > * {
    min-width: 0;
}

.cox-dashboard-panel {
    min-width: 0;
    overflow: hidden;
    padding: 18px;
}

.cox-panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.cox-panel-title h2 {
    margin: 6px 0 0;
    color: #fff;
    font-family: var(--cox-font-heading);
    font-size: 24px;
    line-height: 1.1;
}

.cox-table-wrap {
    width: 100%;
    max-width: 100%;
    max-height: min(74vh, 780px);
    overflow: auto;
    overscroll-behavior-x: contain;
    scrollbar-gutter: stable;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    background: rgba(3, 5, 9, .38);
    scrollbar-color: rgba(237, 28, 36, .48) rgba(255, 255, 255, .05);
}

.cox-table-wrap::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.cox-table-wrap::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .045);
}

.cox-table-wrap::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(237, 28, 36, .42);
}

.cox-table-module {
    display: grid;
    gap: 14px;
}

.cox-table-tools {
    display: grid;
    grid-template-columns: minmax(240px, 1.6fr) repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    align-items: end;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    background: rgba(255, 255, 255, .035);
    padding: 12px;
}

.cox-table-tools label {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.cox-table-tools span {
    color: rgba(255, 255, 255, .58);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cox-table-tools input,
.cox-table-tools select {
    width: 100%;
    min-height: 38px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font: 700 13px var(--cox-font-body);
    padding: 0 10px;
}

.cox-table-tools button {
    min-height: 38px;
    border: 1px solid rgba(237, 28, 36, .36);
    border-radius: 8px;
    background: rgba(237, 28, 36, .12);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    padding: 0 12px;
    white-space: nowrap;
}

.cox-table-tools strong {
    min-height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    padding: 0 12px;
    white-space: nowrap;
}

.cox-table-module-generations .cox-table-tools,
.cox-table-module-students .cox-table-tools,
.cox-table-module-enrollments .cox-table-tools {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025)),
        rgba(8, 10, 15, .54);
}

.cox-table-empty {
    margin: 0;
    border: 1px dashed rgba(255, 255, 255, .16);
    border-radius: 10px;
    color: rgba(255, 255, 255, .62);
    font-weight: 800;
    padding: 18px;
    text-align: center;
}

.cox-table-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.cox-table-pagination[hidden] {
    display: none !important;
}

.cox-table-pagination [data-cox-page-label] {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .045);
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 900;
    padding: 0 14px;
}

.cox-table-pagination button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(237, 28, 36, .36);
    border-radius: 999px;
    background: rgba(237, 28, 36, .12);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    padding: 0 14px;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cox-table-pagination button:hover {
    border-color: rgba(255, 255, 255, .32);
    background: linear-gradient(135deg, #ed1c24, #a80016);
    box-shadow: 0 12px 30px rgba(237, 28, 36, .22);
    transform: translateY(-1px);
}

.cox-table-pagination button:disabled {
    cursor: not-allowed;
    opacity: .45;
    transform: none;
    box-shadow: none;
}

.cox-recent-list {
    display: grid;
    gap: 10px;
}

.cox-recent-list article {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) minmax(150px, .9fr) minmax(170px, 1fr) auto;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    padding: 13px;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.cox-recent-list article:hover {
    border-color: rgba(237, 28, 36, .28);
    background: rgba(255, 255, 255, .06);
    transform: translateY(-1px);
}

.cox-recent-main strong,
.cox-recent-route strong {
    display: block;
    color: #fff;
    line-height: 1.2;
}

.cox-recent-main span,
.cox-recent-route span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    line-height: 1.35;
}

.cox-recent-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.cox-recent-list .cox-table-actions {
    justify-content: flex-end;
}

.cox-dashboard-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1180px;
    table-layout: fixed;
}

.cox-dashboard-table th,
.cox-dashboard-table td {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding: 14px 12px;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.cox-dashboard-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: rgba(8, 10, 15, .96);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .56);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cox-dashboard-table td {
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    line-height: 1.35;
}

.cox-dashboard-table tr[hidden] {
    display: none !important;
}

.cox-dashboard-table th:nth-child(1),
.cox-dashboard-table td:nth-child(1) {
    width: 22%;
}

.cox-dashboard-table th:nth-child(2),
.cox-dashboard-table td:nth-child(2) {
    width: 15%;
}

.cox-dashboard-table th:nth-child(3),
.cox-dashboard-table td:nth-child(3) {
    width: 25%;
}

.cox-dashboard-table th:nth-child(4),
.cox-dashboard-table td:nth-child(4) {
    width: 21%;
}

.cox-dashboard-table th:nth-child(5),
.cox-dashboard-table td:nth-child(5) {
    width: 17%;
}

.cox-referrals-table {
    min-width: 820px;
}

.cox-referrals-table th:nth-child(1),
.cox-referrals-table td:nth-child(1) {
    width: 27%;
}

.cox-referrals-table th:nth-child(2),
.cox-referrals-table td:nth-child(2) {
    width: 18%;
}

.cox-referrals-table th:nth-child(3),
.cox-referrals-table td:nth-child(3) {
    width: 13%;
}

.cox-referrals-table th:nth-child(4),
.cox-referrals-table td:nth-child(4) {
    width: 20%;
}

.cox-referrals-table th:nth-child(5),
.cox-referrals-table td:nth-child(5) {
    width: 22%;
}

.cox-dashboard-table strong {
    display: block;
    color: #fff;
}

.cox-dashboard-table small,
.cox-ambassador-list small {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, .56);
    line-height: 1.35;
}

.cox-dashboard code {
    display: inline-block;
    border: 1px solid rgba(237, 28, 36, .32);
    border-radius: 6px;
    background: rgba(237, 28, 36, .1);
    color: #fff;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 12px;
    padding: 5px 7px;
}

.cox-status-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 8px;
}

.cox-status-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.18;
    padding: 6px 13px;
}

.cox-dashboard-table tr[data-status="Aprobada / Estudiante activo"] .cox-status-chip,
.cox-recent-list article[data-status="Aprobada / Estudiante activo"] .cox-status-chip {
    border-color: rgba(70, 220, 150, .36);
    background: rgba(70, 220, 150, .12);
    color: #b7f7d6;
}

.cox-dashboard-table tr[data-status="En revisión"] .cox-status-chip,
.cox-recent-list article[data-status="En revisión"] .cox-status-chip {
    border-color: rgba(159, 192, 255, .36);
    background: rgba(159, 192, 255, .12);
    color: #c8d8ff;
}

.cox-dashboard-table tr[data-status="Rechazada"] .cox-status-chip,
.cox-dashboard-table tr[data-status="Duplicada"] .cox-status-chip,
.cox-recent-list article[data-status="Rechazada"] .cox-status-chip,
.cox-recent-list article[data-status="Duplicada"] .cox-status-chip {
    border-color: rgba(255, 193, 7, .42);
    background: rgba(255, 193, 7, .14);
    color: #ffe6a1;
}

.cox-status-form select,
.cox-status-form button,
.cox-login-card input[type="text"],
.cox-login-card input[type="password"] {
    min-height: 38px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font: inherit;
}

.cox-status-form select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 0 28px 0 10px;
}

.cox-status-form button,
.cox-login-card input[type="submit"] {
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #ed1c24, #c9001b);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    padding: 0 14px;
}

.cox-table-action {
    min-height: 38px;
    min-width: 96px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(237, 28, 36, .36);
    border-radius: 8px;
    background: rgba(237, 28, 36, .12);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    padding: 0 12px;
    white-space: nowrap;
}

.cox-table-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    min-width: 0;
}

.cox-table-actions .cox-table-action {
    width: 100%;
    min-width: 0;
}

.cox-table-action:hover,
.cox-status-form button:hover,
.cox-table-tools button:hover,
.cox-settings-grid button:hover,
.cox-settings-grid a:hover,
.cox-crud-add:hover,
.cox-crud-row button:hover,
.cox-dashboard-modal-cancel:hover,
.cox-dashboard-modal-save:hover {
    border-color: rgba(255, 255, 255, .32);
    background: linear-gradient(135deg, #ed1c24, #a80016);
    color: #fff;
    box-shadow: 0 12px 30px rgba(237, 28, 36, .24);
}

.cox-table-action:disabled,
.cox-table-action:disabled:hover,
.cox-file-action:disabled {
    cursor: not-allowed;
    opacity: .48;
    background: rgba(237, 28, 36, .08);
    border-color: rgba(237, 28, 36, .2);
    box-shadow: none;
}

.cox-status-form select:hover,
.cox-modal-field input:hover,
.cox-modal-field select:hover,
.cox-modal-field textarea:hover,
.cox-crud-row input:hover,
.cox-crud-row select:hover,
.cox-crud-row textarea:hover {
    border-color: rgba(237, 28, 36, .34);
}

.cox-table-action .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
    line-height: 16px;
}

.cox-dashboard-side {
    display: grid;
    gap: 16px;
    align-content: start;
}

.cox-ambassador-list {
    display: grid;
    gap: 12px;
}

.cox-ambassador-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cox-ambassador-list article {
    display: grid;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    padding: 14px;
}

.cox-ambassador-list strong {
    color: #fff;
}

.cox-ambassador-list span {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, .56);
    font-size: 13px;
}

.cox-rule-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 18px;
    color: rgba(255, 255, 255, .76);
    line-height: 1.45;
}

.cox-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.cox-settings-grid article {
    display: grid;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    padding: 16px;
}

.cox-settings-grid span {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, .56);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cox-settings-grid strong {
    color: #fff;
    line-height: 1.35;
}

.cox-settings-grid small {
    color: rgba(255, 255, 255, .56);
    line-height: 1.35;
}

.cox-settings-grid button,
.cox-settings-grid a {
    width: fit-content;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(237, 28, 36, .36);
    border-radius: 8px;
    background: rgba(237, 28, 36, .12);
    color: #ed1c24;
    font-size: 13px;
    font-weight: 900;
    padding: 0 12px;
    text-decoration: none;
}

.cox-dashboard-help {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, .68);
    line-height: 1.55;
}

.cox-program-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cox-program-admin-grid article {
    min-width: 0;
    display: grid;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025)),
        rgba(8, 10, 15, .66);
    box-shadow: 0 20px 54px rgba(0, 0, 0, .24);
    backdrop-filter: blur(14px);
    padding: 16px;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cox-program-admin-grid article:hover {
    border-color: rgba(237, 28, 36, .32);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, .32),
        0 0 34px rgba(237, 28, 36, .09);
    transform: translateY(-2px);
}

.cox-program-admin-head {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
}

.cox-program-admin-head > .dashicons {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(237, 28, 36, .28);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, rgba(237, 28, 36, .38), rgba(237, 28, 36, .16) 46%, rgba(255, 255, 255, .035) 100%);
    color: #ed1c24;
    font-size: 20px;
    box-shadow: 0 0 24px rgba(237, 28, 36, .14);
}

.cox-program-admin-head strong {
    display: block;
    color: #fff;
    font-size: 18px;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.cox-program-admin-head small {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, .5);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 11px;
    overflow-wrap: anywhere;
}

.cox-program-admin-head em {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    padding: 0 10px;
}

.cox-program-admin-head em.is-active {
    border: 1px solid rgba(70, 220, 150, .36);
    background: rgba(70, 220, 150, .12);
    color: #b7f7d6;
}

.cox-program-admin-head em.is-inactive {
    border: 1px solid rgba(255, 193, 7, .36);
    background: rgba(255, 193, 7, .12);
    color: #ffe6a1;
}

.cox-program-admin-grid p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    line-height: 1.5;
}

.cox-program-admin-meta,
.cox-program-admin-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cox-program-admin-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .045);
    color: rgba(255, 255, 255, .76);
    font-size: 12px;
    font-weight: 900;
    padding: 0 10px;
}

.cox-program-admin-prices strong {
    min-width: 132px;
    display: grid;
    gap: 2px;
    border: 1px solid rgba(237, 28, 36, .22);
    border-radius: 8px;
    background: rgba(237, 28, 36, .08);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    padding: 11px 12px;
}

.cox-program-admin-prices small {
    color: rgba(255, 255, 255, .56);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cox-guide-hero {
    margin-bottom: 16px;
    background:
        linear-gradient(135deg, rgba(237, 28, 36, .13), rgba(255, 255, 255, .035)),
        rgba(8, 10, 15, .72);
}

.cox-guide-hero p {
    max-width: 920px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 16px;
    line-height: 1.65;
}

.cox-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.cox-guide-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025)),
        rgba(8, 10, 15, .68);
    box-shadow: 0 20px 54px rgba(0, 0, 0, .24);
    backdrop-filter: blur(14px);
    padding: 16px;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cox-guide-card:hover {
    border-color: rgba(237, 28, 36, .32);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, .32),
        0 0 34px rgba(237, 28, 36, .09);
    transform: translateY(-2px);
}

.cox-guide-card > .dashicons,
.cox-guide-signature > .dashicons {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(237, 28, 36, .28);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, rgba(237, 28, 36, .38), rgba(237, 28, 36, .16) 46%, rgba(255, 255, 255, .035) 100%);
    color: #ed1c24;
    font-size: 20px;
    box-shadow: 0 0 24px rgba(237, 28, 36, .14);
}

.cox-guide-card h3 {
    margin: 0 0 7px;
    color: #fff;
    font-family: var(--cox-font-heading);
    font-size: 24px;
    line-height: 1;
}

.cox-guide-card p {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, .68);
    line-height: 1.5;
}

.cox-guide-card ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cox-guide-card li {
    position: relative;
    padding-left: 17px;
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
    line-height: 1.45;
}

.cox-guide-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ed1c24;
    box-shadow: 0 0 12px rgba(237, 28, 36, .45);
}

.cox-guide-flow {
    display: grid;
    grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
    gap: 18px;
    align-items: start;
    margin-bottom: 16px;
}

.cox-guide-flow span,
.cox-guide-signature strong {
    color: rgba(255, 255, 255, .58);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cox-guide-flow h2 {
    margin: 7px 0 10px;
    color: #fff;
    font-family: var(--cox-font-heading);
    font-size: clamp(30px, 4vw, 46px);
    line-height: .95;
}

.cox-guide-flow p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    line-height: 1.55;
}

.cox-guide-flow ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cox-guide-flow li {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    padding: 10px 12px;
}

.cox-guide-flow li strong {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(237, 28, 36, .16);
    color: #ed1c24;
    font-family: var(--cox-font-heading);
    font-size: 16px;
}

.cox-guide-flow li span {
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    letter-spacing: 0;
    line-height: 1.35;
    text-transform: none;
}

.cox-guide-signature {
    display: flex;
    align-items: center;
    gap: 14px;
    background:
        linear-gradient(135deg, rgba(237, 28, 36, .15), rgba(255, 255, 255, .035)),
        rgba(8, 10, 15, .76);
}

.cox-guide-signature strong {
    display: block;
    color: #fff;
    font-size: 14px;
    letter-spacing: .08em;
}

.cox-guide-signature p {
    margin: 5px 0 0;
    color: #ed1c24;
    font-weight: 900;
}

.cox-dashboard-button {
    width: fit-content;
    background: linear-gradient(135deg, #ed1c24, #c9001b);
    color: #fff !important;
    padding: 0 16px;
}

.cox-muted {
    color: rgba(255, 255, 255, .54);
}

.cox-dashboard-login,
.cox-dashboard-lock {
    display: grid;
    place-items: center;
}

.cox-login-card,
.cox-dashboard-lock > div {
    width: min(100%, 460px);
    padding: 30px;
}

.cox-login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.cox-login-brand > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background: #000;
    box-shadow: 0 14px 34px rgba(237, 28, 36, .22);
}

.cox-login-card p {
    margin: 0 0 10px;
    color: #ed1c24;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.cox-login-brand p {
    margin: 0;
}

.cox-login-card h1,
.cox-dashboard-lock h1 {
    margin: 0 0 22px;
    color: #fff;
    font-family: var(--cox-font-heading);
    font-size: 40px;
    line-height: 1;
}

.cox-login-card label {
    color: rgba(255, 255, 255, .82);
    font-weight: 800;
}

.cox-login-card input[type="text"],
.cox-login-card input[type="password"] {
    width: 100%;
    margin-top: 7px;
    padding: 0 12px;
}

.cox-login-card input[type="submit"] {
    width: 100%;
    min-height: 48px;
    margin-top: 8px;
}

.cox-dashboard-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 22px;
}

.cox-dashboard-modal[hidden] {
    display: none !important;
}

.cox-dashboard-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(12px);
}

.cox-dashboard-modal-panel {
    position: relative;
    width: min(100%, 1040px);
    max-height: min(86vh, 860px);
    overflow: auto;
    scrollbar-gutter: stable;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)),
        rgba(8, 10, 15, .88);
    box-shadow: 0 28px 90px rgba(0, 0, 0, .55);
    padding: clamp(20px, 3vw, 30px);
}

.cox-dashboard-modal-panel::-webkit-scrollbar {
    width: 8px;
}

.cox-dashboard-modal-panel::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(237, 28, 36, .42);
}

.cox-dashboard-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    cursor: pointer;
    padding: 0;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cox-dashboard-modal-close .dashicons {
    width: 22px;
    height: 22px;
    font-size: 22px;
    line-height: 22px;
}

.cox-dashboard-modal-close:hover {
    border-color: rgba(237, 28, 36, .7);
    background: linear-gradient(135deg, #ed1c24, #a80016);
    color: #fff;
    transform: rotate(90deg);
    box-shadow: 0 12px 32px rgba(237, 28, 36, .26);
}

.cox-dashboard-modal-panel > p {
    margin: 0 0 8px;
    color: #ed1c24;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.cox-dashboard-modal-panel h2 {
    margin: 0 48px 20px 0;
    color: #fff;
    font-family: var(--cox-font-heading);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1;
}

.cox-dashboard-modal-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cox-modal-editor {
    grid-column: 1 / -1;
    display: grid;
    gap: 14px;
}

.cox-modal-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: rgba(255, 255, 255, .035);
    padding: 8px;
}

.cox-modal-tab {
    min-height: 38px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: rgba(255, 255, 255, .68);
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    padding: 0 13px;
}

.cox-modal-tab:hover,
.cox-modal-tab.is-active {
    border-color: rgba(237, 28, 36, .42);
    background: rgba(237, 28, 36, .16);
    color: #fff;
    box-shadow: 0 10px 26px rgba(237, 28, 36, .14);
}

.cox-modal-panels,
.cox-modal-panel {
    min-width: 0;
}

.cox-modal-panel {
    display: grid;
    gap: 14px;
}

.cox-modal-panel[hidden] {
    display: none !important;
}

.cox-modal-panel-head {
    display: grid;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(237, 28, 36, .12), rgba(255, 255, 255, .03)),
        rgba(8, 10, 15, .62);
    padding: 14px;
}

.cox-modal-panel-head h3 {
    margin: 0;
    color: #fff;
    font-family: var(--cox-font-heading);
    font-size: 25px;
    line-height: 1;
}

.cox-modal-panel-head p {
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.cox-modal-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cox-modal-field {
    min-width: 0;
    display: grid;
    gap: 8px;
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    font-weight: 900;
}

.cox-modal-field-full {
    grid-column: 1 / -1;
}

.cox-modal-field input,
.cox-modal-field select,
.cox-modal-field textarea {
    min-width: 0;
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    outline: 0;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font: 600 14px var(--cox-font-body);
    padding: 10px 12px;
}

.cox-modal-field textarea {
    resize: vertical;
}

.cox-access-choice {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px 10px;
    align-items: center;
    border: 1px solid rgba(237, 28, 36, .28);
    border-radius: 12px;
    background: rgba(237, 28, 36, .1);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    padding: 13px 14px;
}

.cox-access-choice input {
    width: 18px;
    height: 18px;
    accent-color: #ed1c24;
}

.cox-access-choice small {
    grid-column: 2;
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.cox-access-choice-inline {
    margin-top: 2px;
}

.cox-access-panel {
    grid-column: 1 / -1;
    display: grid;
    gap: 14px;
}

.cox-access-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.cox-access-summary article {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    background: rgba(255, 255, 255, .045);
    padding: 13px;
}

.cox-access-summary span {
    display: block;
    color: rgba(255, 255, 255, .54);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cox-access-summary strong {
    display: block;
    margin-top: 7px;
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.cox-access-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.cox-modal-field small,
.cox-modal-loading {
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.cox-detail-grid,
.cox-student-file {
    grid-column: 1 / -1;
}

.cox-student-file {
    display: grid;
    gap: 16px;
}

.cox-file-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(237, 28, 36, .18), rgba(255, 255, 255, .04)),
        rgba(5, 7, 11, .72);
    box-shadow:
        0 22px 62px rgba(0, 0, 0, .3),
        inset 0 1px 0 rgba(255, 255, 255, .08);
    padding: clamp(16px, 2vw, 22px);
}

.cox-file-mark {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    background:
        radial-gradient(circle at 34% 24%, rgba(255, 255, 255, .22), transparent 32%),
        linear-gradient(135deg, #ed1c24, #94000f);
    color: #fff;
    font-family: var(--cox-font-heading);
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 18px 38px rgba(237, 28, 36, .28);
}

.cox-file-hero-body {
    min-width: 0;
}

.cox-file-hero-body > span,
.cox-file-section-head span {
    display: block;
    color: #ed1c24;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.cox-file-hero-body > strong {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-family: var(--cox-font-heading);
    font-size: clamp(28px, 4vw, 42px);
    line-height: .95;
}

.cox-file-hero-body p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .66);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.cox-file-stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 10px;
}

.cox-file-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.cox-file-action {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(237, 28, 36, .38);
    border-radius: 999px;
    background: rgba(237, 28, 36, .12);
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    padding: 0 14px;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
    white-space: nowrap;
}

.cox-file-action:hover {
    border-color: rgba(255, 255, 255, .3);
    background: linear-gradient(135deg, #ed1c24, #a80016);
    box-shadow: 0 12px 30px rgba(237, 28, 36, .24);
    transform: translateY(-1px);
}

.cox-file-action:disabled,
.cox-file-action:disabled:hover {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .06);
    box-shadow: none;
    cursor: not-allowed;
    opacity: .64;
    transform: none;
}

.cox-file-action .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
    line-height: 16px;
}

.cox-file-stats article {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    background: rgba(0, 0, 0, .22);
    padding: 12px;
}

.cox-file-stats span,
.cox-file-item span {
    display: block;
    color: rgba(255, 255, 255, .54);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cox-file-stats strong {
    display: block;
    margin-top: 6px;
    color: #fff;
    font-size: 15px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.cox-file-section {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)),
        rgba(8, 10, 15, .68);
    padding: clamp(14px, 2vw, 18px);
}

.cox-file-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.cox-file-section-head h3 {
    margin: 4px 0 0;
    color: #fff;
    font-family: var(--cox-font-heading);
    font-size: 25px;
    line-height: 1;
}

.cox-file-grid,
.cox-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cox-detail-grid article,
.cox-file-item {
    min-height: 86px;
    display: grid;
    align-content: start;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    padding: 13px;
}

.cox-detail-grid article.is-wide,
.cox-file-item.is-wide {
    grid-column: 1 / -1;
}

.cox-detail-grid span {
    color: rgba(255, 255, 255, .54);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cox-detail-grid strong {
    color: #fff;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.cox-file-item strong {
    color: #fff;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.cox-status-confirm {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(237, 28, 36, .26);
    border-radius: 10px;
    background: rgba(237, 28, 36, .1);
    padding: 14px;
}

.cox-status-confirm strong,
.cox-status-confirm small {
    display: block;
}

.cox-status-confirm strong {
    color: #fff;
    font-size: 18px;
}

.cox-status-confirm small {
    margin-top: 4px;
    color: #ed1c24;
    font-weight: 900;
}

.cox-status-confirm + p {
    grid-column: 1 / -1;
    margin: 0;
    color: rgba(255, 255, 255, .7);
    line-height: 1.55;
}

.cox-crud-editor {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    background: rgba(255, 255, 255, .035);
    padding: 14px;
}

.cox-crud-head,
.cox-crud-row {
    display: grid;
    gap: 10px;
    align-items: center;
}

.cox-crud-head {
    color: rgba(255, 255, 255, .54);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cox-crud-head-ambassadors,
.cox-crud-row-ambassador {
    grid-template-columns: 100px minmax(0, 1fr) 92px;
}

.cox-crud-head-coupons,
.cox-crud-row-coupon {
    grid-template-columns: minmax(150px, 1.1fr) 88px minmax(150px, 1fr) 120px 92px;
}

.cox-crud-head-programs,
.cox-crud-row-program {
    grid-template-columns: minmax(130px, .75fr) minmax(180px, 1.1fr) minmax(150px, .85fr) minmax(120px, .7fr) minmax(150px, .85fr) minmax(180px, 1fr) 92px;
    align-items: stretch;
}

.cox-crud-rows {
    display: grid;
    gap: 10px;
}

.cox-crud-row {
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    background: rgba(0, 0, 0, .2);
    padding: 10px;
}

.cox-crud-stack {
    display: grid;
    gap: 8px;
}

.cox-crud-row input,
.cox-crud-row select,
.cox-crud-row textarea {
    width: 100%;
    min-height: 40px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font: 700 13px var(--cox-font-body);
    padding: 8px 10px;
}

.cox-crud-row textarea {
    min-height: 96px;
    resize: vertical;
}

.cox-crud-row button,
.cox-crud-add {
    min-height: 40px;
    border: 1px solid rgba(237, 28, 36, .36);
    border-radius: 8px;
    background: rgba(237, 28, 36, .12);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    padding: 0 12px;
}

.cox-crud-add {
    width: fit-content;
}

.cox-dashboard-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.cox-dashboard-modal-cancel,
.cox-dashboard-modal-save {
    min-height: 44px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 900;
    padding: 0 16px;
}

.cox-dashboard-modal-cancel {
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .82);
}

.cox-dashboard-modal-save {
    border: 0;
    background: linear-gradient(135deg, #ed1c24, #c9001b);
    color: #fff;
    box-shadow: 0 14px 32px rgba(237, 28, 36, .24);
}

.cox-dashboard-modal-save:disabled,
.cox-status-form button:disabled {
    cursor: wait;
    opacity: .65;
}

.cox-dashboard select option {
    background: #10131a;
    color: #fff;
}

@media (max-width: 960px) {
    .cox-table-wrap {
        max-height: none;
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .cox-dashboard-table {
        min-width: 0;
        display: block;
    }

    .cox-dashboard-table thead {
        display: none;
    }

    .cox-dashboard-table tbody {
        display: grid;
        gap: 12px;
    }

    .cox-dashboard-table tr {
        display: grid;
        gap: 12px;
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 12px;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)),
            rgba(8, 10, 15, .74);
        box-shadow: 0 18px 42px rgba(0, 0, 0, .22);
        padding: 14px;
    }

    .cox-dashboard-table td {
        width: 100% !important;
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        border-bottom: 0;
        padding: 0;
    }

    .cox-dashboard-table td::before {
        content: attr(data-label);
        color: rgba(255, 255, 255, .54);
        font-size: 10px;
        font-weight: 900;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

    .cox-status-form {
        margin-top: 10px;
    }

    .cox-status-form select {
        width: 100%;
    }

    .cox-table-actions {
        justify-content: flex-start;
    }

    .cox-guide-flow {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1060px) {
    .cox-dashboard-app {
        grid-template-columns: 1fr;
    }

    .cox-dashboard-sidebar {
        position: sticky;
        top: 10px;
        min-height: 0;
        height: auto;
        max-height: none;
        overflow: visible;
        z-index: 20;
    }

    .cox-dashboard-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .cox-dashboard-nav a {
        justify-content: center;
    }

    .cox-dashboard-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cox-dashboard-layout {
        grid-template-columns: 1fr;
    }

    .cox-overview-support {
        grid-template-columns: 1fr;
    }

    .cox-recent-list article {
        grid-template-columns: minmax(0, 1fr) minmax(170px, auto);
    }

    .cox-recent-route,
    .cox-recent-list .cox-table-actions {
        grid-column: 1 / -1;
    }

    .cox-recent-list .cox-table-actions {
        justify-content: flex-start;
    }

    .cox-table-tools {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cox-access-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cox-guide-grid {
        grid-template-columns: 1fr;
    }

    .cox-crud-head {
        display: none;
    }

    .cox-crud-row-ambassador,
    .cox-crud-row-coupon,
    .cox-crud-row-program {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .cox-dashboard {
        padding: 20px 12px;
    }

    .cox-dashboard-header,
    .cox-dashboard-generation,
    .cox-dashboard-generation-hero {
        align-items: flex-start;
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .cox-dashboard-header-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .cox-dashboard-header-button {
        flex: 1 1 180px;
    }

    .cox-dashboard-cards {
        grid-template-columns: 1fr;
    }

    .cox-dashboard-nav,
    .cox-settings-grid,
    .cox-ambassador-grid,
    .cox-program-admin-grid,
    .cox-guide-grid {
        grid-template-columns: 1fr;
    }

    .cox-guide-card {
        grid-template-columns: 1fr;
    }

    .cox-guide-card > .dashicons,
    .cox-guide-signature > .dashicons {
        width: 40px;
        height: 40px;
    }

    .cox-guide-flow li {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .cox-guide-signature {
        align-items: flex-start;
    }

    .cox-table-tools {
        grid-template-columns: 1fr;
    }

    .cox-recent-list article {
        grid-template-columns: 1fr;
    }

    .cox-recent-meta,
    .cox-recent-list .cox-table-actions {
        justify-content: flex-start;
    }

    .cox-table-wrap {
        max-height: none;
    }

    .cox-dashboard-modal {
        padding: 12px;
    }

    .cox-dashboard-modal-fields {
        grid-template-columns: 1fr;
    }

    .cox-file-hero,
    .cox-file-grid,
    .cox-file-stats,
    .cox-detail-grid,
    .cox-modal-panel-grid,
    .cox-access-summary {
        grid-template-columns: 1fr;
    }

    .cox-file-actions {
        justify-content: flex-start;
    }

    .cox-file-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .cox-dashboard-modal-actions {
        flex-direction: column-reverse;
    }

    .cox-dashboard-modal-cancel,
    .cox-dashboard-modal-save {
        width: 100%;
    }
}
