    /* Ensure full height layout */
html, body {
  height: 100%!important;
}

/* Main wrapper should grow */
.page-wrapper {
  flex: 1 0 auto!important;
}

/* Footer stays at bottom */
footer {
  margin-top: auto!important;
  bottom: 0px;
}
    
 .logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  display: block;
}
 .logo-img1 {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.bg-info {
    --si-bg-opacity: 1;
    background-color: #2096d2 !important;
}
/*.modern-card {
  background: linear-gradient(145deg, #ffffff, #d6ecf9);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(32, 150, 210, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(32, 150, 210, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.card-title {
  font-size: 1.0rem;
  font-weight: 600;
  color: #1b1f31;
}

.dots-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.dots-menu .dot {
  width: 4px;
  height: 4px;
  background-color: #888;
  border-radius: 50%;
}

.v1-badge {
  padding: 6px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(32, 150, 210, 0.3);
}

.v1-badge.active {
  background: linear-gradient(135deg, #2096d2, #50bced);
}

.v1-badge.inactive {
  background: linear-gradient(135deg, #d92020, #ff6161);
  box-shadow: 0 4px 12px rgba(217, 32, 32, 0.3);
}
.color-wrapper {
    position: relative;
    display: inline-block;
  }

  #colorCircle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ccc;
    cursor: pointer;
    outline: none;
  }

  #colorPicker {
    position: absolute;
    top: -40px;
    left: 0;
    opacity: 0;
    width: 32px;
    height: 32px;
    cursor: pointer;
  }
.day-pill {
    border-radius: 50rem;
    background-color: #f1f1f1;
    color: #000;
    padding: 8px 16px;
    cursor: pointer;
    user-select: none;
    transition: 0.3s;
    font-weight: 500;
  }

  .day-pill.active {
    background: linear-gradient(135deg, #2096d2, #50bced);
    color: #fff;
  }
  .day-pill {
    border-radius: 50rem;
    background-color: #f1f1f1;
    color: #000;
    padding: 8px 16px;
    cursor: pointer;
    user-select: none;
    transition: 0.3s;
    font-weight: 500;
  }
*/

 .btn-glossy {
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    border: 1px solid #ccc;
    color: #333;
    border-radius: 12px;
    font-weight: 500;
    transition: 0.3s ease;
    overflow: hidden;
    white-space: nowrap;
  }

  .btn-glossy:hover {
    background: linear-gradient(145deg, #f5f5f5, #dcdcdc);
    transform: scale(1.02);
    color: #000;
  }

  .btn-glossy span {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .table td a{
    color: #fff;
    text-decoration: none;
  }
.table td a:hover {
  color: #2096d2;
  text-decoration: none;
}
.scene-btn {
  padding: 20px 10px;
  border-radius: 12px;
  font-weight: 600;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;background: linear-gradient(45deg, #151822, #333333);
  box-shadow: 0 8px 0 rgba(0,0,0,0.5);
  transform: translateY(0);
}

.scene-btn:active {
  transform: translateY(3px);
   box-shadow: 0 8px 0 rgba(0,0,0,0.5);
}

.scene-btn .title {
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
}

.scene-btn .channel {
  margin-top: 10px;
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 2px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
}

/* ON state */
.scene-btn.on {
  background: linear-gradient(45deg, #151822, #333333);
  color: #fff;
   box-shadow: 0 8px 0 rgba(0,0,0,0.5);
}

/* OFF state */
.scene-btn.off {
  background: #555;
  color: #fff;
  box-shadow: 0 8px 0 #333, 0 6px 12px rgba(0,0,0,0.6);border:1px solid #fff;
}
  @media (max-width: 576px) {
    .btn-glossy {
      font-size: 14px;
      padding: 0.75rem 0.75rem;
    }
  }
  .section-box {
      background: #111827;
      padding: 20px;
      border-radius: 12px;
      margin-bottom: 20px;
    }

  .color-btn {
    background: #2d3748;
    color: #fff;
    border-radius: 20px;
    padding: 6px 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
  }
  .color-btn input[type="color"] {
    -webkit-appearance: none;
    border: none;
    width: 40px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
  }
  .color-btn input[type="color"]::-webkit-color-swatch {
    border-radius: 6px;
    border: 2px solid #fff;
  }
  .child-btn {
      background: #2d3748;
      color: #fff;
      border: none;
      padding: 8px 15px;
      margin: 4px;
      border-radius: 8px;
      font-size: 14px;
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }
    .child-btn.active {
      background: #2096d2;
      font-weight: bold;
    }
    .child-btn.active::after {
      content: "\eb4c"; 
      font-family: "boxicons" !important;
      font-size: 24px;
      color: rgba(255,255,255,0.2);
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      pointer-events: none;
    }
    .rename-btn {
      background: #2d3748;
      color: #fff;
      border: none;
      padding: 8px 15px;
      margin: 4px;
      border-radius: 8px;
      font-size: 14px;
      cursor: pointer;
      transition: all 0.2s;
    }
    .rename-btn.active {
      background: #2096d2;
      font-weight: bold;
    }

    .rename-box {
      background: #1f2937;
      padding: 12px;
      border-radius: 10px;
      margin-top: 12px;
    }
    .save-btn {
      background: #2096d2;
      color: #fff;
      border: none;
      border-radius: 10px;
      padding: 10px 25px;
      font-size: 16px;
      font-weight: 600;
      display: block;
      margin: 0 auto;
      transition: 0.3s;
    }
    .save-btn:hover {
      background: #2096d2;
    }
     .form-check1 {
      background: #21262d;
      border-radius: 8px;
      padding: 10px 15px;
      margin-bottom: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .form-check-label1 {
      font-weight: 600;
    }
    .form-check-input1 {
      width: 20px;
      height: 20px;
      cursor: pointer;
    }
    .modal-content {
      background: #161b22;
      color: #fff;
      border-radius: 10px;
      padding: 15px;
    }
    .accordion-button {
      background: #161b22;
      color: #fff;
    }
    .accordion-button:not(.collapsed) {
      background: #21262d;
      color: #fff;
    }
    .accordion-body {
      background: #111827;#161b22;
    }
    /* Channel buttons */
    .channel-btn11 {
      margin: 5px;
      padding: 8px 16px;
      border-radius: 8px;
      border: none;
      background: #2d333b;
      color: #fff;
      cursor: pointer;
      transition: 0.2s;
    }
    .channel-btn11.active {
      background: #2096d2;
      color: #fff;
      box-shadow: 0 0 10px rgba(13,110,253,0.6);
    }
     .channel-btn {
      margin: 5px;
      padding: 8px 16px;
      border-radius: 8px;
      border: none;
      background: #2d333b;
      color: #fff;
      cursor: pointer;
      transition: 0.2s;
    }
    .channel-btn.active {
      background: #2096d2;
      color: #fff;
      box-shadow: 0 0 10px rgba(13,110,253,0.6);
    }
 .channel-btn11.active {
    background-color: #2096d2 !important;
    color: #fff !important;
    border: none !important;
  }
  .slider-box {
    background: #111827;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
  }
  .form-range::-webkit-slider-thumb {
    background: #fff;
  }
  .slider-label {
    font-size: 14px;
    margin-bottom: 4px;
  }
 .day-pill {
    border-radius: 50rem;
    background-color: #f1f1f1;
    color: #000;
    padding: 8px 16px;
    cursor: pointer;
    user-select: none;
    transition: 0.3s;
    font-weight: 500;
  }

  .day-checkbox:checked + .day-pill {
  background: #2096d2;
  color: #fff;
}
.day-checkbox {
  display: none;
}
[data-bs-theme=dark] .input-group:not([data-bs-theme=light]) .input-group-text:first-of-type:not(:last-child) {
    border-right-color: #ffffff2e;
}
@media (min-width: 1200px) {
    .h2, h2 {
        font-size: 1.3rem;
    }
    .h5, h5 {
    font-size: 1.10rem;
  }
    table.table td,
  table.table th {      
    font-size: 0.95rem;   
  }

}