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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  background: linear-gradient(135deg, #faf8f3 0%, #f5f1eb 100%);
  min-height: 100vh;
  color: #4a4a4a;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.address-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0ede8;
}

#addressText {
  font-size: 14px;
  color: #5a5a5a;
  font-weight: 500;
  letter-spacing: 0.2px;
  user-select: all;
  cursor: text;
}

.copy-btn {
  padding: 6px 10px;
  background: #e8dfd5;
  border: 1px solid #d9cfc2;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: #ddd1c6;
  border-color: #cfc5b8;
}

.copy-btn.copied {
  background: #d4e5d4;
  border-color: #b8d4b8;
}

.spreadsheet-link {
  padding: 6px 10px;
  background: #e8dfd5;
  border: 1px solid #d9cfc2;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.spreadsheet-link:hover {
  background: #ddd1c6;
  border-color: #cfc5b8;
}

#ideasSection {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #e8dfd5;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 24px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

h1 {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #5a5a5a;
}

.toggle-btn {
  padding: 10px 18px;
  background: #e8dfd5;
  color: #6a6a6a;
  border: 1px solid #d9cfc2;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.toggle-btn:hover {
  background: #ddd1c6;
  border-color: #cfc5b8;
}

/* Card View */
.view {
  display: none;
}

.view.active {
  display: block;
}

.upcoming-dates-section {
  display: grid;
  gap: 16px;
}

.day-card {
  background: white;
  border-radius: 6px;
  padding: 22px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0ede8;
  transition: all 0.3s ease;
  scroll-margin-top: 80px;
}

.day-card:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border-color: #e8dfd5;
}

.day-card.today {
  border-left: 3px solid #c9b8a8;
  background: #fdfbf8;
}

.card-date {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #5a5a5a;
  margin-bottom: 12px;
}

.day-card.today .card-date::before {
  content: '📍 ';
}

.card-section {
  margin: 12px 0;
}

.card-section-label {
  font-size: 11px;
  font-weight: 600;
  color: #a89c8f;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 5px;
}

.card-section-content {
  font-size: 15px;
  color: #5a5a5a;
  line-height: 1.5;
  font-weight: 400;
}

.card-section-content.empty {
  color: #bdc3c7;
  font-style: italic;
}

.activity-entry {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f7f3ee;
}

.activity-entry:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* Table View */
table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0ede8;
}

thead {
  background: #e8dfd5;
  color: #5a5a5a;
}

th {
  padding: 14px;
  text-align: left;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.3px;
}

td {
  padding: 14px;
  border-bottom: 1px solid #f7f3ee;
  font-size: 14px;
  color: #5a5a5a;
}

tbody tr:hover {
  background: #fdfbf8;
}

tbody tr.today {
  background: #fdfbf8;
  font-weight: 500;
}

.loading,
.error {
  text-align: center;
  padding: 20px;
  border-radius: 6px;
  font-size: 14px;
}

.loading {
  background: #e8dfd5;
  color: #5a5a5a;
}

.error {
  background: #d9a6a0;
  color: white;
}

/* Activities Guide */
#activitiesGuide {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #e8dfd5;
}

.guide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 24px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.guide-header h2 {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #5a5a5a;
  margin: 0;
}

.guide-summary {
  background: white;
  border-radius: 6px;
  padding: 22px;
  margin-bottom: 30px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0ede8;
  line-height: 1.7;
  color: #5a5a5a;
  font-size: 15px;
}

.guide-categories {
  display: grid;
  gap: 24px;
}

.guide-category {
  background: white;
  border-radius: 6px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0ede8;
}

.guide-category h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #5a5a5a;
  margin-bottom: 16px;
  margin-top: 0;
}

.activity-item {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f7f3ee;
}

.activity-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.activity-name {
  font-weight: 500;
  color: #5a5a5a;
  font-size: 15px;
  margin-bottom: 6px;
}

.activity-details {
  font-size: 13px;
  color: #7a7a7a;
  line-height: 1.6;
  margin: 0;
}

.activity-details strong {
  color: #5a5a5a;
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  h1 {
    font-size: 24px;
  }

  .toggle-btn {
    width: 100%;
  }

  .day-card {
    padding: 16px;
  }

  th,
  td {
    padding: 10px;
    font-size: 12px;
  }

  .card-date {
    font-size: 16px;
  }
}
