:root {
  --primary-blue: #3cb4ff;
  --alert-red: #dc3545;
  --success-green: #28a745;
  --bg-gray: #f8f9fa;
}

.confirmation-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-title {
  font-size: 1.6rem;
  color: var(--primary-blue);
  margin-bottom: 2rem;
  text-align: center;
}

.status-card {
  padding: 1.5rem;
  margin: 1rem 0;
  border-radius: 8px;
  background: var(--bg-gray);
}

.detail-item {
  display: flex;
  align-items: center;
  margin: 1rem 0;
  padding: 1rem;
  background: #e3f2fd;
  border-radius: 6px;
}

.detail-label {
  min-width: 120px;
  font-weight: 500;
  color: var(--primary-blue);
}

.slot-indicator {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--success-green);
  color: white;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-left: 1em;
}

.slot-info {
  margin-top: 0.5em;
  color: var(--primary-blue);
  font-size: 0.95em;
}

.button-group {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  padding: 1rem;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-confirm {
  background: var(--success-green);
  color: white;
}

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

.btn-secondary {
  background: #f0f0f0;
  color: #333;
}

.btn:hover {
  opacity: 0.85;
}



.alert-banner {
  background: #fff3cd;
  color: #856404;
  padding: 1rem;
  border-radius: 6px;
  margin: 1rem 0;
  text-align: center;
  font-weight: bold;
}

.full-alert {
  background: #ffeaea;
  color: var(--alert-red);
  padding: 1rem;
  border-radius: 6px;
  margin: 1rem 0;
  text-align: center;
  font-weight: bold;
}

.user-status {
  margin-bottom: 1rem;
  color: var(--primary-blue);
  font-weight: bold;
  text-align: center;
}

.btn-new-patient {
  background: #3cb4ff !important; /* 紫色 */
  color: white !important;
}

.complete-card {
  max-width: 480px;
  margin: 2.5rem auto 0 auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 2.2rem 1.5rem 2.5rem 1.5rem;
  text-align: center;
}
.complete-title {
  font-size: 1.3rem;
  color: #3cb4ff;
  margin-bottom: 1.2rem;
  letter-spacing: 0.1em;
}
.details-box {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.4rem 1rem;
  margin: 1.5rem 0;
  text-align: left;
}
.details-title {
  font-size: 1.1rem;
  color: #3cb4ff;
  margin-bottom: .7rem;
  font-weight: bold;
}
.detail-item {
  margin: 0.8em 0;
  display: flex;
  align-items: center;
}
.detail-label {
  min-width: 70px;
  color: #888;
  font-weight: 500;
  margin-right: 1em;
}
.detail-value {
  font-size: 1.1em;
  color: #222;
  letter-spacing: 0.04em;
}
.slot-no {
  display: inline-block;
  background: #28a745;
  color: #fff;
  border-radius: 12px;
  font-size: .95em;
  padding: 0.2em 0.8em;
  margin-left: 1em;
}
.button-group {
  display: flex;
  gap: 1.2em;
  justify-content: center;
  margin-top: 2em;
}




.alert-banner {
  background: #fff3cd;
  color: #856404;
  padding: 1rem;
  border-radius: 6px;
  margin: 1rem 0;
  text-align: center;
  font-weight: bold;
}
.full-alert {
  background: #ffeaea;
  color: #dc3545;
  padding: 1rem;
  border-radius: 6px;
  margin: 1rem 0;
  text-align: center;
  font-weight: bold;
}
.button-row {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 0;
}
.yoshin-box {
    margin-bottom: 18px;
    width: 100%;
}


@media (max-width: 600px) {
  .complete-card { 
    padding: 1.2rem 0.3rem 1.5rem 0.3rem; 
    margin-top: 90px;
  }
  .details-box { padding: 1rem 0.5rem; }
  .button-group { flex-direction: column; gap: 0.7em; }

  .confirmation-container {
      padding: 1rem;
  }
  .detail-item {
      flex-direction: column;
      align-items: flex-start;
      padding: 0.7rem;
  }
  .detail-label {
      min-width: unset;
      margin-bottom: 0.4em;
  }
  .button-group {
      grid-template-columns: 1fr;
  }


  /* .button-group > div {
    flex-direction: column;
    width: 100%;
}
.btn-login, .btn-new-patient {
    width: 100%;
} */

}
