* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  line-height: 1.7;
  color: #2c3e50;
  background-color: #f8f9fa;
  min-height: 100vh;
}

.container {
  max-width: 500px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #1a1a1a;
  font-weight: 300;
  letter-spacing: 0.1em;
}

.days {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.day-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.day-header {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to right, #2c3e50, #34495e);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.day-header h2 {
  margin: 0;
  color: white;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.activities {
  padding: 1.5rem;
}

.activity {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: #fafbfc;
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.activity:hover {
  background: #f5f6f7;
  border-left-color: #2c3e50;
}

.activity:last-child {
  margin-bottom: 0;
}

.activity-time {
  flex-shrink: 0;
  width: 55px;
  font-weight: 500;
  color: #7f8c8d;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.activity-content {
  flex: 1;
}

.activity-title {
  font-weight: 500;
  color: #2c3e50;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.activity-description {
  font-size: 0.85rem;
  color: #7f8c8d;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: #e8eaed;
  padding: 0.25rem;
  border-radius: 10px;
}

.tab-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  background: transparent;
  color: #7f8c8d;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  letter-spacing: 0.05em;
}

.tab-btn:hover {
  color: #2c3e50;
}

.tab-btn.active {
  background: #ffffff;
  color: #2c3e50;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Budget */
.budget-items {
  padding: 1.5rem;
}

.budget-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: #fafbfc;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.budget-item:last-of-type {
  margin-bottom: 1rem;
}

.budget-category {
  font-size: 0.95rem;
  color: #2c3e50;
  font-weight: 400;
}

.budget-amount {
  font-size: 1rem;
  color: #2c3e50;
  font-weight: 500;
  font-feature-settings: "tnum";
}

.budget-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  background: linear-gradient(to right, #2c3e50, #34495e);
  border-radius: 8px;
  color: white;
}

.budget-total span {
  font-size: 1rem;
  font-weight: 500;
}

.budget-total span:last-child {
  font-size: 1.25rem;
  font-weight: 600;
}

/* Budget People */
.budget-people {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
}

.budget-person {
  background: #fafbfc;
  border-radius: 10px;
  overflow: hidden;
}

.person-name {
  padding: 0.75rem 1.25rem;
  background: linear-gradient(to right, #636e72, #b2bec3);
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.budget-person .budget-items {
  padding: 1rem 1.25rem 1.25rem;
}

.budget-person .budget-item {
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}

.budget-person .budget-item:last-of-type {
  margin-bottom: 0.75rem;
}

.budget-person .budget-category {
  font-size: 0.9rem;
}

.budget-person .budget-amount {
  font-size: 0.95rem;
}

.budget-person .budget-total {
  padding: 0.875rem 1rem;
  background: linear-gradient(to right, #636e72, #b2bec3);
}

.budget-person .budget-total span:first-child {
  font-size: 0.9rem;
}

.budget-person .budget-total span:last-child {
  font-size: 1.1rem;
}

.budget-total-day {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to right, #2c3e50, #34495e);
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.budget-total-day span:first-child {
  font-size: 1rem;
  font-weight: 500;
}

.budget-total-day span:last-child {
  font-size: 1.35rem;
  font-weight: 600;
}

.grand-total {
  margin-top: 2rem;
  padding: 0 1.5rem;
}

.grand-total-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  border-radius: 12px;
  color: white;
  box-shadow: 0 4px 20px rgba(44, 62, 80, 0.3);
}

.grand-total-inner span:first-child {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.grand-total-inner span:last-child {
  font-size: 1.75rem;
  font-weight: 600;
}
