/* AirDate App Stylesheet
  Focus: Modern, High-Performance UI for GTM 
*/

/* --- 1. GLOBAL STYLES --- */
body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top center, #1e293b 0%, #020617 100%);
  color: #f1f5f9; /* Slate-100 fallback */
  min-height: 100vh;
}

.subline {
  text-align: center;
  line-height: 10px;
  font-size: 12px;
}

/* --- 2. ANIMATIONS --- */

/* Soft Glow Pulse for Status Indicators */
.pulse {
  animation: pulse-soft 2s infinite;
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Shimmer Effect for Loading Skeletons */
.skeleton {
  display: inline-block;
  background: #1e293b;
  background-image: linear-gradient(
    to right, 
    #1e293b 0%, 
    #334155 20%, 
    #1e293b 40%, 
    #1e293b 100%
  );
  background-repeat: no-repeat;
  background-size: 800px 100%; 
  animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
  0% { background-position: -468px 0; }
  100% { background-position: 468px 0; }
}

/* --- 3. COMPONENTS --- */

/* Custom Toggle Switch (Exact Match) */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 22px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #334155;
  transition: 0.4s;
  border-radius: 34px;
}

/* Slider Dot */
.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

/* Active State Colors */
input:checked + .slider {
  background-color: #06b6d4; /* Cyan-500 */
}

input:checked + .slider:before {
  transform: translateX(22px);
}