/* Custom styles for WSJF Calculator */

:root {
  --primary: #0d6efd;
  --low-color: #198754;   /* Bootstrap success */
  --medium-color: #fd7e14; /* Bootstrap warning/orange */
  --high-color: #dc3545;   /* Bootstrap danger */
}

body {
  background-color: #f8f9fa;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Header styles */
.app-title {
  color: var(--primary);
  font-weight: bold;
}

.app-subtitle {
  color: #6c757d;
}

/* Card styles */
.app-card {
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

/* Value indicators */
.value-badge {
  font-size: 0.8rem;
  border-radius: 0.25rem;
  padding: 0.2rem 0.5rem;
  color: white;
  display: inline-block;
}

.value-low {
  background-color: var(--low-color);
}

.value-medium {
  background-color: var(--medium-color);
}

.value-high {
  background-color: var(--high-color);
}

/* Custom slider thumb colors */
input[type=range] {
  height: 8px;
  border-radius: 4px;
  cursor: pointer;
}

/* Result display */
.result-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary);
}

/* History items */
.history-item {
  border-radius: 0.5rem;
  border: 1px solid #dee2e6;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background-color: white;
}

.history-time {
  font-size: 0.8rem;
  color: #6c757d;
}

/* Help icon */
.help-icon {
  cursor: pointer;
  color: var(--primary);
}

/* Install prompt */
.install-prompt {
  background-color: rgba(13, 110, 253, 0.1);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

/* Footer */
.app-footer {
  color: #6c757d;
  font-size: 0.875rem;
  text-align: center;
  margin-top: 2rem;
}