/* ==========================================================================
   Variables for Top Page
   ========================================================================== */
:root {
  --brand-text: #111827;
  --text-muted: #6b7280;
  --brand-notice: #1f7a58;
  --brand-header: #1f7a58;
  --brand-btn: #1f7a58;
  --brand-btn-hover: #114a38;
  --brand-orange: #ea580c;
  --brand-orange-hover: #c2410c;
}

/* ==========================================================================
   Main Content
   ========================================================================== */
.main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-top: 32px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}

.hero p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Alert Notice */
.alert-notice {
  width: 100%;
  max-width: 800px;
  background-color: var(--brand-notice);
  color: #ffffff;
  border-radius: 8px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.alert-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.alert-icon-wrapper {
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-icon-wrapper i {
  width: 10px;
  height: 10px;
}

.alert-highlight {
  color: #facc15;
  font-weight: 700;
}

.alert-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.alert-close:hover {
  color: #ffffff;
}

/* Cards Section */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
  max-width: 850px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1024px;
  }
}

.card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.qr-bonus-card {
  padding: 32px 20px;
}

.qr-bonus-card .service-qr-bonus {
  background: none;
  border: none;
  padding: 0;
  width: 100%;
}

.qr-bonus-card .service-qr-bonus-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 16px;
}

.qr-bonus-card .service-qr-bonus-list {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qr-bonus-card .service-qr-bonus-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: 12px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.qr-bonus-card .service-qr-bonus-label {
  color: var(--brand-text);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.qr-bonus-card .service-qr-bonus-code {
  background: #e2e8f0;
  color: #475569;
  font-size: 0.75rem;
  padding: 2px 8px;
  margin-bottom: 12px;
  border-radius: 999px;
  display: inline-block;
}

.qr-bonus-card .service-qr-bonus-img {
  width: 140px;
  height: 140px;
  padding: 8px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.card-icon-container {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transform: rotate(-5deg);
}

.icon-search {
  background-color: #ecfdf5;
  color: var(--brand-header);
}

.icon-calendar {
  background-color: #fff7ed;
  color: var(--brand-orange);
}

.card-icon-container i {
  width: 32px;
  height: 32px;
}

.card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-text);
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-btn {
  width: 100%;
  color: #ffffff;
  font-weight: 700;
  padding: 12px;
  border-radius: 8px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 0.9rem;
  text-decoration: none;
}

.btn-search {
  background-color: var(--brand-btn);
}
.btn-search:hover {
  background-color: var(--brand-btn-hover);
}

.btn-calendar {
  background-color: var(--brand-orange);
}
.btn-calendar:hover {
  background-color: var(--brand-orange-hover);
}

.badge-new {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #ffedd5;
  color: #ea580c;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
}
