.base-color {
  color: hsl(var(--main)) !important;
}

.copyInput {
  display: inline-block;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.copied::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #fff;
  background-color: hsl(var(--base));
  border-radius: 3px;
  opacity: 0;
  will-change: opacity, transform;
  animation: showcopied 1.5s ease;
}

@keyframes showcopied {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  50% {
    opacity: 0.7;
    transform: translateX(40%);
  }

  70% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
  }
}

.cookies-card {
  width: 500px;
  padding: 24px;
  color: hsl(var(--white));
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all 0.5s;
  background: hsl(var(--bg-color));
  border-radius: 12px;
  border: 1px solid hsl(var(--white) / 0.1);
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

.cookies-card__icon {
  border-radius: 50%;
  color: hsl(var(--white));
  font-size: 64px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
  margin-top: 16px;
}

.cookies-btn {
  color: #363636;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
}

.cookies-btn:hover {
  color: #363636;
}

@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
  }

  .cookies-card__icon {
    font-size: 48px;
  }
}

.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 130%;
  left: 50%;
  width: 280px;
  background-color: #313131;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.input-popup::after {
  position: absolute;
  content: "";
  bottom: -19px;
  left: 50%;
  margin-left: -5px;
  border-width: 10px 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #313131 transparent;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input-popup p {
  padding-left: 20px;
  position: relative;
}

.input-popup p::before {
  position: absolute;
  content: "";
  font-family: "Line Awesome Free";
  font-weight: 900;
  left: 0;
  top: 4px;
  line-height: 1;
  font-size: 18px;
}

.input-popup p.error {
  text-decoration: line-through;
}

.input-popup p.error::before {
  content: "\f057";
  color: #ea5455;
}

.input-popup p.success::before {
  content: "\f058";
  color: #28c76f;
}

.table--header {
  padding: 24px;
  border-bottom: 1px solid hsl(var(--white) / 0.1);
}

.select2-dropdown {
  margin-top: 8px !important;
  border-radius: 5px !important;
  background-color: hsl(var(--bg-color)) !important;
  border: 1px solid hsl(var(--white) / 0.1) !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid hsl(var(--white) / 0.1) !important;
  color: hsl(var(--white));
  padding: 6px 16px !important;
}

.select2-container:has(.select2-selection--single, .select2-selection--multiple) {
  width: 100% !important;
}

.select2-search--dropdown {
  padding: 10px 10px !important;
  border-color: #ced4da !important;
}

.select2-container--default .select2-selection--multiple {
  background-color: transparent !important;
  border: 1px solid hsl(var(--white) / 0.1) !important;

}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border-color: hsl(var(--white) / 0.1) !important;
  padding: 10px 20px;
  background: transparent;
  border-radius: 4px;
}

.select2-container .select2-search--inline .select2-search__field {
  color: hsl(var(--white)) !important;
  margin-top: 10px !important;
}

.select2-results__option.select2-results__option--selected,
.select2-results__option--selectable,
.select2-container--default .select2-results__option--disabled {
  padding: 8px 12px !important;
  border-bottom: 1px solid hsl(var(--white) / 0.03);
  font-size: 14px !important;
}

.select2-results__option.select2-results__message {
  text-align: center !important;
  padding: 12px 14px !important;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar {
  width: 8px;
  border-radius: 5px;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-track {
  background: transparent !important;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb {
  background: hsl(var(--white) / 0.2);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: hsl(var(--card-two-bg)) !important;
  border: 1px solid hsl(var(--white) / 0.2) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  border-right: 0 !important;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--white) / 0.2);
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  color: hsl(var(--text-color)) !important;
  line-height: 41px !important;
  font-size: 14px !important;
}

.select2-container .select2-selection--single {
  line-height: 41px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow:after {
  position: absolute;
  right: 10px;
  top: 0px !important;
  content: "\f107";
  font-family: "Line Awesome Free";
  font-weight: 900;
  transition: 0.3s;
}

.select2-container--default .select2-selection--single {
  color: hsl(var(--white)) !important;
  background-color: transparent !important;
  border: 1px solid hsl(var(--white) / 0.1) !important;
  border-radius: 5px !important;
  height: 41px !important;
}

.select2 .dropdown-wrapper {
  display: none;
}

.select2-container .selection {
  width: 100% !important;
  display: block;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 0px !important;
  height: 41px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow:after {
  transform: rotate(-180deg);
}

.select2-results__option:last-child {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.select2-results__option.select2-results__option--selected,
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: hsl(var(--base)) !important;
  color: hsl(var(--static-white)) !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: hsl(var(--white) / 0.4) !important;
  box-shadow: 0 0 25px rgba(115, 103, 240 0.071) !important;
  outline: 0 !important;
}

.select2-dropdown .country-flag {
  width: 25px;
  height: 25px;
  border-radius: 8px;
}

.select2-dropdown .gateway-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0px !important;
}

.select2-dropdown .gateway-subtitle {
  font-size: 12px;
  margin-bottom: 0px !important;
}

.select2-container--open .select2-selection.select2-selection--single,
.select2-container--open .select2-selection.select2-selection--multiple {
  border-color: hsl(var(--white) / 0.1) !important;
  border-radius: 5px !important;
}

.payment-card-title {
  padding: 13px 25px;
  text-align: center;
  background-color: hsl(var(--base));
  border-radius: 5px;
  border: 0;
  margin-bottom: 0px;
  color: hsl(var(--white));
}

.payment-system-list {
  --thumb-width: 80px;
  --thumb-height: 32px;
  --border-color: hsl(var(--white) / 0.1);
  --hover-border-color: hsl(var(--base));
  background-color: hsl(var(--bg-color));
  border-radius: 10px;
  padding-block: 24px;
  padding-inline: 16px;
  height: 100%;
}

.payment-system-list.border-style {
  border-left: 1px solid hsl(var(--white) / 0.1);
  border-radius: 0;
}

@media (max-width: 991px) {
  .payment-system-list.border-style {
    border-left: 0;
    border-top: 1px solid hsl(var(--white) / 0.1);
  }
}

hr {
  border-top: 1px solid hsl(var(--white) / 0.1);
  opacity: 1;
}

.payment-system-list.is-scrollable {
  max-height: min(600px, 70vh);
  overflow-x: auto;
}

.modal .payment-system-list.is-scrollable {
  max-height: min(452px, 70vh);
  overflow-x: auto;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar-thumb {
  background-color: hsl(var(--white) / 0.2);
  border-radius: 10px;
}

.payment-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all linear 0.3s;
  margin-bottom: 16px;
  padding: 10px;
  border: 1px solid hsl(var(--white) / 0.1);
  border-radius: 8px;
  cursor: pointer;
}

.payment-item:has(.payment-item__radio:checked) {
  border-color: hsl(var(--white) / 0.2);
  background-color: hsl(var(--white) / 0.05);
}

.payment-item:has(.payment-item__radio:checked) .payment-item__name {
  color: hsl(var(--white));
}

.payment-item:has(.payment-item__radio:checked) .check-type-icon {
  border-color: hsl(var(--white));
}

.payment-item:has(.payment-item__radio:checked) .check-circle {
  display: block;
  --color: hsl(var(--white));
}

.payment-item__check {
  border: 3px solid transparent;
}

.payment-item__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: calc(100% - var(--thumb-width));
}

.payment-item__check {
  width: var(--radio-size);
  height: var(--radio-size);
  border: 1px solid hsl(var(--base));
  display: inline-block;
  border-radius: 100%;
}

.payment-item__name {
  transition: all 0.3s;
  text-align: end;
}

.payment-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.payment-item__thumb {
  padding: 3px 12px;
  border-radius: 8px;
  flex-shrink: 0;
  background-color: hsl(var(--white) / 0.1);
}

.payment-item__thumb img {
  max-width: var(--thumb-width);
  max-height: var(--thumb-height);
  object-fit: cover;
  mix-blend-mode: difference;
  filter: brightness(0.5) invert(1);
}

/* [data-theme="light"] payment-item override removed — dark-only */

.deposit-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 16px;
}

.deposit-info__title {
  max-width: 50%;
  margin-bottom: 0px;
  text-align: left;
}

.deposit-info__input {
  max-width: 50%;
  text-align: right;
  width: 100%;
}

.deposit-info__input .text {
  color: hsl(var(--white));
  font-weight: 500;
}

.deposit-info__input-select {
  border: 1px solid var(--border-color);
  width: 100%;
  border-radius: 5px;
  padding-block: 6px;
}

.deposit-info__input-group {
  border: 1px solid hsl(var(--white) / 0.1);
  border-radius: 5px;
}

.deposit-info__input-group-text {
  align-self: center;
  padding-inline: 16px;
  border: 0;
  background: transparent;
}

.deposit-info__input-group:has(.form--control:disabled),
.deposit-info__input-group:has(.form--control:read-only) {
  background: hsl(var(--white) / 0.05);
}

.deposit-info__input-group:has(.form--control:disabled) .form--control,
.deposit-info__input-group:has(.form--control:read-only) .form--control {
  background: transparent;
  border: 0 !important;
}

.deposit-info__input-group .form--control {
  padding: 5px;
  border: 0;
  height: 35px;
  text-align: right;
}

.deposit-info__input-group .form--control:focus {
  box-shadow: unset;
}

.info-text .text,
.deposit-info__input .text {
  font-size: 14px;
}

.deposit-info__title .text.has-icon {
  display: flex;
  align-items: center;
  gap: 5px;
}

.total-amount {
  border-top: 1px solid var(--border-color);
}

.total-amount .deposit-info__title {
  font-weight: 600;
}

.payment-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.payment-item__btn-text,
.payment-item__btn__icon {
  color: hsl(var(--success));
  font-size: 14px;
  font-weight: 600;
}

button .spinner-border {
  --bs-spinner-width: 1.5rem;
  --bs-spinner-height: 1.5rem;
}

.adjust-height .payment-system-list.is-scrollable {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.plyr__control--overlaid {
  background: hsl(var(--base)) !important;
}

.plyr--video .plyr__control:focus-visible,
.plyr--video .plyr__control:hover,
.plyr--video .plyr__control[aria-expanded="true"] {
  background: hsl(var(--base)) !important;
}

.plyr--full-ui input[type="range"] {
  color: hsl(var(--base)) !important;
}

.plyr__menu__container .plyr__control[role="menuitemradio"][aria-checked="true"]:before {
  background: hsl(var(--base)) !important;

  background: hsl(var(--base)) !important;
}

.responsive-filter-card {
  position: relative;
}

.responsive-filter-form {
  width: 350px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid hsl(var(--white) / 0.1);
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 5;
  background-color: hsl(var(--bg-color));
  transition: all linear 0.3s;
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 767px) {
  .responsive-filter-form {
    width: 280px;
  }
}

@media (max-width: 575px) {
  .responsive-filter-form {
    width: 250px;
  }

  .payment-item {
    gap: 10px;
  }

  .payment-item__name {
    font-size: 14px;
  }
}

.responsive-filter-form.show {
  opacity: 1;
  visibility: visible;
}

.responsive-filter-body {
  padding: 20px 16px;
  background-color: hsl(var(--white) / 0.01);
}

.responsive-filter-footer {
  padding: 16px;
  background-color: hsl(var(--bg-color));
  box-shadow: 14px -7px 17px rgb(255 255 255 / 5%);
}

.responsive-filter-title {
  padding: 16px;
  background-color: hsl(var(--bg-color));
  box-shadow: -11px 4px 17px rgb(255 255 255 / 5%);
}

.responsive-filter-item:not(:last-child) {
  margin-bottom: 12px;
}

.close-filter-btn {
  font-size: 20px;
  cursor: pointer;
  color: hsl(var(--white));
}

/* Estilos para posters verticales de VOD (Cine & Series) estilo MagisTV */
.video-item.vertical-poster {
  display: flex;
  flex-direction: column;
}
.video-item.vertical-poster .video-item__thumb {
  aspect-ratio: 2 / 3 !important;
  height: auto !important;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background-color: var(--hy-bg-input, #0d0d0d);
}
.video-item.vertical-poster .video-item__thumb img,
.video-item.vertical-poster .video-item__thumb video,
.video-item.vertical-poster .video-item__thumb .embed-video-player,
.video-item.vertical-poster .video-item__thumb .premium-video {
  aspect-ratio: auto !important;
  object-fit: cover !important;
  height: 100% !important;
  width: 100% !important;
}
.video-item.vertical-poster .video-item__content {
  margin-top: 10px;
}

/* Custom Header Navigation Menu */
.header-nav {
  margin-right: auto;
  border-left: 1px solid var(--hy-glass-border, rgba(255, 255, 255, 0.1));
  padding-left: 20px;
}

.header-nav-link {
  color: var(--hy-text-secondary, #a0aab4);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--hy-font-body, 'Inter', sans-serif);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.header-nav-link:hover {
  color: var(--hy-text, #ffffff) !important;
  background-color: rgba(255, 255, 255, 0.05);
}

.header-nav-link.active {
  color: var(--hy-accent, #ea2027) !important;
  background-color: rgba(234, 32, 39, 0.12);
}

@media (max-width: 1399px) {
  .header-nav {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    gap: 10px !important;
  }
  .header-nav-link {
    font-size: 14px;
    padding: 6px 10px;
  }
}

/* Header Utility Bar Styles */
.header-utility-bar {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-icon-btn {
  background: transparent;
  border: none;
  color: var(--hy-text-secondary, #a0aab4);
  font-size: 18px;
  cursor: pointer;
  padding: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: var(--hy-radius, 8px);
}

.header-icon-btn:hover {
  color: var(--hy-text, #ffffff) !important;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.bell-badge {
  position: absolute;
  top: 0;
  right: -2px;
  background-color: var(--hy-accent, #ea2027);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  min-width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border: 1px solid var(--hy-bg-base, #090909);
  box-shadow: 0 0 8px var(--hy-accent-glow, rgba(234, 32, 39, 0.25));
}

.notification--sm .notification__btn {
  background: transparent !important;
  border: none !important;
  color: var(--hy-text-secondary, #a0aab4) !important;
  font-size: 18px !important;
  padding: 6px !important;
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border-radius: var(--hy-radius, 8px) !important;
}

.notification--sm .notification__btn:hover {
  color: var(--hy-text, #ffffff) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.notification--sm .countDown {
  background-color: var(--hy-accent, #ea2027) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  top: 0 !important;
  right: -2px !important;
  position: absolute !important;
  width: 15px !important;
  height: 15px !important;
  line-height: 15px !important;
  padding: 0 !important;
  box-shadow: 0 0 8px var(--hy-accent-glow, rgba(234, 32, 39, 0.25)) !important;
}

.signal-indicator {
  color: var(--hy-accent-green, #2ecc71);
  cursor: default;
}

.header-live-clock {
  color: var(--hy-text, #ffffff);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--hy-font-body, 'Inter', sans-serif);
  white-space: nowrap;
  letter-spacing: 0.5px;
  border-left: 1px solid var(--hy-glass-border, rgba(255, 255, 255, 0.1));
  padding-left: 15px;
}

/* Toggleable Search Dropdown Bar Styles */
.header-search-dropdown-bar {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--hy-bg-base, #0c0c0e);
  border-bottom: 1px solid var(--hy-glass-border, rgba(255, 255, 255, 0.08));
  padding: 14px var(--inline-p);
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dropdown-search-form {
  max-width: 100%;
  margin: 0 auto;
}

.dropdown-search-group {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 10px 24px;
  border: 1px solid var(--hy-glass-border, rgba(255, 255, 255, 0.08));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-search-group:focus-within {
  border-color: var(--hy-accent, #ea2027);
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px var(--hy-accent-glow, rgba(234, 32, 39, 0.15));
}

.dropdown-search-icon {
  color: var(--hy-text-secondary, #a0aab4);
  font-size: 18px;
  margin-right: 14px;
}

.dropdown-search-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--hy-text, #ffffff);
  font-family: var(--hy-font-body, 'Inter', sans-serif);
  font-size: 16px;
  width: 100%;
}

.dropdown-search-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.btn-close-search {
  background: transparent;
  border: none;
  color: var(--hy-text-secondary, #a0aab4);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-close-search:hover {
  color: var(--hy-text, #ffffff);
}

.home-fluid .home__right.full-width-iptv {
  padding-left: 0 !important;
}

/* IPTV TV Live Dedicated 3-Column Premium Layout */
.tv-live-container {
  padding: 15px 20px 20px 20px !important;
  background-color: #0f0f0f !important;
  font-family: 'Outfit', sans-serif !important;
  overflow: hidden;
  height: calc(100vh - 80px);
}

.tv-layout {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 15px;
  height: 100%;
  width: 100%;
}

/* Columna 1: Categorías (Left) */
.tv-categories-sidebar {
  width: 220px;
  min-width: 220px;
  display: flex !important;
  flex-direction: column !important;
  background: transparent !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-right: 15px;
  height: 100%;
}

.tv-sidebar-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ea2027;
}

.tv-categories-list {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 6px;
  overflow-y: auto;
  flex-grow: 1;
}

.tv-categories-list::-webkit-scrollbar {
  width: 3px;
}
.tv-categories-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.tv-cat-btn {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  width: 100% !important;
  padding: 10px 14px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 8px;
  color: #a0aab4 !important;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 550;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.tv-cat-btn:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #fff !important;
  transform: translateX(2px);
}

.tv-cat-btn.active {
  background: rgba(234, 32, 39, 0.1) !important;
  border-color: rgba(234, 32, 39, 0.25) !important;
  color: #ea2027 !important;
}

.tv-cat-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a0aab4;
  transition: all 0.2s ease;
}

.tv-cat-btn.active .tv-cat-dot {
  background: #ea2027;
  box-shadow: 0 0 6px #ea2027;
}

/* Columna 2: Player Principal (Center) */
.tv-main-player-section {
  flex-grow: 1;
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
  min-width: 400px;
}

.tv-player-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tv-player-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tv-player-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.tv-player-start-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 12;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.tv-start-overlay-content {
  text-align: center;
}

.tv-start-play-btn {
  width: 70px;
  height: 70px;
  background: #ea2027;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 4px 15px rgba(234, 32, 39, 0.5);
  transition: all 0.25s ease;
}

.tv-player-start-overlay:hover .tv-start-play-btn {
  transform: scale(1.1);
  background: #ff383e;
  box-shadow: 0 6px 20px rgba(234, 32, 39, 0.7);
}

.tv-overlay-message {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}

/* Detalles de canal */
.tv-channel-info-card {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px;
  padding: 15px 20px;
}

.tv-live-badge {
  background: #ea2027;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.5px;
}

.pulse-dot {
  width: 5px;
  height: 5px;
  background-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-live 1.2s infinite;
}

.tv-channel-title {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
}

.tv-action-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tv-action-btn:hover {
  background: rgba(234, 32, 39, 0.15);
  border-color: #ea2027;
  color: #ea2027;
  transform: translateY(-1px);
}

.tv-channel-desc {
  max-height: 70px;
  overflow-y: auto;
}

/* Columna 3: Canales (Right) */
.tv-channels-sidebar {
  width: 280px;
  min-width: 280px;
  display: flex !important;
  flex-direction: column !important;
  background: transparent !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-left: 15px;
  height: 100%;
}

.tv-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tv-channels-list {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 8px;
  overflow-y: auto;
  flex-grow: 1;
}

.tv-channels-list::-webkit-scrollbar {
  width: 3px;
}
.tv-channels-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.tv-channel-card {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  padding: 6px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tv-channel-card:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  transform: translateY(-1px);
}

.tv-channel-card.active {
  background: rgba(234, 32, 39, 0.08) !important;
  border-color: rgba(234, 32, 39, 0.3) !important;
}

.tv-card-thumb-wrapper {
  position: relative;
  width: 70px;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}

.tv-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tv-card-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.tv-channel-card:hover .tv-card-play-overlay,
.tv-channel-card.active .tv-card-play-overlay {
  opacity: 1;
}

.tv-card-play-overlay i {
  color: #fff;
  font-size: 1rem;
}

.tv-card-details {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  flex-grow: 1;
  overflow: hidden;
}

.tv-card-title {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 550;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tv-card-status {
  font-size: 0.7rem;
  color: #2ed573;
  margin-top: 2px;
  font-weight: 500;
}

/* Responsividad para móviles y tablets */
@media (max-width: 991px) {
  .tv-live-container {
    height: auto !important;
    overflow-y: auto !important;
    padding: 10px !important;
  }
  .tv-layout {
    flex-direction: column !important;
    gap: 15px;
  }
  .tv-categories-sidebar, .tv-channels-sidebar {
    width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
    border: none !important;
    padding: 0 !important;
  }
  .tv-categories-list {
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 5px;
  }
  .tv-cat-btn {
    width: auto !important;
    white-space: nowrap;
  }
  .tv-channels-sidebar {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-top: 15px !important;
    border-left: none !important;
  }
}

/* IPTV Category Horizontal Pills Bar */
.iptv-pills-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 5px 0 15px 0;
  position: relative;
}

.iptv-pills-scroll {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 5px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.iptv-pills-scroll::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.iptv-pills-scroll {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.iptv-pill-btn {
  display: inline-block;
  padding: 8px 20px;
  background: var(--hy-bg-hover, rgba(255, 255, 255, 0.03)) !important;
  border: 1px solid var(--hy-glass-border, rgba(255, 255, 255, 0.06)) !important;
  border-radius: 999px;
  color: var(--hy-text-secondary, #a0aab4) !important;
  font-size: 0.88rem;
  font-weight: 550;
  font-family: var(--hy-font-body, 'Inter', sans-serif);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.iptv-pill-btn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: var(--hy-text, #fff) !important;
  transform: translateY(-1px);
}

.iptv-pill-btn.active {
  background: var(--hy-accent, #ea2027) !important;
  border-color: var(--hy-accent, #ea2027) !important;
  color: #fff !important;
  box-shadow: 0 4px 15px var(--hy-accent-glow, rgba(234, 32, 39, 0.35));
  font-weight: 600;
}

/* TV Box D-Pad D-pad accessibility focus state styling */
.iptv-pill-btn:focus-visible, .iptv-pill-btn:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #ea2027 !important;
  color: #fff !important;
  box-shadow: 0 0 12px rgba(234, 32, 39, 0.6);
  transform: scale(1.05);
}

/* Custom Premium Player Controller Overlay (YouTube/Netflix Style) */
.tv-custom-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 75%, transparent 100%);
  padding: 10px 15px 15px 15px;
  z-index: 5;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s;
  opacity: 1;
  visibility: visible;
}

.tv-custom-controls.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* Progress bar styles */
.tv-progress-container {
  width: 100%;
  height: 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.tv-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  position: relative;
  transition: height 0.1s ease;
}

.tv-progress-container:hover .tv-progress-bar {
  height: 6px;
}

.tv-progress-filled {
  height: 100%;
  background: #ea2027;
  border-radius: 2px;
  width: 0%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}

.tv-progress-buffered {
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  width: 0%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}

/* Control buttons styles */
.ctrl-btn {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 1.05rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ctrl-btn:hover {
  color: #ea2027;
  transform: scale(1.1);
}

/* Volume Slider */
.ctrl-volume-wrapper {
  position: relative;
}

.ctrl-volume-slider {
  width: 0;
  height: 4px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  outline: none;
  opacity: 0;
  transition: width 0.25s ease, opacity 0.2s ease;
  margin-left: 0;
  cursor: pointer;
}

.ctrl-volume-wrapper:hover .ctrl-volume-slider,
.ctrl-volume-slider:focus {
  width: 70px;
  opacity: 1;
  margin-left: 5px;
}

.ctrl-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ea2027;
  cursor: pointer;
}

.ctrl-time-display {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff !important;
}

/* Sidebar TV Actions Bar (Cuadrícula, Favoritos, Lupa) */
.tv-sidebar-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-around !important;
  padding: 8px 5px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px;
}

.tv-action-icon-btn {
  background: transparent;
  border: none;
  color: #a0aab4;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tv-action-icon-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.tv-action-icon-btn.active {
  color: #ea2027;
  background: rgba(234, 32, 39, 0.1);
}

/* Instant Filter/Search Box */
.tv-search-bar-container {
  width: 100%;
}

.tv-search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.tv-search-input-wrapper .search-icon {
  position: absolute;
  left: 12px;
  color: #a0aab4;
  font-size: 0.88rem;
}

.tv-search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 35px 8px 32px;
  color: #fff;
  font-size: 0.85rem;
  outline: none;
  transition: all 0.2s ease;
}

.tv-search-input:focus {
  border-color: rgba(234, 32, 39, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.btn-clear-search {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  color: #a0aab4;
  cursor: pointer;
  display: none;
}

.btn-clear-search:hover {
  color: #fff;
}

/* Favorite Toggle Star */
.btn-toggle-favorite-star {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 3px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-toggle-favorite-star:hover {
  color: #f1c40f;
  transform: scale(1.15);
}

.btn-toggle-favorite-star.is-favorite {
  color: #f1c40f;
}

/* Card layout grid switcher */
.tv-channels-list.grid-mode {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 8px !important;
}

.tv-channels-list.grid-mode .tv-channel-card {
  flex-direction: column !important;
  align-items: flex-start !important;
  padding: 6px !important;
  gap: 6px !important;
}

.tv-channels-list.grid-mode .tv-card-thumb-wrapper {
  width: 100% !important;
}

.tv-channels-list.grid-mode .tv-card-details {
  width: 100% !important;
  padding-top: 2px;
}


