/* ==========================================================================
   AI WAKEUP ALARM - DESIGN SYSTEM & STYLING
   ========================================================================== */

/* --- CSS Variables / Color Palette --- */
:root {
  --bg-dark: #0b0f19;
  --bg-card: rgba(22, 29, 45, 0.75);
  --bg-card-hover: rgba(30, 40, 62, 0.85);
  --bg-overlay: rgba(8, 11, 20, 0.92);

  --accent-primary: #6366f1; /* Indigo / Violet */
  --accent-primary-hover: #4f46e5;
  --accent-cyan: #06b6d4;
  
  --accent-alarm: #ef4444; /* Vivid Red Glow */
  --accent-alarm-pulse: rgba(239, 68, 68, 0.4);

  --accent-success: #10b981; /* Emerald Green Glow */
  --accent-warning: #f59e0b;

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --border-color: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(99, 102, 241, 0.3);

  --font-family: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-main: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.25);
  --shadow-alarm: 0 0 35px rgba(239, 68, 68, 0.4);
}

/* --- Base Reset & Typography --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Ambient Glows */
.app-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
}

.orb-1 {
  width: 450px;
  height: 450px;
  background: var(--accent-primary);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-cyan);
  bottom: -150px;
  right: -100px;
}

/* App Container */
.app-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --- Header Section --- */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-cyan));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.brand h1 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand h1 span {
  background: linear-gradient(135deg, var(--accent-cyan), #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Badge Status Model AI */
.ai-status-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-dim);
}

.status-loading .status-dot {
  background: var(--accent-warning);
  box-shadow: 0 0 10px var(--accent-warning);
  animation: pulseDot 1.2s infinite;
}

.status-ready .status-dot {
  background: var(--accent-success);
  box-shadow: 0 0 10px var(--accent-success);
}

.status-error .status-dot {
  background: var(--accent-alarm);
  box-shadow: 0 0 10px var(--accent-alarm);
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* --- Main Layout Grid --- */
.main-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  flex: 1;
}

@media (max-width: 900px) {
  .main-content {
    grid-template-columns: 1fr;
  }
}

/* --- Card Base --- */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-main);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
}

.card-header h2 i {
  color: var(--accent-cyan);
}

.badge-pill {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-pill.info {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border-color: rgba(6, 182, 212, 0.3);
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- Jam Digital & Form Setting --- */
.digital-clock-container {
  background: rgba(11, 15, 25, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.digital-clock {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(180deg, #ffffff, #d1d5db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.live-date {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Form Input Alarm */
.alarm-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.time-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.clock-input-icon {
  position: absolute;
  left: 1.2rem;
  color: var(--accent-cyan);
  font-size: 1.2rem;
  pointer-events: none;
}

.time-input {
  width: 100%;
  background: rgba(11, 15, 25, 0.8);
  border: 1.5px solid var(--border-color);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  padding: 0.75rem 1rem 0.75rem 3.2rem;
  border-radius: var(--radius-md);
  outline: none;
  transition: all 0.25s ease;
  letter-spacing: 2px;
}

.time-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

/* Quick Presets */
.quick-presets {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.preset-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-preset {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-preset:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--accent-primary);
  color: #fff;
}

/* Buttons System */
.action-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-hover));
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.btn-glow {
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #fff;
}

.btn-outline-danger {
  background: transparent;
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.btn-outline-danger:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fff;
}

.btn-success {
  background: linear-gradient(135deg, var(--accent-success), #059669);
  color: #fff;
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

/* Active Alarm Status Display */
.active-alarm-status {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.alarm-info {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.ringing-icon-pulse {
  font-size: 1.4rem;
  color: var(--accent-cyan);
  animation: ringBell 2s infinite ease-in-out;
}

@keyframes ringBell {
  0%, 100% { transform: rotate(0deg); }
  10%, 30%, 50% { transform: rotate(15deg); }
  20%, 40% { transform: rotate(-15deg); }
  60% { transform: rotate(0deg); }
}

.status-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.status-time {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.status-countdown {
  font-size: 0.8rem;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* Test Trigger Wrapper */
.test-trigger-wrapper {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.help-text {
  color: var(--text-dim);
  font-size: 0.78rem;
  text-align: center;
}

/* --- Items Card & Grid --- */
.supported-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.85rem;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 0.3rem;
}

.supported-items-grid::-webkit-scrollbar {
  width: 6px;
}

.supported-items-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

.item-badge-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.item-badge-card:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.item-icon {
  font-size: 1.5rem;
  color: var(--accent-cyan);
}

.item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.item-skeleton {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 2rem 0;
  font-size: 0.9rem;
}

.model-info-box {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: rgba(6, 182, 212, 0.08);
  border: 1px dashed rgba(6, 182, 212, 0.3);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.model-info-box i {
  color: var(--accent-cyan);
  margin-top: 0.2rem;
}

.model-info-box code {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  color: var(--accent-cyan);
}

/* --- OVERLAY ALARM BERBUNYI (FULLSCREEN OVERLAY) --- */
.alarm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-overlay);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
  animation: fadeInOverlay 0.3s ease-out;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

.alarm-overlay-container {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Banner Alarm ringing pulse */
.alarm-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(185, 28, 28, 0.9));
  border: 2px solid #f87171;
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: var(--shadow-alarm);
  animation: alarmBannerPulse 1.2s infinite alternate ease-in-out;
}

@keyframes alarmBannerPulse {
  0% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.5); transform: scale(1); }
  100% { box-shadow: 0 0 45px rgba(239, 68, 68, 0.9); transform: scale(1.008); }
}

.banner-pulse-icon {
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  flex-shrink: 0;
  animation: vibrateIcon 0.15s infinite;
}

@keyframes vibrateIcon {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-2px, 2px); }
  100% { transform: translate(2px, -1px); }
}

.banner-text h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
}

.banner-text p {
  color: #fef2f2;
  font-size: 0.9rem;
}

/* Challenge Layout (2 Columns) */
.challenge-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

@media (max-width: 850px) {
  .challenge-layout {
    grid-template-columns: 1fr;
  }
}

/* Sisi Kiri: Target & Webcam */
.webcam-section {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Target Card */
.target-card {
  background: rgba(30, 41, 59, 0.8);
  border: 2px solid var(--accent-cyan);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.25);
}

.target-label-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.target-label-main {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.2rem 0 0.8rem 0;
}

/* Hold Progress Bar */
.hold-timer-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hold-timer-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
}

.hold-progress-bar-bg {
  width: 100%;
  height: 12px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.hold-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-success));
  border-radius: var(--radius-full);
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--accent-success);
}

/* Webcam Viewport */
.webcam-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-main);
}

.webcam-viewport video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1); /* Mirror camera for natural feel */
}

.webcam-overlay-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.webcam-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(16, 185, 129, 0.85);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(4px);
}

.camera-error-msg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(239, 68, 68, 0.9);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  max-width: 85%;
  color: #fff;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}

/* Sisi Kanan: Predictions Panel */
.predictions-card {
  background: rgba(22, 29, 45, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.predictions-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.predictions-card h3 i {
  color: var(--accent-cyan);
}

.predictions-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.confidence-bars-container {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.4rem;
}

/* Item Confidence Bar Row */
.confidence-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.confidence-row.is-target {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.3);
}

.confidence-row.is-matching {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.confidence-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
}

.label-name {
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.target-tag {
  font-size: 0.65rem;
  background: var(--accent-cyan);
  color: #000;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 800;
}

.confidence-percentage {
  color: var(--accent-cyan);
  font-family: var(--font-heading);
}

.bar-background {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--accent-primary);
  border-radius: var(--radius-full);
  transition: width 0.2s ease, background-color 0.2s ease;
}

.confidence-row.is-matching .bar-fill {
  background: var(--accent-success);
}

/* --- MODAL SUKSES --- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 11, 20, 0.88);
  backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-content.success-card {
  background: var(--bg-card);
  border: 2px solid var(--accent-success);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 0 0 45px rgba(16, 185, 129, 0.35);
  animation: modalPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-icon-wrapper {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--accent-success), #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
}

.success-card h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.success-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.success-details {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
}

.detail-label {
  color: var(--text-muted);
}

.detail-value {
  font-weight: 700;
  color: var(--accent-cyan);
}

.detail-value.quote {
  font-style: italic;
  font-weight: 500;
  color: var(--text-main);
}

/* --- Footer --- */
.app-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 600px) {
  .app-container {
    padding: 1rem 0.85rem;
  }
  
  .digital-clock {
    font-size: 2.2rem;
  }

  .time-input {
    font-size: 1.4rem;
  }

  .banner-text h2 {
    font-size: 1.1rem;
  }

  .target-label-main {
    font-size: 1.4rem;
  }
}
