/* Modern Calculator Styling with Pastel Colors */
:root {
  /* Pastel Color Palette */
  --pastel-blue: #f0f0f0;
  --pastel-pink: #ffcad4;
  --pastel-yellow: #fff1ac;
  --pastel-green: #c7f0bd;
  --pastel-purple: #e6eaed;

  /* Darker shades for contrast */
  --dark-blue: #d9d9d9;
  --dark-pink: #e6a4b4;
  --dark-yellow: #e6d68c;
  --dark-green: #a7d0a1;
  --dark-purple: #c7cfd6;

  /* Neutral colors */
  --light-bg: #f8f9fa;
  --text-color: #4a4a4a;
  --border-color: #e0e0e0;
}

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background-color: var(--light-bg);
  color: var(--text-color);
  line-height: 1.6;
  padding: 20px;
}

.header {
  background-color: var(--pastel-blue);
  color: var(--text-color);
  padding: 30px 20px;
  margin-bottom: 30px;
  text-align: center;
  /* Let Sketchy theme handle border and shadow styling */
}

.header h1 {
  font-weight: 600;
  margin-bottom: 10px;
}

.calculator-container {
  background: white;
  padding: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
  /* Let Sketchy theme handle border and shadow styling */
}

.card {
  margin-bottom: 20px;
  /* Let Sketchy theme handle the border styling */
  overflow: hidden;
}

.card-header {
  background-color: var(--pastel-purple);
  color: var(--text-color);
  font-weight: 600;
  padding: 15px 20px;
  border-bottom: none;
}

.card-body {
  padding: 20px;
}

.form-label {
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 8px;
}

.form-control, .form-select {
  padding: 12px;
  transition: all 0.3s ease;
  /* Let Sketchy theme handle border styling */
}

.form-control:focus, .form-select:focus {
  /* Maintain the focus color but let Sketchy handle the styling */
  border-color: var(--pastel-blue);
}

.input-group-text {
  background-color: var(--pastel-blue);
  color: var(--text-color);
  /* Let Sketchy theme handle border styling */
}

.btn {
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
  /* Let Sketchy theme handle border styling */
}

.btn-primary {
  background-color: var(--pastel-blue);
  border: none;
  color: var(--text-color);
}

.btn-primary:hover {
  background-color: var(--dark-blue);
  color: white;
}

.btn-outline-secondary {
  border-color: var(--pastel-purple);
  color: var(--text-color);
}

.btn-outline-secondary:hover {
  background-color: var(--pastel-purple);
  border-color: var(--pastel-purple);
  color: var(--text-color);
}

.table {
  overflow: hidden;
  /* Let Sketchy theme handle table styling */
}

.table thead {
  background-color: var(--pastel-blue);
  color: var(--text-color);
}

.table thead th {
  font-weight: 600;
  /* Let Sketchy theme handle border styling */
}

.chart-container {
  height: 300px;
  margin-bottom: 20px;
}

.yearly-chart-container {
  height: 350px;
  margin-bottom: 0;
}

/* Mobile navigation */
.section-nav {
  display: flex;
  overflow-x: auto;
  margin-bottom: 20px;
}

.section-nav-item {
  padding: 10px 15px;
  background-color: var(--light-bg);
  margin-right: 5px;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s ease;
  /* Let Sketchy theme handle border styling */
}

.section-nav-item.active {
  background-color: var(--pastel-purple);
  color: var(--text-color);
}

@media (min-width: 769px) {
  .d-md-none {
    display: none !important;
  }
}

/* Alert styling */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  /* Let Sketchy theme handle alert styling */
}

.alert-success {
  background-color: var(--pastel-green);
  color: var(--text-color);
  /* Let Sketchy theme handle border styling */
}

.alert-danger {
  background-color: var(--pastel-pink);
  color: var(--text-color);
  /* Let Sketchy theme handle border styling */
}

.alert-info {
  background-color: var(--pastel-blue);
  color: var(--text-color);
  /* Let Sketchy theme handle border styling */
}

/* Text colors */
.text-success {
  color: var(--dark-green) !important;
}

.text-danger {
  color: var(--dark-pink) !important;
}

.text-primary {
  color: var(--dark-blue) !important;
}

.text-secondary {
  color: var(--dark-purple) !important;
}
