/**
 * 親の介護費用シミュレーター
 * Stylesheet
 */

.kaigo-sim {
  background: #fffbea;
  border: 2px solid #f5d76e;
  border-radius: 12px;
  padding: 24px;
  margin: 28px 0;
  font-size: 15px;
  line-height: 1.6;
}

.kaigo-sim .ksim-title {
  font-size: 1.15em;
  font-weight: bold;
  color: #b7791f;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #f5d76e;
}

.kaigo-sim .ksim-input {
  margin-bottom: 18px;
}

.kaigo-sim .ksim-input label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #555;
  font-size: 0.95em;
}

.kaigo-sim .ksim-input input[type=range] {
  width: 100%;
}

.kaigo-sim .ksim-input input[type=number] {
  width: 100%;
  padding: 10px;
  border: 1px solid #d0c690;
  border-radius: 6px;
  font-size: 0.95em;
  background: #fff;
  box-sizing: border-box;
}

.kaigo-sim .ksim-input select {
  width: 100%;
  padding: 10px;
  border: 1px solid #d0c690;
  border-radius: 6px;
  font-size: 0.95em;
  background: #fff;
}

.kaigo-sim .ksim-value {
  font-size: 1.4em;
  color: #b7791f;
  font-weight: bold;
  text-align: right;
  margin-top: 4px;
}

.kaigo-sim .ksim-result {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  margin-top: 18px;
}

.kaigo-sim .ksim-result table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.kaigo-sim .ksim-result th,
.kaigo-sim .ksim-result td {
  padding: 8px 6px;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-size: 0.95em;
}

.kaigo-sim .ksim-result th {
  color: #666;
  font-weight: normal;
  width: 55%;
}

.kaigo-sim .ksim-result td {
  text-align: right;
  font-weight: bold;
}

.kaigo-sim .ksim-result .ksim-total {
  background: #fef3c7;
}

.kaigo-sim .ksim-result .ksim-total th,
.kaigo-sim .ksim-result .ksim-total td {
  font-size: 1.1em;
  color: #b7791f;
}

.kaigo-sim .ksim-coverage {
  background: #f0f9ff;
  border-left: 4px solid #3b82f6;
  padding: 12px;
  margin-top: 14px;
  border-radius: 4px;
  font-size: 0.92em;
}

.kaigo-sim .ksim-coverage.warn {
  background: #fef2f2;
  border-left-color: #ef4444;
}

.kaigo-sim .ksim-coverage.ok {
  background: #f0fdf4;
  border-left-color: #22c55e;
}

.kaigo-sim .ksim-coverage strong {
  font-size: 1.1em;
}

.kaigo-sim .ksim-note {
  font-size: 0.82em;
  color: #888;
  margin-top: 14px;
  margin-bottom: 0;
  line-height: 1.5;
}
