* {
  box-sizing: border-box;
  font-family: "Baloo 2", cursive;
}

body {
  background-color: #f8c9b7;
  margin: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title {
  font-size: 2.3rem;
  color: #933;
  margin: 0 0 30px 0;
  font-family: 'Baloo', cursive;
  letter-spacing: 1px;
}

.back-btn {
  position: absolute;
  top: 30px;
  left: 30px;
  padding: 8px 20px;
  border: 2px solid #933;
  border-radius: 20px;
  color: #933;
  text-decoration: none;
  font-weight: bold;
  background-color: #fde3d9;
  transition: 0.3s;
}

.back-btn:hover {
  background-color: #933;
  color: #fff;
}

.schedule-filter {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.schedule-filter a {
  position: relative;
  padding: 4px 10px;
  color: #8a2f27;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 8px;
}

.schedule-filter a.active-tab {
  background: rgba(138, 47, 39, 0.1);
}

.schedule-filter a:hover {
  color: #91352b;
}

.schedule-box {
  background-color: #ffe8db;
  border: 2px solid #8a2f27;
  border-radius: 12px;
  width: 100%;
  max-width: 850px;
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr;
  gap: 0.5rem;
  padding: 1rem 1.2rem;
  text-align: left;
  margin-bottom: 1.5rem;
  align-items: start;
}

.col.service h3 {
  font-weight: 700;
  font-size: 1.15rem;
  color: #8a2f27;
  margin: 0 0 4px 0;
  letter-spacing: 0.5px;
}

.col.service p {
  font-size: 0.85rem;
  color: #333;
  margin: 0;
  line-height: 1.2;
}

.col.time {
  font-size: 0.85rem;
}

.col.time strong {
  font-size: 0.95rem;
  margin-bottom: 4px;
  display: block;
  font-weight: 700;
  color: #8a2f27;
}

.col.status {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
}

.col.status .status-price {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: baseline;
}

.col.status strong {
  font-weight: 700;
  font-size: 0.9rem;
  color: #8a2f27;
  margin: 0;
}

.cancel-btn {
  background-color: #7a2f26;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.8rem;
  cursor: pointer;
  align-self: start;
  transition: background-color 0.2s;
}

.cancel-btn:hover {
  background-color: #5f231f;
}

.no-schedule {
  text-align: center;
  font-size: 1.2rem;
  margin-top: 40px;
  color: #888;
  font-style: italic;
}

.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 9%;
  background-color: #8c3129;
  color: #f9dfc8;
  text-align: center;
  padding: 10px;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  font-size: 16px;
  font-weight: 800;
  z-index: 10;
}

.site-footer p {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .schedule-box {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .col.status .status-price {
    flex-direction: column;
    gap: 4px;
  }
  .title {
    margin-top: 80px;
    font-size: 1.8rem;
  }
}
