body {
  background-color: #fafafa;
  font-size: 1.2rem;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  text-align: left;
  padding: 0px 20px 0px 20px;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 0px 20px 0px 20px;
}

main.container {
  margin-top: 8vh;
  margin-bottom: 10vh;
}

button {
  width: 100%;
  max-width: 500px;
}

.icon-area {
  display: inline-block;
  vertical-align: top;
  margin-right: 8px;
}

.text-area {
  display: inline-block;
  vertical-align: top;
  line-height: 1.4;
}

.compact-text {
  margin: 0.2rem 0;
  line-height: 1;
}

.flex-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.driver-customer-name {
  font-size: 1.5rem;
  font-weight: 500;
  color: #212121;
}

.driver-customer-name.off {
  color: #9e9e9e;
  font-weight: 400;
  text-decoration: line-through;
}

/* 前日 - 落ち着いた青系 */
.contact-tomorrow {
  color: #1565c0;
  text-decoration: underline;
  text-decoration-color: #1565c0;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  padding-bottom: 4px;
  font-weight: 500;
}

/* 当日 - 緊急性のあるオレンジ系 */
.contact-today {
  color: #e65100;
  text-decoration: underline;
  text-decoration-color: #e65100;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  padding-bottom: 4px;
  font-weight: 600;
}

/* 大きいアイコン */
.large-icon {
  font-size: 120px !important;
}

.medium-icon {
  font-size: 80px !important;
}

/* アプリタイトル */
.app-title {
  font-weight: bold;
  margin-top: 20px;
}

/* モード選択ボタン */
.mode-btn {
  height: 100px !important;
  line-height: 100px !important;
  font-size: 1.8rem !important;
  font-weight: bold !important;
}

.mode-btn i {
  font-size: 2.5rem !important;
  line-height: 100px !important;
}

/* フルワイドボタン */
.full-width {
  width: 100% !important;
  margin-bottom: 10px;
}

/* vendor card */
.notify-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.notify-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.notify-card .text-area {
  white-space: normal;
  word-break: keep-all;
}

/* 通知ボタン */
.notify-btn {
  height: 120px !important;
  line-height: 40px !important;
  font-size: 1.3rem !important;
  /* font-weight: bold !important; */
  padding: 20px !important;
  margin-top: 20px;
}

.notify-btn i {
  font-size: 3rem !important;
}

.notify-btn small {
  font-size: 1rem !important;
  font-weight: normal !important;
}

/* PIN入力エリア */
.pin-input-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 40px 0;
}

.pin-input {
  width: 60px !important;
  height: 80px !important;
  text-align: center !important;
  font-size: 3rem !important;
  font-weight: bold !important;
  border: 3px solid #2196f3 !important;
  border-radius: 8px !important;
  background-color: #fff !important;
  color: #2196f3 !important;
  box-shadow: none !important;
}

.pin-input.filled {
  background-color: #e3f2fd !important;
  border-color: #1976d2 !important;
}

/* 数字パッド */
.number-pad {
  margin: 30px 0;
}

.number-btn {
  height: 80px !important;
  line-height: 80px !important;
  font-size: 2.5rem !important;
  font-weight: bold !important;
  margin-bottom: 10px !important;
}

.number-btn i {
  font-size: 2.5rem !important;
  line-height: 80px !important;
}

/* カード */
.card {
  border-radius: 8px !important;
}

.card-title {
  font-size: 1.8rem !important;
  font-weight: bold !important;
}

/* ローディングオーバーレイ */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* トースト */
.toast {
  font-size: 1.2rem !important;
  padding: 20px !important;
}

.toast.large-text {
  font-size: 1.5rem !important;
}

/* レスポンシブ対応 */
@media only screen and (max-width: 600px) {
  .mode-btn {
    height: 80px !important;
    line-height: 80px !important;
    font-size: 1.4rem !important;
  }

  .mode-btn i {
    font-size: 2rem !important;
    line-height: 80px !important;
  }

  .notify-btn {
    height: 100px !important;
    font-size: 1.5rem !important;
  }

  .notify-btn i {
    font-size: 2.5rem !important;
  }

  .pin-input {
    width: 50px !important;
    height: 70px !important;
    font-size: 2.5rem !important;
  }

  .number-btn {
    height: 70px !important;
    line-height: 70px !important;
    font-size: 2rem !important;
  }

  .number-btn i {
    font-size: 2rem !important;
    line-height: 70px !important;
  }
}

/* 高齢者向けの視認性向上 */
h4,
h5,
h6 {
  font-weight: bold !important;
}

p,
span {
  line-height: 1.8 !important;
}

/* ステータスカードのアイコン */
#status-card i.large {
  font-size: 5rem !important;
  margin: 20px 0;
}

/* 留守顧客リスト */
#away-customers .collection {
  border: none !important;
}

#away-customers .collection-item {
  border-left: 4px solid #f44336 !important;
  padding: 20px !important;
  font-size: 1.1rem !important;
}

/* PINモーダル */
#pin-modal {
  max-height: 90% !important;
}

#pin-list .card {
  margin: 10px 0 !important;
}

#pin-list .card-title {
  font-size: 2rem !important;
  margin: 0 !important;
}
