/* ====================================================================
   Pomodoro Timer - Tool-Specific Styles
   赤色テーマの独自デザイン (#pomodoro-app で高specificity確保)
   ==================================================================== */

/* Timer Section - メインタイマー表示 */
#pomodoro-app .timer-section {
  margin: 48px 0;
  display: flex;
  justify-content: center;
}

#pomodoro-app .timer-card {
  background: linear-gradient(135deg, var(--tool-primary) 0%, #C62828 100%);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 10px 40px rgba(229, 57, 53, 0.3);
  width: 100%;
  text-align: center;
}

#pomodoro-app .timer-mode-display {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

#pomodoro-app .timer-display {
  font-size: 5rem;
  font-weight: 700;
  color: white;
  font-family: 'Courier New', monospace;
  margin: 32px 0;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#pomodoro-app .timer-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

#pomodoro-app .timer-controls .btn-primary {
  background-color: #FFFFFF;
  color: var(--tool-primary);
  font-weight: 700;
  border: none;
  width: auto;
}

#pomodoro-app .timer-controls .btn-primary:hover {
  background-color: #FAFAFA;
  color: #C62828;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#pomodoro-app .timer-controls .btn-secondary {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  width: auto;
}

#pomodoro-app .timer-controls .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
}

#pomodoro-app .btn-large {
  font-size: 1.125rem;
  padding: 16px 32px;
}

#pomodoro-app .timer-progress {
  margin-bottom: 24px;
}

#pomodoro-app .progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  overflow: hidden;
}

#pomodoro-app .progress-fill {
  height: 100%;
  background: white;
  border-radius: 4px;
  transition: width 0.3s ease;
  width: 0%;
}

#pomodoro-app .session-counter {
  color: white;
  font-size: 1.125rem;
}

#pomodoro-app .counter-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#pomodoro-app .counter-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

#pomodoro-app .counter-value {
  font-size: 2rem;
  font-weight: 700;
}

/* Settings Section */
#pomodoro-app .settings-section {
  margin: 48px 0;
}

#pomodoro-app .settings-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 2px solid #FFEBEE;
}

#pomodoro-app .setting-item {
  margin-bottom: 24px;
}

#pomodoro-app .setting-item label:not(.checkbox-label) {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 0.9375rem;
}

#pomodoro-app .setting-item input[type="number"] {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  font-size: 1rem;
}

#pomodoro-app .setting-item input[type="number"]:focus {
  outline: none;
  border-color: var(--tool-primary);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

#pomodoro-app .settings-card .btn-secondary {
  background-color: var(--tool-primary);
  color: white;
  border: none;
  width: 100%;
}

#pomodoro-app .settings-card .btn-secondary:hover {
  background-color: #C62828;
  transform: translateY(-2px);
}

/* Step number override (red gradient instead of blue) */
#pomodoro-app .step-number {
  background: linear-gradient(135deg, var(--tool-primary) 0%, #C62828 100%);
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  #pomodoro-app .timer-card {
    padding: 32px 24px;
  }

  #pomodoro-app .timer-display {
    font-size: 3.5rem;
  }

  #pomodoro-app .timer-controls {
    flex-direction: column;
  }

  #pomodoro-app .btn-large {
    width: 100%;
  }

  #pomodoro-app .timer-controls .btn-primary,
  #pomodoro-app .timer-controls .btn-secondary {
    width: 100%;
  }
}
