:root {
    --primary-color: #0dcaf0;
    --secondary-color: #0d6efd;
    --accent-color-red: #ff2828;
    --accent-color-violet: #ff00c8;
    --dark-bg: #0a0e27;
    --card-bg: #1a1f3a;
    --hover-bg: #252b4a;
    --text-primary: #ffffff;
    --text-secondary: #b0b8c8;
    --text-light: #d8d8d8;
    --border-color: #0dcaf0;
    --border-color-dark: #272d50;;
    --box-shadow-color: rgba(13, 202, 240, 0.2);
    --border-color-live: rgb(240 13 13 / 50%);
    --box-shadow-live: rgb(240 13 13 / 60%);
    --border-color-ended: #252525;
    --box-shadow-ended: ##0c0c0c;
    --bg-color-ended: #141414;
    --bs-link-color: #0dcaf0;
    --bs-link-color-rgb: rgba(13, 202, 240, 1);
    --border-radius: 10px;
    --background-color-violet: rgba(255, 0, 200, 0.25);
    --border-color-violet:rgba(255, 0, 200, 0.5);
    --box-shadow-violet: rgba(255, 0, 200, 0.4);
    --box-shadow-violet-light:rgba(255, 0, 200, 0.7);
    --bg-light: #dddddd;
    --bg-black: #000000a6;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: var(--dark-bg);
    overscroll-behavior: none;
}

body {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0f1429 100%);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    padding-top: 70px;
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
}

[v-cloak] {
    display: none;
 }

.container-fluid{
    max-width: 1280px;
}

.main-content{
    min-height: 400px;
}

.cursor-pointer{
    cursor: pointer!important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Toolbar */
.toolbar {
    /*
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.95) 0%, rgba(15, 20, 41, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
    */
    box-shadow: 0 4px 20px rgba(13, 202, 240, 0.2);
    /* nuovo stile traslucido*/
    position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* per Safari */
  background: rgba(20, 20, 30, 0.4);   /* colore semitrasparente */
  /*border-bottom: 2px solid var(--primary-color);*/
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
    
}

.border{
    border: 2px solid var(--primary-color);
}

.border-rounded{
    border-radius: var(--border-radius);
}

.toolbar .btn {
    color: var(--text-secondary);
    border: none;
    transition: all 0.3s ease;
    background: transparent;
    padding: 8px 12px;
    border-radius: 8px;
}

.toolbar .btn:hover, .toolbar .btn.active {
    color: var(--primary-color);
    background: var(--hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--box-shadow-violet);
}

.logo-image{
    width: 100%;
    height: auto;
    object-fit: cover;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


#loading{
    text-align: center;
    padding: 2rem;
    position: absolute;
    top: 30%;
    left: 50%;
    min-width: 300px;
    transform: translate(-50%, -50%);
    z-index: 100;
    background-color: var(--dark-bg);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    color: var(--text-primary);
    box-shadow: 0 10px 30px var(--box-shadow-color);
}

.max-width-1280{
    max-width: 1280px;
    margin: auto;
}

.max-width-1024{
    max-width: 1024px;
    margin: auto;
}

.max-width-768 {
    max-width: 768px;
    margin: auto;
}

.max-width-640 {
    max-width: 640px;
    margin: auto;
}

.canale-tasto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0.25rem;
    
    /* Colore e Font */
    background: linear-gradient(145deg, #444, #222);
    color: #fff;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    text-shadow: 0px -1px 0px rgba(0,0,0,0.5);

    /* Bordi e Arrotondamento */
    border: 1px solid #111;
    border-radius: 8px; /* Più morbido, tipico dei tasti */
    
    /* Effetto 3D (Sollevato) */
    box-shadow: 
        inset 0 1px 1px rgba(255,255,255,0.2), /* Riflesso superiore */
        0 4px 0 #111,                         /* Spessore del tasto */
        0 6px 10px rgba(0,0,0,0.5);            /* Ombra portata a terra */
    
    cursor: pointer;
    transition: all 0.1s ease;
    user-select: none;
}

.current-time {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  overflow-y: auto;
  border: 3px solid #0dcaf0;
  border-radius: 1rem;
  max-width: 100%;
  background: #111;
  color: white;
  font-family: sans-serif;
  max-height: 80vh;
  /*
  height: 1260px;
  max-height: 1260px;
  */
  scroll-behavior: smooth;
}

.scroll-container::-webkit-scrollbar {
    height: 8px;
}

.scroll-container::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.fixed-column {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #222;
  flex-shrink: 0;
  min-width: 5rem;
  border-right: 2px solid #333;
}

.scrollable-columns {
    display: flex;
    /*
    overflow-y: hidden;
    max-height: 1028px;
    */
}

.column {
  display: flex;
  flex-direction: column;
  min-width: 150px;
  border-right: 1px solid #333;
  max-width: 300px;
  overflow: hidden;
}

.cell {
    padding: 1rem;
    border-bottom: 1px solid #333;
    white-space: nowrap;
    min-height: 120px;
}

.cell-program{
    padding: 0.2rem 0.5rem;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    border-collapse: collapse;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
}

.header {
    font-weight: bold;
    min-height: 60px!important; 
}

.epg-container {
  display: flex;
  max-width: 100%;
  border: 3px solid var(--border-color);
  border-radius: 1rem;
  background-color: var(--dark-bg);
  color: #fff;
  font-family: sans-serif;
  overflow: hidden;
  scroll-behavior: smooth;
}

.epg-container::-webkit-scrollbar {
    height: 8px;
}

.epg-container::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 10px;
}

.epg-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

/* Colonna canali fissa */
.channels-column {
  position: sticky;
  left: 0;
  z-index: 3;
  background: #111;
  border-right: 2px solid #222;
  flex-shrink: 0;
  width: 120px;
}

.channel-header {
  padding: 10px;
  font-weight: bold;
  /*background: #0a84ff;*/
  text-align: center;
}

.channel {
  padding: 10px;
  border-left: 1px solid #333;
  border-bottom: 1px solid #333;
  border-right: 1px solid #333;
  height: 120px;
  cursor: pointer;
}

/* Sezione scrollabile */
.epg-scroll {
  overflow-x: auto;
  overflow-y: auto;
  white-space: nowrap;
  flex: 1;
  scroll-behavior: smooth;
  height:100%;
    position: relative;
    z-index: 1;
}

.epg-scroll::-webkit-scrollbar {
    height: 8px;
}

.epg-scroll::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 10px;
}

.epg-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.epg-current-time {
    position: absolute;
    top:0;
    height:100%;
    width: 3px;
    z-index: 10;
    background-color: #ff0000c2;
}

.epg-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #222;
}

.epg-header {
  background: #111111;
  font-weight: bold;
  text-align: left;
  padding-left: 1rem;
}

.time-slot {
  padding: 10px;
  border-right: 1px solid #333;
  flex-shrink: 0;
  width: 120px; /* 4px per minuto */
}

.program {
  text-align: left;
  padding: 5px;
  height: 120px; /* stessa altezza di .channel */
  background: #1a1a1a;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  border-collapse: collapse;
  margin-top: -1px;
  flex-shrink: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
}

/* Channel Cards */
.channel-scroll {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.channel-scroll::-webkit-scrollbar {
    height: 8px;
}

.channel-scroll::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 10px;
}

.channel-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}



/* EPG MOBILE */
/* Contenitore scrollabile orizzontalmente */
.horizontal-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 1rem 0.5rem;
  gap: 0rem;
}
/* Scrollbar sottile e discreta */
.horizontal-scroll::-webkit-scrollbar {
  height: 6px;
}
.horizontal-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.horizontal-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 191, 255, 0.4);
  border-radius: 3px;
}

/* Singola colonna canale */
.epg-column {
  flex: 0 0 auto;
  width: 300px;
  scroll-snap-align: start;
  background: rgba(10, 20, 40, 0.92);
  border: 2px solid var(--border-color);
  margin-right: -2px;
  overflow: hidden;
  color: #fff;
  backdrop-filter: blur(6px);
  position: relative;
  box-shadow: 0 0 12px rgba(0, 191, 255, 0.15);
}

/* Seleziona solo la prima colonna */
.epg-column:first-child {
  border-top-left-radius: var(--border-radius);
  border-bottom-left-radius: var(--border-radius);
}

/* Seleziona solo l'ultima colonna */
.epg-column:last-child {
  border-top-right-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}

/* Sezione logo e nome canale (sticky) */
.epg-channel {
  position: sticky;
  top: 0;
  background: rgba(5, 10, 25, 0.95);
  border-bottom: 1px solid rgba(0, 191, 255, 0.4);
  text-align: center;
  padding: 0.7rem 0.3rem;
  z-index: 10;
  backdrop-filter: blur(8px);
  content-visibility: auto;
}

/* Logo canale */
.logo-image {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Nome canale */
.logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #00bfff;
  margin-top: 0.3rem;
}

/* Lista programmi */
.epg-program-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.epg-program-list .list-group-item{
    background-color: inherit!important;
    border-bottom: solid 1px var(--card-bg);
    padding: 0;
}
/* Card programma */
.epg-program {
  position: relative;
  background: rgba(15, 25, 45, 0.7);
  border: 1px solid var(--border-color-dark);
  border-radius: 0.5rem;
  margin: 0.5rem;
  padding: 0rem;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.25s ease;
  content-visibility: auto;
}

.epg-program.active{
    /*border: 1px solid var(--border-color);*/
    box-shadow: 0 10px 20px var(--box-shadow-live);
}

.epg-program:hover {
  background: var(--hover-bg);
}



/* Orari */
.epg-program .program-time {
  font-size: 1rem;
  font-weight: bold;
  color: #b0dfff;
  margin-bottom: 0.4rem;
  text-align: left;
  content-visibility: auto;
}


.epg-program .program-image{
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 0;
}

/* Immagine programma */
.epg-program .program-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* Titolo e categoria */
.epg-program .program-title {
  color: #00bfff;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.4rem;
  text-align: left;
  line-height: 1.3;
  width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.epg-program .program-genre {
  font-size: 0.8rem;
  /*color: #8fb6ff;*/
  text-align: left;
  margin-top: 0.2rem;
}

.epg-program.mobile .favorite-btn {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    left:auto;
}

.epg-program.mobile .badge-live {
    position: absolute;
    right: auto;
    left: 0.7rem;
    top: 0.7rem;
}

/* Responsive ottimizzato */
@media (max-width: 768px) {

 .container-fluid{
    max-width: 95vw;
 }
  .horizontal-scroll {
    gap: 0rem;
    padding: 0.5rem;
  }

  .epg-column {
    width: 60%;
    min-width: 270px;
  }

  .logo-image {
    width: 100px;
  }

  .program-title {
    font-size: 0.9rem;
  }
}
/* EPG MOBILE FINE */

.channel-card {
    min-width: 140px;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 202, 240, 0.1), transparent);
    transition: left 0.5s ease;
}

.channel-card:hover::before {
    left: 100%;
}

.channel-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(13, 202, 240, 0.3);
}

.channel-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 5px;
    cursor: pointer;
}


.channel-name {
    text-align: left;
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: stretch;
}

/* Grid Canali */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    padding: 0.5rem 1rem;
    overflow: hidden;
    /*max-height: 75vh;*/
    scroll-behavior: smooth;
}

.channels-grid::-webkit-scrollbar {
    height: 8px;
}

.channels-grid::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 10px;
}

.channels-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.channel-grid-item {
    aspect-ratio: 1;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*width: 95%;*/
    overflow: hidden;
}

@media (max-width: 640px) {
.channel-grid-item {
    padding: 8px;
}    
}


.channel-grid-item:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(13, 202, 240, 0.3);
}

.modal.show{
    display: block!important;
}


/* Modals */
.modal-content {
    top: 5rem;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--dark-bg) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    box-shadow: 0 -10px 40px rgba(13, 202, 240, 0.3);
    max-height: 80vh;
    max-width: 90vw;
    margin: auto;
}

.modal-header {
    border-bottom: 2px solid var(--primary-color);
}

.modal-footer {
    border-top: 2px solid var(--primary-color);
}

[v-cloak]{
    display: none;
}

.modal-body{
    max-height: 70vh;
    overflow-y: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.modal-body::-webkit-scrollbar {
    height: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 80vh;
    max-width: 768px;
    margin: auto;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--dark-bg) 100%);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border: 2px solid var(--primary-color);
    border-bottom: none;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    z-index: 1050;
    overflow: hidden;
    box-shadow: 0 -10px 40px rgba(13, 202, 240, 0.3);
}

@media (max-width: 768px){
    .bottom-sheet {
        max-width: 90vw;
    }
}

.bottom-sheet.show {
    transform: translateY(0);
}

.bottom-sheet-handle {
    width: 100%;
    height: 35px;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;

    background-color: #1a1a2e; /* Colore base */
    /* Texture a righe */
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.05) 2px,
    rgba(255, 255, 255, 0.05) 4px
  );
}

.bottom-sheet-handle-bar {
    width: 50px;
    height: 5px;
    background: var(--text-secondary);
    border-radius: 10px;
    margin: 20px auto;
}

.bottom-sheet-header{
    padding: 0 2rem;
}

.bottom-sheet-header > .channel-logo{
    height: 64px;
    width: auto;
}

.bottom-sheet-content {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 70vh;
    scroll-behavior: smooth;
    padding: 1rem;
}

.bottom-sheet-content::-webkit-scrollbar {
    height: 8px;
}

.bottom-sheet-content::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 10px;
}

.bottom-sheet-content::-webkit-scrollbar-thumb {    
}



/* Program Cards */
.program-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid var(--dark-bg);
    transition: all 0.3s ease;
    position: relative;
    /*content-visibility: auto;*/
}

.program-card:hover {
    /*border-color: var(--primary-color);*/
    box-shadow: 0 5px 20px rgba(13, 202, 240, 0.2);
}
.program-card .badge-live{
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 2.5rem;
    max-width: 2.5rem;
    min-width: 2.5rem;
    margin-right: 1rem;
}

.program-card.program-card-live{
    border-color: var(--border-color-live);
    border-width: 1px;
    box-shadow: 0 10px 20px var(--box-shadow-live);
}

.program-card.program-card-ended {
    border-color: var(--border-color-ended);
    border-width: 1px;
    box-shadow: 0 10px 20px var(--box-shadow-ended);
    background-color: var(--bg-color-ended);
}

.program-image {
    width: 100%;
    height: auto;
    /*max-height: 250px;*/
    object-fit: cover;
    border-radius: var(--border-radius);
}

.program-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.program-title a{
    text-decoration: none;
    color: inherit;
}

.program-title a:hover{
    text-decoration: underline;
}

.program-time {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.program-genre {
    display: inline-block;
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.progress-bar {
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.progress{
    height: 10px;
}


/* Evening Programs Scroll */
.evening-programs {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 0;
    scroll-behavior: smooth;
}

/* homepage - griglie programmi della sera. */
.evening-programs-grid {

}

.evening-program-card {
    min-width: 250px;
    background: var(--hover-bg);
    border-radius: 15px;
    padding: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.evening-program-card:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Play Button */
.play-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(13, 202, 240, 0.4);
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(13, 202, 240, 0.6);
}

.play-btn i {
    font-size: 1.5rem;
}

/* Video Player */
#videoPlayer {
    width: 100%;
    border-radius: 10px;
    background: #000;
}

.form-control, .form-select {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 12px 20px;
}
.form-control:focus, .form-select:focus{
    background: var(--card-bg);
    color: var(--text-primary);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(13, 202, 240, 0.3);
}

.form-group{
    margin-bottom: 1rem;
}

.form-control::placeholder {
  color: var(--text-secondary);
  opacity: 1;    /* Necessario per Firefox che di default abbassa l'opacità */
}

/* Per versioni precedenti di Chrome/Safari/Opera */
.form-control::-webkit-input-placeholder {
  color: var(--text-secondary);
}

/* Per versioni precedenti di Firefox (18-) */  
.form-control:-moz-placeholder {
  color: var(--text-secondary);
  opacity: 1;
}

/* Per Internet Explorer 10-11 */
.form-control:-ms-input-placeholder {
  color: var(--text-secondary);
}

/* Search */
.search-input {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 12px 20px;

}

.search-input:focus {
    background: var(--card-bg);
    color: var(--text-primary);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(13, 202, 240, 0.3);
}


.search-input::placeholder {
  color: var(--text-secondary);
  opacity: 1;    /* Necessario per Firefox che di default abbassa l'opacità */
}

/* Per versioni precedenti di Chrome/Safari/Opera */
.search-input::-webkit-input-placeholder {
  color: var(--text-secondary);
}

/* Per versioni precedenti di Firefox (18-) */
.search-input:-moz-placeholder {
  color: var(--text-secondary);
  opacity: 1;
}

/* Per Internet Explorer 10-11 */
.search-input:-ms-input-placeholder {
  color: var(--text-secondary);
}

.search-results-list{
    overflow: auto;
    max-height: 70vh;
    border: solid 2px #0dcaf0;
    border-radius: 10px;
    padding: 1rem;
    scroll-behavior: smooth;
    min-height: 400px;
}

.search-results-list::-webkit-scrollbar {
    height: 8px;
}

.search-results-list::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 10px;
}

.search-results-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.search-result {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    justify-content: start;
    /* gap: 10px; */
    vertical-align: top;
    overflow: hidden;
}

.search-result:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.search-result-image{
    width: 50px; height: 50px; object-fit: contain; margin-right: 15px; background: rgba(255,255,255,0.05); border-radius: 8px; padding: 5px;
}

/* Loading */
.spinner-border {
    color: var(--primary-color);
}

/* Skeleton loading */
@keyframes skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, var(--card-bg) 25%, var(--hover-bg) 50%, var(--card-bg) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 8px;
}

.skeleton-evening {
    display: flex;
    flex-direction: row;
    gap: 0.3rem;
    margin: 2rem 0;
    overflow: hidden;
}

.skeleton-channel-col {
    flex: 0 0 auto;
    width: 250px;
}

.skeleton-channel-logo {
    width: 100%;
    height: 120px;
    margin-bottom: 4px;
}

.skeleton-program-card {
    height: 10rem;
    margin-bottom: 20px;
    border-radius: 10px;
}

.skeleton-channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 1rem;
}

.skeleton-channel-card {
    aspect-ratio: 1;
    border-radius: 15px;
}

/* Section */
.section {
    margin-top: 2rem;
    animation: fadeIn 0.5s ease;
}

/*
.section.active {
    display: block;
}
*/

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Favorites */
.favorite-btn, .btn-close {
    background: var(--dark-bg);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.favorite-btn:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: scale(1.1);
}

.favorite-btn.active {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.favorite-btn.active i::before {
    content: "\f586"; /* bi-star-fill */
}


.box-shadow{
    box-shadow: 0 10px 30px var(--box-shadow-color);
}

.box-shadow-live{
    box-shadow: 0 10px 30px var(--box-shadow-live);
}

.text-shadow{
    text-shadow: 0 10px 30px var(--box-shadow-color);
}


.not-scheduled {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.85rem;
}


.movies-grid{
    overflow-x: hidden;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    scroll-behavior: smooth;
}

.movies-grid::-webkit-scrollbar {
    height: 8px;
}

.movies-grid::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 10px;
}

.movies-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.movie-card {
    margin: 1rem;
    padding: 1rem;
    border: solid 2px #0dcaf04d;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(13, 202, 240, 0.2);
    width: 45%;
}

@media (max-width: 768px){
    .movies-grid{
        margin: 1rem -0.5rem;
    }

    .movie-card  {
        margin: 1rem 0rem;
        width: 90%;
    }
}


.channel-filter-container {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.channel-filter-container::-webkit-scrollbar {
    height: 8px;
}

.channel-filter-container::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 10px;
}

.channel-filter-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.channel-filter-bar {
    flex-wrap: nowrap;
    padding: 0.5rem;
}

.channel-filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    font-size: 1.0rem;
    border-radius: 15px;
    border: 2px solid rgba(13, 202, 240, 0.35);
    background: var(--card-bg);
    color: var(--text-secondary);
    font-weight: 600;
    transition: border-color 0.25s ease, background 0.25s ease,
                color 0.25s ease, box-shadow 0.25s ease;
}

.channel-filter-btn:hover {
    transform: none;
    border-color: var(--primary-color);
    color: var(--text-primary);
}

.channel-filter-btn:active {
    transform: none;
}

.channel-filter-btn.channel-filter-active,
.channel-filter-btn.channel-filter-active:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
    text-shadow: none;
    transform: none;
    box-shadow: 0 0 14px var(--primary-color),
                0 0 28px rgba(13, 202, 240, 0.4);
}

.channel-filter-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 3px;
}

.bottom-sheet-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1040;
    display: none;
}

.bottom-sheet-backdrop.show {
    display: block;
}

.cookie-banner{
    /*display: none;*/
    position: fixed;
    bottom: 5vh;
    width: 80vw;
    left: 10vw;
    height: auto;
    padding: 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(13, 202, 240, 0.2);
    z-index: 10000;
    background-color: #03050c;
    overflow: hidden;
}

.cookie-banner-actions{
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    justify-content: start;
}

/* Botone ACCETTA (Verde) */
.btn-accept-all {
    background: #38ff5a;
    border: solid 2px #004b0d;
    color: #004b0d; /* Testo scuro per contrasto col verde fluo */
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 15px rgba(56, 255, 90, 0.2);
}

.btn-accept-all:hover {
    background: #2ce64d; /* Leggermente più scuro */
    border-color: #004b0d;
    transform: translateY(-2px); /* Effetto sollevamento */
    box-shadow: 0 6px 20px rgba(56, 255, 90, 0.4);
}

.btn-accept-all:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(56, 255, 90, 0.3);
}

/* Bottone SOLO NECESSARI (Verde Chiaro / Menta) */
.btn-reject-optional {
    background: #b2ffcf; /* Verde molto chiaro, quasi menta */
    border: solid 2px #4caf50; /* Bordo verde bosco per dare struttura */
    color: #1b4332; /* Testo verde scurissimo, molto leggibile */
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 15px rgba(178, 255, 207, 0.1);
}

.btn-reject-optional:hover {
    background: #8effb6; /* Si accende leggermente al passaggio */
    border-color: #2d6a4f;
    color: #081c15; /* Testo ancora più scuro in hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(178, 255, 207, 0.3);
}

.btn-reject-optional:active {
    transform: translateY(1px);
    background: #76e6a1;
}

/* Stile comune per icone e padding */
.btn-accept-all i, .btn-reject-optional i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.btn-primary {
  background: var(--dark-bg);
  border: 2px solid var(--primary-color);
  color: var(--text-primary);
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px var(--box-shadow-color),
              0 0 30px var(--box-shadow-color);
  text-shadow: 0 0 10px var(--box-shadow-color);
}

.btn-primary:hover {
  background: var(--dark-bg);
  border-color: var(--primary-color);
  box-shadow: 0 0 20px var(--box-shadow-color),
              0 0 40px var(--box-shadow-color),
              inset 0 0 15px rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 0 10px var(--box-shadow-color);
}

.btn-primary:disabled {
  background: var(--text-secondary);
  border-color: var(--border-color-dark);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.5;
}

.btn-simple-ok{
    color: #fff;
    border: solid 2px #0dcaf0;
}



/* ── Toggle pill ─────────────────────────────────────────── */
.form-check {
    padding-left: 0;
    min-height: unset;
    margin-bottom: 0;
}

.form-check-input {
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    margin: 0;
}

.form-check-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 5px 14px;
    border-radius: 20px;
    border: 2px solid rgba(13, 202, 240, 0.35);
    background: var(--card-bg);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease,
                color 0.25s ease, box-shadow 0.25s ease;
    user-select: none;
    white-space: nowrap;
}

.form-check-label:hover {
    border-color: var(--primary-color);
    color: var(--text-primary);
}

.form-check-label:has(.form-check-input:checked) {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
    text-shadow: none;
    box-shadow: 0 0 14px var(--primary-color),
                0 0 28px rgba(13, 202, 240, 0.4);
}

.form-check-label:has(.form-check-input:checked) .text-shadow {
    text-shadow: none;
}

.text-ellipsis{
    white-space: nowrap;
    text-wrap: ellipsis;
}



.badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    line-height: inherit;
}

/* Badge rosso lampeggiante */
.badge-live{
    position: absolute;
    right:1rem;
    top:1rem;
    padding: 0.5rem;
    background-color: #f00;
    border-radius: 50%;
    overflow: hidden;
    width: 2.5rem;
    z-index:10;
    text-align: center;
    animation: pulse 1.5s infinite ease-in-out;
}

.badge-favorite{
    background-color: none;
    color: #fbff00;
    display: inline-block;
    border-radius: 0.5rem;
    font-size: 1.5rem;
    text-shadow: 0 0 15px #e0cd00;
}   

/* Effetto lampeggio */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.05);
  }
}

.badge-tmdb-link{
    background-color: #198754;
    color: #fff;
    padding: 0.5rem 0.8rem;
    display: inline-block;
    border-radius: 0.5rem;
    text-decoration: none;
}

/* HOMEPAGE */

.section-title {
    font-size: 1.3rem;
    margin: 20px 0 10px;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.section-title .badge-live {
    position: relative;
    top:0;
    left:0;
    right: inherit;
    
}
/* --- HERO --- */
.hero .greeting {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
}


/* --- FAVORITI --- */
/* --- FAVORITI --- */
.fav-list {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem;
    cursor: pointer;
    scroll-behavior: smooth;
    white-space: nowrap;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    margin-bottom: 2rem;
}

.fav-list::-webkit-scrollbar {
    height: 8px;
}

.fav-list::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 10px;
}

.fav-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.fav-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
    border-radius: 1rem;
    border: 1px solid var(--border-color-dark);
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 140, 255, 0.3);
    flex-shrink: 0;
    scroll-snap-align: center;
    height: 10rem;
}

.fav-card.channel{
  flex: 0 0 40%;
  max-width: 200px;
  text-align: center;
  padding: 1rem;
}

.fav-card.program{
  flex: 0 0 80%;
  height: 20rem;
  max-width: 500px;
  margin: 0;
  padding: 0;
}



.fav-card-channel-logo {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 100px;
  height: 70px;
  background-color: var(--bg-black);
  border: solid 2px var(--primary-color);
  border-radius: var(--border-radius);
  overflow:hidden;
  z-index:10;
}


/* immagine sfondo preferito programma */
.fav-card img   {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: auto;
}

/* immagine logo canale card programma preferito */
.fav-card-channel-logo img   {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: auto;
}


/* immagine logo canale */
.fav-card.channel img{
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: auto;
}

.fav-card p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

.fav-card:hover {
    transform: scale(1.05);
    transition: 0.25s ease;
    box-shadow: 0 0 22px rgba(0, 140, 255, 0.9);
}

.fav-card-program-overlay {
    position: absolute;
    width: 100%;
    height: auto;
    left: 0;
    bottom: 0;
    overflow: hidden;
    background-color: #000000a3;
    padding: 1rem 2rem;
    
}
.fav-card-program-overlay .program-title {
    white-space: normal;
    
}

@media (max-width: 600px){
  .fav-card.channel {
    flex: 0 0 50%;
    height: 9rem;
  }
    .fav-card-program-overlay{
        padding: 0.5rem 0.5rem;
        font-size: 1rem;
        line-height: 1;
    }
  
}
/* END FAVORITES */



/* --- TAG BUTTONS --- */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tag {
    padding: 8px 18px;
    border-radius: 2rem;
    font-size: 1rem;
    border: 1px solid var(--border-color-violet);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 0 12px var(--box-shadow-violet);
    transition: 0.2s;
}

.tag:hover {
    background: var(--background-color-violet);
    box-shadow: 0 0 16px var(--box-shadow-violet-light);
}




/* --- CAROUSEL (scoped per evitare conflitti con Bootstrap) --- */
/* WRAPPER */
.tv-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem;
}

/* FRECCE */
.tv-carousel-arrow {
    position: absolute;
    top: 50%;
    height:100%;
    width:5rem;
    transform: translateY(-50%);
    z-index: 20;
    font-size: 34px;
    background: rgba(0,0,0,0.4);
    border: none;
    color: white;
    padding: 10px;
    border-radius: 0;
    cursor: pointer;
    user-select: none;
}
.tv-carousel-arrow.left { left: 0px; }
.tv-carousel-arrow.right { right: 0px; }



/* CAROUSEL */
.tv-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
    padding: 1rem;
    scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.tv-carousel::-webkit-scrollbar {
  display:none;
}

/* ITEM */
.tv-carousel-item {
    background-color: #000;
    position: relative;
    min-width: 260px;
    height: 40vh;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 15px 20px 5px rgba(0, 200, 255, 0.5); /* glow basso */
    flex: 0 0 100%;
    flex-shrink: 0;
    scroll-snap-align: center;
    max-height: 400px;
}

.tv-carousel-item .tv-carousel-item-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: auto;
    border-radius: var(--border-radius);
}

@media (max-width: 600px){
    .tv-carousel-wrapper{
        margin: 0;
        padding: 0;
    }
    .tv-carousel-arrow{
        padding: 0;
        margin: 0;
        width: 3rem;
    }
}

@media (min-width: 600px){
  .tv-carousel-item {
    flex: 0 0 80%;
    height: 60vh;
  }
}

@media (min-width: 1024px){
  .tv-carousel-item {
    flex: 0 0 60%;
    height: 60vh;
  }
}
/* Hover: zoom + glow più intenso + leggero lift */
.tv-carousel-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 18px 10px rgba(0, 255, 255, 0.55), 
                0 0 30px 10px rgba(0, 200, 255, 0.35);
    cursor: pointer;
}
@keyframes tvPulseGlow {
    0%   { box-shadow: 0 0 10px 5px rgba(0, 200, 255, 0.25); }
    50%  { box-shadow: 0 0 18px 5px rgba(0, 255, 255, 0.35); }
    100% { box-shadow: 0 0 10px 5px rgba(0, 200, 255, 0.25); }
}

.tv-carousel-item {
    animation: tvPulseGlow 3.5s ease-in-out infinite;
}



.tv-carousel-item .channel-logo {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 100px;
    height: 70px;
    background-color: var(--bg-black);
    border: solid 2px var(--primary-color);
    border-radius: var(--border-radius);
    overflow:hidden;
}

.tv-carousel-item .channel-logo img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* OVERLAY basso */
.tv-carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 7rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(to top, rgb(0 0 0 / 99%), #000000a1);
    color: white;
}

.tv-carousel-overlay h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tv-carousel-overlay p {
    font-size: 1rem;
    opacity: 0.85;
    margin: 4px 0 0 0;
}
/* END CAROUSEL */



/* --- ANIMAZIONI --- */
@keyframes neon-pulse-blue {
    0%   { box-shadow: 0 0 10px rgba(0, 170, 255, 0.4); }
    50%  { box-shadow: 0 0 18px rgba(0, 170, 255, 0.7); }
    100% { box-shadow: 0 0 10px rgba(0, 170, 255, 0.4); }
}

@keyframes neon-pulse-pink {
    0%   { box-shadow: 0 0 10px rgba(255, 0, 200, 0.4); }
    50%  { box-shadow: 0 0 18px rgba(255, 0, 200, 0.7); }
    100% { box-shadow: 0 0 10px rgba(255, 0, 200, 0.4); }
}

@keyframes glow-hover {
    0%   { transform: scale(1); }
    100% { transform: scale(1.03); }
}

.fav-card {
    animation: neon-pulse-blue 3.5s infinite;
}
.tag {
    animation: neon-pulse-pink 4s infinite;
}

.fav-card:hover {
    transform: scale(1.05);
    transition: 0.25s ease;
    box-shadow: 0 0 22px rgba(0, 140, 255, 0.9);
}
.tag:hover {
    animation: glow-hover 0.25s forwards;
    box-shadow: 0 0 22px rgba(255, 0, 200, 1);
    background: rgba(255, 0, 200, 0.35);
}
/* --- ANIMAZIONI --- */


.footer{
    max-width: 640px;
    margin: auto;
    border: solid 2px var(--border-color);
    border-radius: 1rem;
    position: relative;
    margin-top: 4rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 640px){
    .footer{
        max-width: 90vw;
        padding: 0.5rem 0rem;
    }
}

/* SEZIONE STASERA IN TV */
.evening-programs-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0rem;
    margin: 2rem 0;
    justify-content: start;
    align-items: baseline;
    overflow-x: auto;
    overflow-y: hidden;
    /*max-height: 600px;
    padding-bottom: 1rem;
    */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.evening-programs-container::-webkit-scrollbar {
    height: 8px;
}

.evening-programs-container::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 10px;
}

.evening-programs-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.evening-programs-container .channel-column{
    flex: 0 0 auto;
    width: 250px;
    text-align: center;
    overflow: hidden;
    border: solid 0px var(--border-color-dark);
    /*border-radius: 5px;*/
    margin: 0.3rem;
}

.evening-programs-container .channel-column .channel-logo {
    width: 100%;
    height: 80px; 
    margin: auto;
    object-fit: cover;
    overflow: hidden;
    align-content: center;
    background:none;
    border: solid 1px var(--border-color-dark);
}

.evening-programs-container .channel-column .channel-logo .logo-image {
    width: auto;
    height: 90%;
    object-fit: cover;
}

.evening-programs-container .channel-column .programs-column {
    overflow-y: auto;
    max-height: 500px;
    position: relative;
    margin-top: 2px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.evening-programs-container .programs-column::-webkit-scrollbar {
    height: 4px;
    width: 5px;
}
.evening-programs-container .programs-column::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 8px;
}
.evening-programs-container .programs-column::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 8px;
}

.evening-programs-container .channel-column .program {
    height: 10rem;
    position: relative;
    z-index: 2;
    border: solid 1px #2e2f42;
    border-radius: 10px;
    margin-bottom: 20px;
}

.evening-programs-container .channel-column div.program-image {
    position: absolute;
    left: 0;
    z-index: -1;
    top: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.evening-programs-container .channel-column img.program-image {
    width: 100%;
    height: 100%;
    z-index: 0;
    position: absolute;
    overflow: hidden;
    object-fit: cover;
    opacity: 0.4;
    border-radius: 0;
}

.evening-programs-container .channel-column .program .program-time {
    color: var(--text-primary);
    font-size:1.2rem;
}
.evening-programs-container .channel-column .program .program-title {
    color: var(--text-primary);
    font-size:1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.evening-programs-container .channel-column .program .program-genre {
    
}

.evening-programs-container .channel-column .program div.program-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    z-index: 1;
    overflow: hidden;
}

.evening-programs-container .channel-column .program div.progress-bar {
    background: var(--primary-color);
    height: 5px;
}


/* TELECOMANDO */
#remote-container {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    z-index: 1050;
}

.remote-toggle-button {
    /*
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    
    
    transition: transform 0.2s ease;
    border: 2px solid rgba(255,255,255,0.3);
    */
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.remote-toggle-button:hover {
    transform: scale(1.1);
}

.remote-control-ui {
    position: absolute;
    bottom: 80px; /* Sopra il pulsante di toggle */
    right: 0;
    width: 10rem;
    background: linear-gradient(135deg, var(--card-bg), var(--hover-bg));
    border: 2px solid var(--primary-color);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 40px rgba(13, 202, 240, 0.3);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

#remote-container.active .remote-control-ui {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.remote-display-screen {
    background: #0a3d4a;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: right;
    font-size: 2rem;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    border: 2px solid var(--primary-color);
    height: 60px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.remote-status{
    font-size: 0.7rem;
    font-family: monospace;
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding: 0.3rem;
    border: solid 1px var(--border-color);
    border-radius: 5px;
    max-height: 200px;
    overflow: auto;
    overflow-x: hidden;
    scroll-behavior: smooth
}

.remote-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    overflow: auto;
    max-height: 500px;
}

.remote-keypad button {
    background: var(--hover-bg);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0 auto;
}

.remote-keypad button:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: scale(1.1);
}

.remote-keypad button:active {
    transform: scale(0.95);
}

.remote-keypad .key-mic {
    background: linear-gradient(135deg, #e63946, #f72585);
    border-color: #e63946;
    color: white;
}

.remote-keypad .key-mic:hover {
    background: #e63946;
}

@keyframes pulse-mic {
  0% {
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(230, 57, 70, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
  }
}
.remote-keypad .key-mic.pulsing-mic {
    animation: pulse-mic 1.5s infinite;
}

.genre-group {
    border: solid 2px var(--box-shadow-color);
    box-shadow: 0 0 12px var(--box-shadow-color);
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.genre-group .genre-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: space-between;
    cursor: pointer;
    padding: 0.5rem 1.5rem;
    font-size: 1.1rem;
}

.genre-group .horizontal-scroll{
    padding-left: 1rem;
    gap: 1rem;
}

.genre-group .movie-card {
    position: relative;
    border: solid 1px var(--border-color-dark);
    padding: 0;
    margin: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    
    height: 370px;
    width: 200px;
    min-height: 370px;
    min-width: 200px;

    background-color: var(--card-bg);
    box-shadow: none;
    cursor: pointer;
    transition: transform 0.25s ease;
}
.genre-group .movie-card:hover {
    /*transform: scale(1.05);*/
    box-shadow: 0 0 15px var(--primary-color);
}

.genre-group .movie-card img.movie-poster{
    object-fit: cover;
    height: 83%;
    width: 100%;
}

.genre-group .movie-card .movie-title{
    padding: 0.25rem 1.0rem;
    font-size: 1.0rem;
    font-weight: 600;
}

.genre-group .movie-card .movie-icons {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 90%;
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    z-index: 10;
}

.movie-icons  .badge-live{
    position: relative;
    top: 0;
    left: 0;
}

.movie-icons  .badge-favorite {
    position: relative;
    top: 0;
    right: 0;
    margin-right: 1rem;
    line-height: normal;
}


@media (max-width: 768px) {
    .genre-group .movie-card {
        height: 220px;
        width: 125px;
        min-height: 220px;
        min-width: 125px;
    }
    
    .genre-group .movie-card .movie-icons {
        position: absolute;
        top: 0.25rem;
        left: 0.25rem;
    }
    .genre-group .movie-card .movie-title{
        padding: 0.125rem 0.5rem;
        font-size: 0.8rem;
    }
}

.bi-2x{
    font-size: x-large;
}
.bi-3x{
    font-size: xx-large;
}

.modal.show.backdrop-blur {
    background-color: var(--bg-dark); 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    opacity: 1 !important;
}

/* SEZIONE PUBBLICITA - Sfondo e Sfocatura */
#pubblicitaModal.modal.show {
    background-color: var(--bg-black); 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    opacity: 1 !important; 
}

/* Stile del contenuto interno */
#pubblicitaModal .modal-content {
    border: 1px solid #fff;
    box-shadow: 0 0 20px var(--bg-light);
    background: #000;
    width: 80vw;
    max-width: 1024px;
    height: 70vh;
    max-height: 90vh;
    margin: auto; /* Centratura extra */
    margin-top: 0;
}

#pubblicitaModal .modal-header,
#pubblicitaModal .modal-footer {
    border-color: rgba(255, 255, 255, 0.2); /* Bianco semitrasparente è più elegante */
}

#pubblicitaModal .modal-title {
    color: var(--text-primary);
    font-style: oblique;
    font-weight: 600;
}

#pubblicitaModal .modal-body {
    /* Per Firefox: spessore e colori (thumb e track) */
    scrollbar-width: thin;
    scrollbar-color: #444 #1a1a1a;

    /* Scrollbar specifica per Chrome, Safari e Edge */
    overflow-y: auto;
}

/* Personalizzazione per Webkit (Chrome/Safari) */
#pubblicitaModal .modal-body::-webkit-scrollbar {
    width: 6px; /* La rende molto sottile */
}

#pubblicitaModal .modal-body::-webkit-scrollbar-track {
    background: #1a1a1a; /* Sfondo della barra (grigio quasi nero) */
    border-radius: 10px;
}

#pubblicitaModal .modal-body::-webkit-scrollbar-thumb {
    background: #444; /* Colore della barra che scorre (grigio scuro) */
    border-radius: 10px;
}

#pubblicitaModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #555; /* Si schiarisce leggermente al passaggio del mouse */
}

#pubblicitaModal .btn-close {
    background-color: var(--bg-black);
    border-color: var(--bg-light);
    color: var(--text-primary);
    opacity: 0.8;
}

#pubblicitaModal .btn-close:hover {
    opacity: 1;
}

.adsbygoogle {
    min-width: 250px;
    min-height: 250px;
    background: rgba(255,255,255,0.05); /* Giusto per vederlo in test */
}

/* SEZIONE SMART AI */
/* Container della Ricerca AI */


.smart-assistant {
    /* Sfondo: un gradiente radiale che parte dal centro-alto */
    background: radial-gradient(circle at 50% 0%, rgb(84 94 148 / 90%) 0%, rgb(7 11 39 / 95%) 100%);
    
    /* Effetto vetro (Glassmorphism) */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    /* Bordo neon sottile */
    border: 1px solid rgba(13, 202, 240, 0.4);
    border-radius: 2rem;
    
    /* Il "Glow" esterno: un'ombra azzurra soffusa */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 
                0 0 30px rgba(13, 202, 240, 0.15);
    
    padding: 2.5rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

/* Opzionale: un riflesso luminoso nell'angolo in alto per dare profondità */
.smart-assistant::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, 
                rgba(13, 202, 240, 0.05) 0%, 
                transparent 50%);
    pointer-events: none;
}

@keyframes borderPulse {
    0% { border-color: rgba(13, 202, 240, 0.4); box-shadow: 0 0 20px rgba(13, 202, 240, 0.1); }
    50% { border-color: rgba(13, 202, 240, 0.7); box-shadow: 0 0 40px rgba(13, 202, 240, 0.25); }
    100% { border-color: rgba(13, 202, 240, 0.4); box-shadow: 0 0 20px rgba(13, 202, 240, 0.1); }
}

.smart-assistant {
    animation: borderPulse 4s infinite ease-in-out;
}



/* Stile per i titoli degli step */
.ai-step-title {
    font-size: 1.1rem;
    color: var(--text-primary);
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
}

.step-number {
    display: inline-block;
    width: 25px;
    height: 25px;
    background: var(--primary-color);
    color: var(--dark-bg);
    border-radius: 50%;
    font-size: 0.8rem;
    line-height: 25px;
    margin-right: 10px;
    vertical-align: middle;
    box-shadow: 0 0 10px var(--box-shadow-color);
}

/* Modifica al contenitore input per farlo risaltare in basso */
.ai-input-wrapper {
    /*
    background: rgba(13, 202, 240, 0.05);
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px dashed rgba(13, 202, 240, 0.2);
    */
}

.ai-input-container {
    background: var(--dark-bg); /* Sfondo più scuro per contrasto */
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(13, 202, 240, 0.2);
}

.btn-ai-send {
    padding: 0 20px;
    width: auto; /* Più largo perché ora ha il testo */
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
}



.ai-input-container {
    background: var(--card-bg);
    border-radius: 1.5rem;
    padding: 1rem;
    border: 2px solid var(--border-color-dark);
    transition: border-color 0.3s ease;
    position: relative;
}

.ai-input-container:focus-within {
    border-color: var(--primary-color);
}

.ai-textarea {
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
    resize: none;
    /*height: 100px;*/
    padding-right: 50px; /* Spazio per i bottoni */
    box-shadow: none !important;
}

/* Effetto focus sulla textarea */
.ai-textarea:focus {
    color: #fff;
}

.ai-controls {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

.btn-ai-icon, .btn-ai-send {
    background: var(--hover-bg);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-ai-send {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.btn-ai-send:disabled {
    opacity: 0.8;
    cursor: not-allowed;
    filter: grayscale(0.5);
    background-color: var(--border-color-dark);
    box-shadow: none !important;
    border-color: var(--text-secondary);
}

/* Rimpiccioliamo un po' lo spinner per farlo stare bene nel bottone */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

.btn-ai-icon:hover, .btn-ai-send:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--primary-color);
}


/* Quando il microfono è attivo */
.btn-ai-icon.pulsing-mic {
    color: #ff4757 !important;
    border-color: #ff4757 !important;
    background: rgba(255, 71, 87, 0.1);
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 71, 87, 0);
        transform: scale(1.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
        transform: scale(1);
    }
}

/* Opzionale: cambia anche l'icona all'interno se vuoi */
.pulsing-mic i::before {
    text-shadow: 0 0 10px #ff4757;
}


/* Mood Cards */
.mood-card {
    min-width: 100px;
    background: var(--card-bg);
    border: 1px solid var(--border-color-dark);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 0 0 auto;
}

.mood-card.active {
    border-color: var(--primary-color);
    background: var(--hover-bg);
    box-shadow: 0 0 15px var(--box-shadow-color);
}

.mood-emoji {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.mood-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: capitalize;
}

.ai-reasoning {
    animation: fadeIn 0.5s ease;
}

/* Esempio per il pulsante tempo selezionato */
.channel-filter-active {
    background: var(--primary-color) !important;
    color: var(--dark-bg) !important;
    box-shadow: 0 0 20px var(--primary-color) !important;
    transform: scale(1.05);
}

/* Esempio per il mood selezionato */
.mood-card.active {
    border: 2px solid var(--primary-color);
    background: rgba(13, 202, 240, 0.15);
    transform: translateY(-5px);
}

.btn-reset-ai {
    background: transparent;
    border: 1px solid rgba(176, 184, 200, 0.3);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-reset-ai:hover {
    border-color: #ff4757; /* Un rosso cyberpunk */
    color: #ff4757;
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.3);
    transform: rotate(-90deg); /* Effetto rotazione al passaggio */
}

.ai-suggestion-card {
    background: rgba(13, 202, 240, 0.05);
    border: 1px solid rgba(13, 202, 240, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ai-suggestion-card:hover {
    transform: translateY(-5px);
    background: rgba(13, 202, 240, 0.1);
    box-shadow: 0 0 20px rgba(13, 202, 240, 0.2);
    border-color: var(--primary-color);
}

.ai-suggestion-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}


@media (max-width: 768px) {
    .smart-assistant {
        padding: 1rem;
    }

    .ai-input-container {
        padding: 0.25rem !important;
        border-radius: 1rem!important;
    }
    .form-control {
        padding: 0.5rem !important;
    }
    .mood-card {
        min-width: 80px;
        border-radius: 0.5rem;
        padding: 0.25rem;
    }
}

/* ── Toast Notifications ─────────────────────────────────────────── */
.toast-container {
    position: fixed;
    top: 100px; /* Appare dall'alto */
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast-item {
    min-width: 280px;
    max-width: 380px;
    background: #1e293b; /* Colore scuro solido se var(--card-bg) fallisce */
    border: 1px solid var(--border-color);
    border-radius: 3px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    padding: 16px;
    pointer-events: auto;
    color: #ffffff !important; /* Forza il testo bianco per visibilità */
    display: flex;
    flex-direction: column;
    border-left-width: 15px;
}

/* Colori per tipo ben definiti */
.toast-item.success { border-color: #22c55e; box-shadow: 0 10px 15px -3px rgba(41, 197, 94, 0.6); }
.toast-item.error   { border-color: #ef4444; box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.6); }
.toast-item.warning { border-color: #f59e0b; box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.6); }
.toast-item.info    { border-color: #3b82f6; box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.6); }

.toast-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.toast-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #f8fafc;
}

.toast-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 0 0 10px;
    margin-top: -5px;
    transition: color 0.2s;
}

.toast-close:hover { color: #ffffff; }

.toast-body {
    font-size: 0.85rem;
    color: #cbd5e1; /* Grigio chiaro per il corpo, ottimo contrasto */
    line-height: 1.4;
}

/* Animazioni (Top-Down) */
.toast-enter-active, .toast-leave-active {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast-enter-from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
}
.toast-leave-to {
    opacity: 0;
    transform: translateX(20px); /* Esce lateralmente per pulizia */
}
.toast-move { transition: transform 0.4s; }

.no-results-container {
    width: 100%;
    height: 200px;
    margin-top: 0rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.no-results-container .no-results-image{
    width: auto;
    height: 70%;
    object-fit: fill;
    margin-bottom: 8px;
    border: solid 1px var(--border-color-dark);
    border-radius: 5px;
    overflow: hidden;
}
.no-results-container .no-results-text{
    font-size: 0.8rem;
    color: var(--bs-dark-bg-subtle);
}

/* ===== TODAY INFO SECTION ===== */
.today-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 480px) {
    .today-info-grid {
        grid-template-columns: 1fr;
    }
}

.today-info-card {
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.4rem;
    transition: box-shadow 0.3s ease;
}

.today-info-card--primary {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 18px var(--box-shadow-color);
}

.today-info-card--violet {
    background: var(--background-color-violet);
    border: 2px solid var(--border-color-violet);
    box-shadow: 0 0 18px var(--box-shadow-violet);
}

.today-info-day-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color-violet);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.today-info-date-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.today-info-day {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.today-info-month-year {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.today-info-month {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.today-info-year {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.today-info-clock {
    display: flex;
    align-items: baseline;
    gap: 0;
    margin-top: 0.25rem;
}

.today-info-clock--sm .today-info-hm {
    font-size: 1.6rem;
}

.today-info-clock--sm .today-info-colon {
    font-size: 1.4rem;
}

.today-info-clock--sm .today-info-sec {
    font-size: 1.1rem;
}

.today-info-hm {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}

.today-info-colon {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-secondary);
    margin: 0 1px;
    animation: blink-colon 1s step-end infinite;
}

.today-info-details {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 2;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    flex-direction: column;
}

.today-info-extra {
    background: var(--dark-bg); 
    border-radius: var(--border-radius);
    padding: 5px 10px;
    min-width: 40px;
    display: inline-block;
    text-align: center;
    margin-bottom: 5px;
}

@keyframes blink-colon {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

.today-info-sec {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

.today-info-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.today-info-card--violet .today-info-icon {
    color: var(--accent-color);
}

.today-info-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
}

.today-info-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.today-info-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.1rem;
    max-width: 185px;
}

.current-time.active {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-color);
}
