:root {
   --primary-color: #2563eb;
   --secondary-color: #4f46e5;
   --accent-work: #10b981;
   /* Emerald for work */
   --accent-rest: #f59e0b;
   /* Amber for rest */
   --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
   --surface-glass: rgba(255, 255, 255, 0.7);
   --text-main: #1e293b;
   --text-sub: #64748b;
}

body {
   background: var(--bg-gradient);
   min-height: 100vh;
}

.healthy-main {
   display: flex;
   justify-content: center;
   align-items: center;
   min-height: 100vh;
   padding: 100px 20px 40px;
}

.container {
   width: 100%;
   max-width: 500px;
}

/* Glass Panel Styles */
.glass-panel {
   background: var(--surface-glass);
   backdrop-filter: blur(16px);
   -webkit-backdrop-filter: blur(16px);
   border: 1px solid rgba(255, 255, 255, 0.5);
   border-radius: 24px;
   padding: 40px;
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
   transition: opacity 0.3s ease, transform 0.3s ease;
}

.hidden {
   display: none;
   opacity: 0;
   pointer-events: none;
}

.visible {
   display: block;
   opacity: 1;
   animation: slideUp 0.5s ease-out forwards;
}

@keyframes slideUp {
   from {
      opacity: 0;
      transform: translateY(20px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

/* Typography */
.page-title {
   font-size: 2rem;
   font-weight: 800;
   margin-bottom: 10px;
   background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   text-align: center;
}

.page-desc {
   text-align: center;
   color: var(--text-sub);
   margin-bottom: 30px;
}

/* Form Styles */
.input-group {
   margin-bottom: 20px;
}

.input-group label {
   display: block;
   font-size: 0.9rem;
   font-weight: 600;
   color: var(--text-main);
   margin-bottom: 8px;
}

.input-group input {
   width: 100%;
   padding: 12px 16px;
   border: 2px solid #e2e8f0;
   border-radius: 12px;
   font-size: 1rem;
   font-weight: 600;
   color: var(--text-main);
   background: rgba(255, 255, 255, 0.8);
   transition: all 0.2s;
   font-family: 'Outfit', sans-serif;
   /* Setup for numbers */
}

.input-group input:focus {
   outline: none;
   border-color: var(--primary-color);
   box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Timer UI */
.timer-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 30px;
}

.status-badge {
   padding: 6px 16px;
   border-radius: 20px;
   font-size: 0.85rem;
   font-weight: 700;
   text-transform: uppercase;
   background: #e2e8f0;
   color: var(--text-sub);
   transition: all 0.3s;
}

.status-badge.work {
   background: rgba(16, 185, 129, 0.1);
   color: var(--accent-work);
}

.status-badge.rest {
   background: rgba(245, 158, 11, 0.1);
   color: var(--accent-rest);
}

.status-badge.complete {
   background: var(--primary-color);
   color: white;
}

.set-indicator {
   font-weight: 700;
   color: var(--text-main);
   font-size: 1.1rem;
}

.timer-display {
   position: relative;
   width: 280px;
   height: 280px;
   margin: 0 auto 40px;
   display: flex;
   justify-content: center;
   align-items: center;
}

/* Circular Progress */
.progress-ring {
   transform: rotate(-90deg);
   position: absolute;
   top: 0;
   left: 0;
}

.progress-ring__circle {
   transition: stroke-dashoffset 0.1s linear, stroke 0.3s ease;
   transform-origin: 50% 50%;
}

.time-text {
   z-index: 2;
   text-align: center;
}

#time-left {
   display: block;
   font-size: 4rem;
   font-weight: 800;
   color: var(--text-main);
   font-family: 'Outfit', sans-serif;
   line-height: normal;
}

.sub-text {
   font-size: 1.2rem;
   color: var(--text-sub);
   font-weight: 500;
   margin-top: 5px;
}

/* Controls */
.controls {
   text-align: center;
   display: flex;
   flex-direction: column;
   gap: 15px;
   margin-top: 20px;
}

#start-set-btn {
   background-color: #2563eb !important;
   /* Hardcoded Royal Blue */
   color: #ffffff !important;
   border: 1px solid #2563eb !important;
   opacity: 1 !important;
   display: block !important;
   visibility: visible !important;
   position: relative;
   z-index: 100;
   padding: 14px 32px;
   min-height: 50px;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.controls button {
   width: 100%;
}

/* Responsive */
@media (max-width: 480px) {
   .glass-panel {
      padding: 24px;
   }

   .page-title {
      font-size: 1.75rem;
   }

   .timer-display {
      width: 240px;
      height: 240px;
      margin-bottom: 30px;
   }

   .progress-ring {
      width: 240px;
      height: 240px;
   }

   .progress-ring__circle {
      cx: 120;
      cy: 120;
      r: 100;
   }

   #time-left {
      font-size: 3rem;
   }
}