/* ============================================================
   ModernFirstPage – Global AVideo Theme Override
   Palette: Ocean Night (Blue/Teal)
     #19b6dc  accent cyan
     #0b2a67  accent deep blue
     #04183c  deep navy background
   ============================================================ */

:root {
    --mfp-bg-deep:      #02143a;
    --mfp-bg-card:      #072044;
    --mfp-bg-raised:    #0a2c5a;
    --mfp-accent:       #19b6dc;
    --mfp-accent-hot:   #0b2a67;
    --mfp-accent-glow:  #37d9ad;
    --mfp-text:         #ede8f5;
    --mfp-text-muted:   #a899b8;
    --mfp-glass:        rgba(25, 182, 220, 0.07);
    --mfp-glass-border: rgba(255, 255, 255, 0.08);
    --mfp-glow-sm:      rgba(25, 182, 220, 0.22);
    --mfp-glow-md:      rgba(25, 182, 220, 0.42);

    /* VideoJS skin bridge */
    --estv-accent:      #19b6dc;
    --estv-accent-glow: #37d9ad;
    --estv-purple:      #0a2e5a;
    --estv-bg:          rgba(4, 24, 60, 0.94);
    --estv-glass:       rgba(25, 182, 220, 0.07);
    --estv-text:        #ede8f5;
    --estv-muted:       #a899b8;
}

/* ============================================================
   GLOBAL BODY — fixed gradient
   ============================================================ */
html {
    min-height: 100%;
    background: linear-gradient(to bottom, #0b2a67, #04183c) !important;
    background-attachment: fixed !important;
}
body {
    background: transparent !important;
    color: var(--mfp-text) !important;
}
#mainContainer,
#content,
.container-fluid,
.principalContainer {
    background: transparent !important;
}

/* ============================================================
   PLAY BUTTONS / VIDEO ACTIONS
   ============================================================ */
.mfp-play-btn,
.mfp-yt-play-btn {
    background: linear-gradient(135deg, #0b2a67, #19b6dc) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 0 0 8px rgba(25, 182, 220, 0.18), 0 0 40px rgba(25, 182, 220, 0.42) !important;
}
.mfp-thumb-play i,
.mfp-category-play i {
    background: linear-gradient(135deg, #0b2a67, #19b6dc) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 0 24px rgba(25, 182, 220, 0.45) !important;
}
.mfp-category-hero-card-play {
    background: linear-gradient(135deg, #0b2a67, #19b6dc) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 0 18px rgba(25, 182, 220, 0.45) !important;
}
.mfp-play-btn:hover,
.mfp-yt-play-btn:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 0 0 12px rgba(25, 182, 220, 0.22), 0 0 56px rgba(25, 182, 220, 0.52) !important;
}
.mfp-thumb:hover .mfp-thumb-play i,
.mfp-category-thumb:hover .mfp-category-play i {
    transform: scale(1.1) !important;
    box-shadow: 0 0 32px rgba(25, 182, 220, 0.55) !important;
}
.mfp-play-btn, .mfp-yt-play-btn,
.mfp-thumb-play i, .mfp-category-play i {
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNavBar,
.navbar,
.navbar-default {
    background: rgba(2, 16, 45, 0.96) !important;
    border-bottom: 1px solid rgba(25, 182, 220, 0.2) !important;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5) !important;
}
#mainNavBar .navbar-brand,
.navbar-default .navbar-brand {
    color: var(--mfp-text) !important;
    font-weight: 700;
}
#mainNavBar .navbar-brand:hover,
.navbar-default .navbar-brand:hover {
    color: #fff !important;
}
.navbar-default .navbar-nav > li > a,
#mainNavBar .navbar-nav > li > a {
    color: var(--mfp-text-muted) !important;
    transition: color 0.2s, background 0.2s;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
#mainNavBar .navbar-nav > li > a:hover,
#mainNavBar .navbar-nav > li > a:focus {
    color: var(--mfp-text) !important;
    background: var(--mfp-glass) !important;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: var(--mfp-accent-glow) !important;
    background: rgba(25, 182, 220, 0.12) !important;
}
.navbar-default .navbar-toggle {
    border-color: var(--mfp-glass-border) !important;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background: var(--mfp-glass) !important;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: var(--mfp-text-muted) !important;
}
/* Navbar search inputs */
#mainNavBar .form-control,
#mainNavBar input[type="search"],
#mainNavBar input[type="text"] {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid var(--mfp-glass-border) !important;
    color: var(--mfp-text) !important;
    border-radius: 20px !important;
}
#mainNavBar .form-control::placeholder {
    color: var(--mfp-text-muted) !important;
}
#mainNavBar .form-control:focus {
    background: rgba(255, 255, 255, 0.10) !important;
    border-color: rgba(25, 182, 220, 0.6) !important;
    box-shadow: 0 0 0 2px rgba(25, 182, 220, 0.22) !important;
    outline: none !important;
}
/* Navbar dropdown */
.navbar-default .dropdown-menu,
#mainNavBar .dropdown-menu {
    background: rgba(22, 15, 36, 0.98) !important;
    border: 1px solid var(--mfp-glass-border) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7) !important;
}
.navbar-default .dropdown-menu > li > a,
#mainNavBar .dropdown-menu > li > a {
    color: var(--mfp-text-muted) !important;
}
.navbar-default .dropdown-menu > li > a:hover,
#mainNavBar .dropdown-menu > li > a:hover {
    background: var(--mfp-glass) !important;
    color: var(--mfp-text) !important;
}
.navbar-default .dropdown-menu > .divider,
#mainNavBar .dropdown-menu > .divider {
    background: var(--mfp-glass-border) !important;
}
/* Go Live button — keep white text */
#GoLiveButton,
#GoLiveButton:hover,
#GoLiveButton:focus {
    color: #ffffff !important;
}
#GoLiveButton i,
#GoLiveButton span {
    color: #ffffff !important;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
#sidebar {
    background: rgba(12, 8, 20, 0.97) !important;
    border-right: 1px solid rgba(25, 182, 220, 0.16) !important;
}
#sideBarContainer {
    background: transparent !important;
}
#sideBarContainer .nav > li > a {
    color: var(--mfp-text-muted) !important;
    background: transparent !important;
    border-radius: 10px !important;
    margin: 4px 10px !important;
    padding: 11px 16px !important;
    transition: background 0.2s ease, color 0.2s ease !important;
}
#sideBarContainer .nav > li > a:hover,
#sideBarContainer .nav > li > a:focus {
    background: rgba(25, 182, 220, 0.12) !important;
    color: var(--mfp-text) !important;
}
#sideBarContainer .nav > li.active > a,
#sideBarContainer .nav > li.active > a:hover {
    background: rgba(25, 182, 220, 0.20) !important;
    color: var(--mfp-text) !important;
    border-left: 3px solid rgba(25, 182, 220, 0.65) !important;
}
#sideBarContainer .nav > li > a i,
#sideBarContainer .nav > li > a span {
    color: inherit !important;
}
#sideBarContainer::-webkit-scrollbar { width: 5px; }
#sideBarContainer::-webkit-scrollbar-track { background: transparent; }
#sideBarContainer::-webkit-scrollbar-thumb { background: rgba(25, 182, 220, 0.3); border-radius: 3px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: rgba(2, 16, 45, 0.94) !important;
    border-top: 1px solid var(--mfp-glass-border) !important;
    color: var(--mfp-text-muted) !important;
}
footer a { color: var(--mfp-text-muted) !important; }
footer a:hover { color: var(--mfp-accent-glow) !important; }
footer .btn-outline {
    color: var(--mfp-text-muted) !important;
    border-color: var(--mfp-glass-border) !important;
    background: transparent !important;
}
footer .btn-outline:hover {
    color: var(--mfp-text) !important;
    border-color: rgba(25, 182, 220, 0.5) !important;
    background: rgba(25, 182, 220, 0.12) !important;
}

/* ============================================================
   PANELS / CARDS
   ============================================================ */
.panel {
    background: rgba(7, 33, 70, 0.88) !important;
    border: 1px solid var(--mfp-glass-border) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45) !important;
    color: var(--mfp-text) !important;
    border-radius: 14px !important;
}
.panel-heading {
    background: rgba(9, 40, 82, 0.9) !important;
    border-bottom: 1px solid var(--mfp-glass-border) !important;
    color: var(--mfp-text) !important;
    border-radius: 14px 14px 0 0 !important;
}
.panel-footer {
    background: rgba(9, 40, 82, 0.9) !important;
    border-top: 1px solid var(--mfp-glass-border) !important;
    color: var(--mfp-text-muted) !important;
    border-radius: 0 0 14px 14px !important;
}
.panel-body { color: var(--mfp-text) !important; }
.panel-title { color: var(--mfp-text) !important; }

/* Colored panels — flatten to our palette */
.panel-default { border-color: var(--mfp-glass-border) !important; }
.panel-default > .panel-heading { color: var(--mfp-text) !important; }
.panel-primary { border-color: rgba(25, 182, 220, 0.4) !important; }
.panel-primary > .panel-heading {
    background: rgba(25, 182, 220, 0.18) !important;
    border-color: rgba(25, 182, 220, 0.3) !important;
    color: var(--mfp-text) !important;
}
.panel-success > .panel-heading {
    background: rgba(46, 182, 125, 0.14) !important;
    border-color: rgba(46, 182, 125, 0.28) !important;
    color: #86ddb8 !important;
}
.panel-info > .panel-heading {
    background: rgba(91, 192, 222, 0.12) !important;
    border-color: rgba(91, 192, 222, 0.28) !important;
    color: #a8dff0 !important;
}
.panel-warning > .panel-heading {
    background: rgba(236, 178, 46, 0.12) !important;
    border-color: rgba(236, 178, 46, 0.28) !important;
    color: #f5d98a !important;
}
.panel-danger > .panel-heading {
    background: rgba(217, 83, 79, 0.12) !important;
    border-color: rgba(217, 83, 79, 0.28) !important;
    color: #ff9a9a !important;
}

/* ============================================================
   TABLES
   ============================================================ */
.table { color: var(--mfp-text) !important; }
.table > thead > tr > th {
    border-bottom: 2px solid var(--mfp-glass-border) !important;
    color: var(--mfp-text-muted) !important;
    background: rgba(9, 40, 82, 0.7) !important;
    font-weight: 600;
    font-size: 0.82em;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.table > tbody > tr > td,
.table > tbody > tr > th {
    border-top: 1px solid var(--mfp-glass-border) !important;
    vertical-align: middle;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background: rgba(255, 255, 255, 0.025) !important;
}
.table-hover > tbody > tr:hover {
    background: rgba(25, 182, 220, 0.07) !important;
}
.table-bordered,
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > td {
    border-color: var(--mfp-glass-border) !important;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-control {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid var(--mfp-glass-border) !important;
    color: var(--mfp-text) !important;
    border-radius: 10px !important;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s !important;
}
.form-control:focus {
    background: rgba(255, 255, 255, 0.10) !important;
    border-color: rgba(25, 182, 220, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(25, 182, 220, 0.18) !important;
    color: var(--mfp-text) !important;
    outline: none !important;
}
.form-control::placeholder {
    color: var(--mfp-text-muted) !important;
    opacity: 1;
}
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
    background: rgba(255, 255, 255, 0.03) !important;
    color: var(--mfp-text-muted) !important;
    cursor: not-allowed;
}
select.form-control option {
    background: var(--mfp-bg-card);
    color: var(--mfp-text);
}
label {
    color: var(--mfp-text-muted) !important;
    font-weight: 500;
}
.form-group { margin-bottom: 18px; }
.control-label { color: var(--mfp-text-muted) !important; }
.help-block { color: var(--mfp-text-muted) !important; font-size: 0.82em; }

/* Input groups */
.input-group-addon {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid var(--mfp-glass-border) !important;
    color: var(--mfp-text-muted) !important;
}
.input-group .form-control:first-child,
.input-group-addon:first-child {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.input-group .form-control:last-child,
.input-group-addon:last-child {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}
.input-group-btn .btn {
    border-radius: 0 10px 10px 0 !important;
}

/* Validation states */
.has-error .form-control {
    border-color: rgba(224, 42, 42, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(224, 42, 42, 0.14) !important;
}
.has-error label,
.has-error .help-block,
.has-error .control-label {
    color: #ff9a9a !important;
}
.has-success .form-control {
    border-color: rgba(46, 182, 125, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(46, 182, 125, 0.14) !important;
}
.has-success label,
.has-success .help-block,
.has-success .control-label {
    color: #86ddb8 !important;
}
.has-warning .form-control {
    border-color: rgba(236, 178, 46, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(236, 178, 46, 0.14) !important;
}
.has-warning label,
.has-warning .help-block,
.has-warning .control-label {
    color: #f5d98a !important;
}

/* Checkbox & radio — style the native elements */
input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--mfp-accent);
}

/* Bootstrap toggle overrides */
.toggle.btn {
    border-color: var(--mfp-glass-border) !important;
    background: rgba(255, 255, 255, 0.06) !important;
}
.toggle.btn-primary,
.toggle.btn-primary .toggle-group .btn-primary {
    border-color: rgba(25, 182, 220, 0.5) !important;
}
.toggle-on.btn-primary {
    background: linear-gradient(135deg, #1a6f90, #19b6dc) !important;
    border-color: rgba(25, 182, 220, 0.5) !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    border-radius: 10px !important;
    font-weight: 500;
    transition: background 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.15s !important;
}
.btn-default {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid var(--mfp-glass-border) !important;
    color: var(--mfp-text) !important;
}
.btn-default:hover,
.btn-default:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(25, 182, 220, 0.45) !important;
    color: var(--mfp-text) !important;
}
.btn-primary {
    background: linear-gradient(135deg, #1a6f90 0%, #19b6dc 100%) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600 !important;
}
.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #1d657d 0%, #43d69f 100%) !important;
    box-shadow: 0 0 18px rgba(25, 182, 220, 0.45) !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
}
.btn-success {
    background: linear-gradient(135deg, #1e7a4a, #2eb67d) !important;
    border: none !important;
    color: #fff !important;
}
.btn-success:hover,
.btn-success:focus {
    background: linear-gradient(135deg, #257d4e, #36d98a) !important;
    box-shadow: 0 0 16px rgba(46, 182, 125, 0.45) !important;
    color: #fff !important;
}
.btn-danger {
    background: linear-gradient(135deg, #7e1e1e, #c62323) !important;
    border: none !important;
    color: #fff !important;
}
.btn-danger:hover,
.btn-danger:focus {
    background: linear-gradient(135deg, #9a2525, #e02828) !important;
    box-shadow: 0 0 16px rgba(198, 35, 35, 0.45) !important;
    color: #fff !important;
}
.btn-warning {
    background: linear-gradient(135deg, #7a5200, #d48a00) !important;
    border: none !important;
    color: #fff !important;
}
.btn-warning:hover,
.btn-warning:focus {
    background: linear-gradient(135deg, #8a5e00, #e89a10) !important;
    box-shadow: 0 0 16px rgba(212, 138, 0, 0.4) !important;
    color: #fff !important;
}
.btn-info {
    background: linear-gradient(135deg, #1a5a82, #2a92cc) !important;
    border: none !important;
    color: #fff !important;
}
.btn-info:hover,
.btn-info:focus {
    background: linear-gradient(135deg, #206a97, #3aa8e8) !important;
    box-shadow: 0 0 16px rgba(42, 146, 204, 0.4) !important;
    color: #fff !important;
}
.btn-link {
    color: var(--mfp-accent-glow) !important;
    background: none !important;
    border: none !important;
}
.btn-link:hover { color: var(--mfp-text) !important; }

/* Active / pressed state */
.btn:active,
.btn.active {
    transform: translateY(0) !important;
    box-shadow: none !important;
}

/* ============================================================
   DROPDOWNS
   ============================================================ */
.dropdown-menu {
    background: rgba(22, 15, 36, 0.98) !important;
    border: 1px solid var(--mfp-glass-border) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7) !important;
    border-radius: 10px !important;
}
.dropdown-menu > li > a {
    color: var(--mfp-text-muted) !important;
    padding: 8px 16px;
    transition: background 0.15s, color 0.15s;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    background: var(--mfp-glass) !important;
    color: var(--mfp-text) !important;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover {
    background: rgba(25, 182, 220, 0.22) !important;
    color: var(--mfp-text) !important;
}
.dropdown-menu > .disabled > a,
.dropdown-menu > .disabled > a:hover {
    color: rgba(168, 153, 184, 0.4) !important;
}
.dropdown-menu > .divider {
    background: var(--mfp-glass-border) !important;
    margin: 4px 0;
}
.dropdown-header {
    color: var(--mfp-text-muted) !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 8px 16px 4px;
}

/* ============================================================
   LIST GROUP
   ============================================================ */
.list-group-item {
    background: rgba(7, 33, 70, 0.82) !important;
    border-color: var(--mfp-glass-border) !important;
    color: var(--mfp-text) !important;
    transition: background 0.15s;
}
.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
    background: rgba(25, 182, 220, 0.22) !important;
    border-color: rgba(25, 182, 220, 0.4) !important;
    color: var(--mfp-text) !important;
}
a.list-group-item,
button.list-group-item {
    color: var(--mfp-text) !important;
}
a.list-group-item:hover,
button.list-group-item:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: var(--mfp-text) !important;
}

/* ============================================================
   MODALS
   ============================================================ */
.modal-content {
    background: rgba(6, 27, 60, 0.97) !important;
    border: 1px solid var(--mfp-glass-border) !important;
    color: var(--mfp-text) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85) !important;
    border-radius: 16px !important;
}
.modal-header {
    border-bottom: 1px solid var(--mfp-glass-border) !important;
    background: rgba(34, 24, 52, 0.9) !important;
    border-radius: 16px 16px 0 0 !important;
}
.modal-header .close {
    color: var(--mfp-text-muted) !important;
    opacity: 1 !important;
    text-shadow: none !important;
}
.modal-header .close:hover {
    color: var(--mfp-text) !important;
}
.modal-title { color: var(--mfp-text) !important; }
.modal-footer {
    border-top: 1px solid var(--mfp-glass-border) !important;
    background: rgba(34, 24, 52, 0.9) !important;
    border-radius: 0 0 16px 16px !important;
}
.modal-backdrop.in {
    opacity: 0.65 !important;
}

/* SweetAlert */
.swal-modal {
    background: rgba(6, 27, 60, 0.98) !important;
    border: 1px solid var(--mfp-glass-border) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85) !important;
    border-radius: 16px !important;
    color: var(--mfp-text) !important;
}
.swal-title,
.swal-text {
    color: var(--mfp-text) !important;
}
.swal-text { color: var(--mfp-text-muted) !important; }
.swal-footer { border-top: 1px solid var(--mfp-glass-border) !important; }
.swal-button {
    background: linear-gradient(135deg, #1a6f90, #19b6dc) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
}
.swal-button:hover {
    background: linear-gradient(135deg, #1d657d, #43d69f) !important;
}
.swal-button--cancel {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid var(--mfp-glass-border) !important;
    color: var(--mfp-text) !important;
}
.swal-button--cancel:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}
.swal-overlay {
    background: rgba(0, 0, 0, 0.65) !important;
}
.swal-overlay--show-modal {
    /* backdrop-filter eliminado: crea containing block para position:fixed hijos */
}
.swal-icon--success__ring { border-color: rgba(46, 182, 125, 0.4) !important; }
.swal-icon--success__line { background-color: #2eb67d !important; }
.swal-icon--error__line { background-color: #37d9ad !important; }
.swal-icon--warning__body,
.swal-icon--warning__dot { background-color: #d48a00 !important; }

/* ============================================================
   TABS
   ============================================================ */
.nav-tabs {
    border-bottom: 1px solid var(--mfp-glass-border) !important;
}
.nav-tabs > li > a {
    color: var(--mfp-text-muted) !important;
    border-color: transparent !important;
    background: transparent !important;
    border-radius: 10px 10px 0 0 !important;
    transition: color 0.15s, background 0.15s;
}
.nav-tabs > li > a:hover {
    color: var(--mfp-text) !important;
    border-color: var(--mfp-glass-border) var(--mfp-glass-border) transparent !important;
    background: rgba(255, 255, 255, 0.05) !important;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    background: rgba(9, 40, 82, 0.9) !important;
    border-color: var(--mfp-glass-border) var(--mfp-glass-border) transparent !important;
    color: var(--mfp-text) !important;
}
.tab-content {
    background: rgba(7, 33, 70, 0.72) !important;
    border: 1px solid var(--mfp-glass-border) !important;
    border-top: none !important;
    color: var(--mfp-text) !important;
    padding: 16px;
    border-radius: 0 0 10px 10px;
}
/* Tabbable line indicator */
.tabbable-line > .nav-tabs > li.active > a::after {
    background: var(--mfp-accent) !important;
}
.tabbable-line > .nav-tabs > li:hover > a::after {
    background: rgba(25, 182, 220, 0.5) !important;
}

/* Pills nav */
.nav-pills > li > a {
    color: var(--mfp-text-muted) !important;
    border-radius: 20px !important;
    transition: background 0.15s, color 0.15s;
}
.nav-pills > li > a:hover {
    background: var(--mfp-glass) !important;
    color: var(--mfp-text) !important;
}
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
    background: rgba(25, 182, 220, 0.22) !important;
    color: var(--mfp-text) !important;
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
    border-radius: 10px !important;
}
.alert-info {
    background: rgba(25, 182, 220, 0.12) !important;
    border-color: rgba(25, 182, 220, 0.32) !important;
    color: #8df1cf !important;
}
.alert-success {
    background: rgba(46, 182, 125, 0.10) !important;
    border-color: rgba(46, 182, 125, 0.28) !important;
    color: #86ddb8 !important;
}
.alert-warning {
    background: rgba(236, 178, 46, 0.10) !important;
    border-color: rgba(236, 178, 46, 0.28) !important;
    color: #f5d98a !important;
}
.alert-danger {
    background: rgba(224, 42, 42, 0.10) !important;
    border-color: rgba(224, 42, 42, 0.28) !important;
    color: #ff9a9a !important;
}

/* ============================================================
   BADGES & LABELS
   ============================================================ */
.badge {
    background: rgba(25, 182, 220, 0.75) !important;
    color: #fff !important;
    font-weight: 600;
}
.label {
    border-radius: 4px !important;
    font-weight: 500;
}
.label-default {
    background: rgba(255, 255, 255, 0.15) !important;
    color: var(--mfp-text) !important;
}
.label-primary {
    background: rgba(25, 182, 220, 0.70) !important;
    color: #fff !important;
}
.label-success {
    background: rgba(46, 182, 125, 0.65) !important;
    color: #fff !important;
}
.label-info {
    background: rgba(42, 146, 204, 0.65) !important;
    color: #fff !important;
}
.label-warning {
    background: rgba(212, 138, 0, 0.65) !important;
    color: #fff !important;
}
.label-danger {
    background: rgba(220, 53, 69, 0.70) !important;
    color: #fff !important;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination > li > a,
.pagination > li > span {
    background: rgba(7, 33, 70, 0.8) !important;
    border-color: var(--mfp-glass-border) !important;
    color: var(--mfp-text-muted) !important;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.pagination > li > a:hover,
.pagination > li > span:hover {
    background: rgba(25, 182, 220, 0.14) !important;
    border-color: rgba(25, 182, 220, 0.35) !important;
    color: var(--mfp-text) !important;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover {
    background: rgba(25, 182, 220, 0.75) !important;
    border-color: rgba(25, 182, 220, 0.6) !important;
    color: #fff !important;
}
.pagination > .disabled > a,
.pagination > .disabled > span {
    background: rgba(7, 33, 70, 0.4) !important;
    border-color: var(--mfp-glass-border) !important;
    color: rgba(168, 153, 184, 0.35) !important;
}

/* ============================================================
   PROGRESS BARS
   ============================================================ */
.progress {
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}
.progress-bar {
    background: linear-gradient(90deg, var(--mfp-accent-hot), var(--mfp-accent)) !important;
    box-shadow: none !important;
}
.progress-bar-success {
    background: linear-gradient(90deg, #1e7a4a, #2eb67d) !important;
}
.progress-bar-info {
    background: linear-gradient(90deg, #1a5a82, #2a92cc) !important;
}
.progress-bar-warning {
    background: linear-gradient(90deg, #7a5200, #d48a00) !important;
}
.progress-bar-danger {
    background: linear-gradient(90deg, #7e1e1e, #c62323) !important;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--mfp-glass-border) !important;
    border-radius: 10px !important;
}
.breadcrumb > li + li::before {
    color: var(--mfp-text-muted) !important;
}
.breadcrumb > .active {
    color: var(--mfp-text-muted) !important;
}
.breadcrumb > li > a {
    color: var(--mfp-accent-glow) !important;
}

/* ============================================================
   POPOVER / TOOLTIP
   ============================================================ */
.popover {
    background: rgba(6, 27, 60, 0.98) !important;
    border: 1px solid var(--mfp-glass-border) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
    border-radius: 10px !important;
}
.popover-title {
    background: rgba(9, 40, 82, 0.9) !important;
    color: var(--mfp-text) !important;
    border-bottom: 1px solid var(--mfp-glass-border) !important;
}
.popover-content {
    color: var(--mfp-text) !important;
}
.tooltip-inner {
    background: rgba(6, 27, 60, 0.95) !important;
    color: var(--mfp-text) !important;
    border: 1px solid var(--mfp-glass-border);
    border-radius: 6px !important;
}

/* ============================================================
   SELECT2
   ============================================================ */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid var(--mfp-glass-border) !important;
    color: var(--mfp-text) !important;
    border-radius: 10px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--mfp-text) !important;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--mfp-text-muted) !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-top-color: var(--mfp-text-muted) !important;
}
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: rgba(25, 182, 220, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(25, 182, 220, 0.16) !important;
}
.select2-dropdown {
    background: rgba(6, 27, 60, 0.98) !important;
    border: 1px solid rgba(25, 182, 220, 0.3) !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7) !important;
}
.select2-search__field {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid var(--mfp-glass-border) !important;
    color: var(--mfp-text) !important;
    border-radius: 6px !important;
    outline: none !important;
}
.select2-results__option {
    color: var(--mfp-text-muted) !important;
}
.select2-results__option--highlighted[aria-selected] {
    background: rgba(25, 182, 220, 0.22) !important;
    color: var(--mfp-text) !important;
}
.select2-results__option[aria-selected="true"] {
    background: rgba(25, 182, 220, 0.12) !important;
    color: var(--mfp-text) !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: rgba(25, 182, 220, 0.22) !important;
    border: 1px solid rgba(25, 182, 220, 0.4) !important;
    color: var(--mfp-text) !important;
    border-radius: 6px !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: rgba(25, 182, 220, 0.8) !important;
}

/* ============================================================
   DATATABLES
   ============================================================ */
table.dataTable {
    border-collapse: collapse !important;
}
table.dataTable thead th,
table.dataTable thead td {
    border-bottom: 2px solid var(--mfp-glass-border) !important;
    color: var(--mfp-text-muted) !important;
    background: rgba(9, 40, 82, 0.7) !important;
}
table.dataTable thead .sorting::after,
table.dataTable thead .sorting_asc::after,
table.dataTable thead .sorting_desc::after {
    opacity: 0.5;
}
table.dataTable.row-border tbody th,
table.dataTable.row-border tbody td,
table.dataTable.display tbody th,
table.dataTable.display tbody td {
    border-top: 1px solid var(--mfp-glass-border) !important;
}
table.dataTable.hover tbody tr:hover,
table.dataTable.display tbody tr:hover {
    background: rgba(25, 182, 220, 0.07) !important;
}
table.dataTable.stripe tbody tr.odd,
table.dataTable.display tbody tr.odd {
    background: rgba(255, 255, 255, 0.02) !important;
}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate {
    color: var(--mfp-text-muted) !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: var(--mfp-text-muted) !important;
    border-radius: 6px !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgba(25, 182, 220, 0.14) !important;
    color: var(--mfp-text) !important;
    border-color: rgba(25, 182, 220, 0.3) !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: rgba(25, 182, 220, 0.65) !important;
    color: #fff !important;
    border-color: rgba(25, 182, 220, 0.5) !important;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: rgba(2, 16, 45, 0.5); border-radius: 3px; }
::-webkit-scrollbar-thumb { background: rgba(25, 182, 220, 0.32); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(25, 182, 220, 0.55); }

/* ============================================================
   LINKS
   ============================================================ */
a { color: var(--mfp-accent-glow) !important; }
a:hover,
a:focus { color: var(--mfp-text) !important; }

/* ============================================================
   TEXT SELECTION
   ============================================================ */
::selection { background: rgba(25, 182, 220, 0.42); color: #fff; }

/* ============================================================
   2026 Ocean Night Theme Override
   ============================================================ */
:root {
    --mfp-bg-deep: #020a2a;
    --mfp-bg-card: #07234a;
    --mfp-bg-raised: #0c3470;
    --mfp-accent: #18bde2;
    --mfp-accent-hot: #0f5ea1;
    --mfp-accent-glow: #42e6b8;
    --mfp-text: #e7f4ff;
    --mfp-text-muted: #9ec2df;
    --mfp-glass: rgba(22, 143, 186, 0.12);
    --mfp-glass-border: rgba(164, 224, 255, 0.17);
}

html {
    min-height: 100%;
    background:
        linear-gradient(148deg, transparent 0%, transparent 14%, rgba(50, 221, 171, 0.28) 24%, transparent 34%, transparent 100%),
        linear-gradient(33deg, transparent 0%, transparent 66%, rgba(80, 228, 255, 0.26) 74%, transparent 84%, transparent 100%),
        linear-gradient(180deg, #013747 0%, #052842 20%, #022963 48%, #03165f 68%, #02083f 100%) !important;
    background-attachment: fixed !important;
}

body,
#mainContainer,
#content,
.container-fluid,
.principalContainer {
    background: transparent !important;
}

/* ============================================================
   2026 Neon Wallet Theme Override
   Dark charcoal UI with pink/purple glass accents.
   ============================================================ */
:root {
    --mfp-bg-deep: #242832;
    --mfp-bg-card: #2b303b;
    --mfp-bg-raised: #343946;
    --mfp-accent: #f33574;
    --mfp-accent-hot: #8357f3;
    --mfp-accent-glow: #f6a5cb;
    --mfp-text: #f8f5ff;
    --mfp-text-muted: #bbb7c9;
    --mfp-glass: rgba(255, 255, 255, 0.075);
    --mfp-glass-border: rgba(255, 255, 255, 0.12);
    --mfp-glow-sm: rgba(243, 53, 116, 0.25);
    --mfp-glow-md: rgba(131, 87, 243, 0.38);

    --estv-accent: #f33574;
    --estv-accent-glow: #8357f3;
    --estv-purple: #5e43d6;
    --estv-bg: rgba(36, 40, 50, 0.94);
    --estv-glass: rgba(255, 255, 255, 0.08);
    --estv-text: #f8f5ff;
    --estv-muted: #bbb7c9;
}

html {
    background:
        radial-gradient(circle at 18% 2%, rgba(131, 87, 243, 0.24) 0, transparent 34%),
        radial-gradient(circle at 92% 12%, rgba(243, 53, 116, 0.24) 0, transparent 32%),
        linear-gradient(180deg, #272b35 0%, #242832 44%, #20242d 100%) !important;
    background-attachment: fixed !important;
}

body,
#mainContainer,
#content,
.container-fluid,
.principalContainer {
    background: transparent !important;
}

#mainNavBar,
.navbar,
.navbar-default,
footer {
    background: rgba(37, 41, 51, 0.92) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 12px 36px rgba(8, 9, 14, 0.34) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

#sidebar {
    background: rgba(32, 36, 45, 0.96) !important;
    border-right-color: rgba(255, 255, 255, 0.08) !important;
}

.panel,
.list-group-item,
.modal-content,
.dropdown-menu {
    background: rgba(43, 48, 59, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.panel-heading,
.panel-footer,
.modal-header {
    background: rgba(52, 57, 70, 0.86) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.btn-primary,
.toggle-on.btn-primary,
.mfp-play-btn,
.mfp-yt-play-btn {
    background: linear-gradient(135deg, #8357f3 0%, #f33574 100%) !important;
    box-shadow: 0 12px 34px rgba(243, 53, 116, 0.25), 0 0 34px rgba(131, 87, 243, 0.2) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.mfp-play-btn:hover,
.mfp-yt-play-btn:hover {
    background: linear-gradient(135deg, #9767ff 0%, #ff4c86 100%) !important;
    box-shadow: 0 14px 42px rgba(243, 53, 116, 0.34), 0 0 44px rgba(131, 87, 243, 0.28) !important;
}

.form-control,
#mainNavBar .form-control,
#mainNavBar input[type="search"],
#mainNavBar input[type="text"] {
    background: rgba(255, 255, 255, 0.075) !important;
    border-color: rgba(255, 255, 255, 0.11) !important;
    border-radius: 18px !important;
}

.form-control:focus,
#mainNavBar .form-control:focus {
    border-color: rgba(243, 53, 116, 0.58) !important;
    box-shadow: 0 0 0 3px rgba(243, 53, 116, 0.17) !important;
}

::selection {
    background: rgba(243, 53, 116, 0.52);
    color: #fff;
}

/* ============================================================
   2026 Gray Glass + Lime Override
   ============================================================ */
:root {
    --mfp-bg-deep: #22252a;
    --mfp-bg-card: #30333a;
    --mfp-bg-raised: #3a3d45;
    --mfp-accent: #99f85b;
    --mfp-accent-hot: #7fe044;
    --mfp-accent-glow: #caff9d;
    --mfp-text: #f7f7f4;
    --mfp-text-muted: #bfc1c4;
    --mfp-glass: rgba(255, 255, 255, 0.07);
    --mfp-glass-border: rgba(255, 255, 255, 0.12);
    --mfp-glow-sm: rgba(153, 248, 91, 0.22);
    --mfp-glow-md: rgba(153, 248, 91, 0.34);

    --estv-accent: #99f85b;
    --estv-accent-glow: #caff9d;
    --estv-purple: #3a3d45;
    --estv-bg: rgba(25, 27, 31, 0.94);
    --estv-glass: rgba(255, 255, 255, 0.07);
    --estv-text: #f7f7f4;
    --estv-muted: #bfc1c4;
}

html {
    background: linear-gradient(180deg, #31343a 0%, #292c31 42%, #22252a 100%) !important;
    background-attachment: fixed !important;
}

body,
#mainContainer,
#content,
.container-fluid,
.principalContainer {
    background: transparent !important;
}

#mainNavBar,
.navbar,
.navbar-default,
nav {
    background: rgba(0, 0, 0, 0.74) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.46) !important;
    backdrop-filter: blur(18px) saturate(1.08);
    -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
.btn-link,
footer a:hover {
    color: #99f85b !important;
}

.btn-primary,
.toggle-on.btn-primary,
.mfp-play-btn,
.mfp-yt-play-btn {
    background: linear-gradient(135deg, #6fd73c 0%, #99f85b 100%) !important;
    color: #101214 !important;
    box-shadow: 0 12px 34px rgba(153, 248, 91, 0.22), 0 0 32px rgba(153, 248, 91, 0.18) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.mfp-play-btn:hover,
.mfp-yt-play-btn:hover {
    background: linear-gradient(135deg, #7fe044 0%, #b4ff7e 100%) !important;
    color: #101214 !important;
    box-shadow: 0 14px 42px rgba(153, 248, 91, 0.30), 0 0 42px rgba(153, 248, 91, 0.24) !important;
}

.form-control:focus,
#mainNavBar .form-control:focus {
    border-color: rgba(153, 248, 91, 0.58) !important;
    box-shadow: 0 0 0 3px rgba(153, 248, 91, 0.16) !important;
}

::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:hover,
::selection {
    background: rgba(153, 248, 91, 0.46) !important;
    color: #101214;
}
