/* template73 "Hoa Sen / Áo Dài" — sections.css: áo trắng ngà / chữ đỏ hồng cho component dùng chung
   (resources/views/components/*). Không sửa markup của component; mọi luật bám vào id section
   hoặc lớp có sẵn, có tiền tố .t73 để không rò sang template khác. */

.t73 .container-fluid { padding-inline: 24px; }
.t73 section.py-5 { padding-block: 64px 56px !important; }

/* ---------- Nền xen kẽ: ngà / hồng ngà ---------- */
.t73 .story-section,
.t73 .people-section,
.t73 .gifts-section { background: var(--t73-tint); }
.t73 .weddingdate-section,
.t73 .gallery-section,
.t73 .video-section,
.t73 .donate-section { background: transparent; }

/* ---------- Lịch + đếm ngược ---------- */
.t73 .weddingdate-section { text-align: center; }
.t73 .weddingdate-section .mini_calendar {
  max-width: 340px;
  padding: 16px 12px 8px;
  border: 1px solid var(--t73-line);
  border-radius: 18px;
  background: var(--t73-ivory);
}
.t73 .mini_calendar table { width: 100%; caption-side: top; border-collapse: collapse; }
.t73 .mini_calendar .calendar-month {
  padding: 0 0 12px;
  text-align: center;
  font-family: var(--t73-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--t73-ink);
}
.t73 .mini_calendar th {
  padding: 8px 0;
  font-size: .7rem;
  font-weight: 600;
  text-align: center;
  color: var(--t73-rose);
  border-bottom: 1px solid var(--t73-line);
}
.t73 .mini_calendar td { width: 14.28%; height: 40px; text-align: center; font-size: .92rem; color: var(--t73-ink); }
/* Ngày cưới: chấm tròn đỏ hồng, vòng hồng phấn quanh — như nhuỵ sen. */
.t73 .mini_calendar td #today {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-weight: 600;
  color: #fff;
  background: var(--t73-rose);
  box-shadow: 0 0 0 4px var(--t73-blush);
}
.t73 .weddingdate-section .countdown { margin-top: 28px; }
.t73 .weddingdate-section #clock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 340px;
  margin: 0 auto;
}
.t73 .weddingdate-section #clock .box { padding: 6px 2px; }
.t73 .weddingdate-section #clock { gap: 8px; }
.t73 .weddingdate-section #clock .box { border-radius: 1000px 1000px 10px 10px; background: var(--t73-tint); padding: 14px 2px 8px; }
.t73 .weddingdate-section #clock .box > div {
  font-family: var(--t73-serif);
  font-size: clamp(1.8rem, 8vw, 2.3rem);
  font-weight: 400;
  line-height: 1.05;
  white-space: nowrap;
  color: var(--t73-rose);
}
.t73 .weddingdate-section #clock .box > span {
  display: block;
  margin-top: 2px;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--t73-muted);
}

/* ---------- Chuyện tình: thanh dọc mảnh, mỗi mốc một cánh sen nhỏ (vẽ bằng CSS) ---------- */
.t73 .story-section .timeline .outer {
  position: relative;
  padding-inline-start: 26px;
  border-inline-start: 1px solid var(--t73-rose);
}
.t73 .story-section .timeline-card { position: relative; padding: 0 0 32px; }
.t73 .story-section .timeline-card:last-child { padding-bottom: 0; }
.t73 .story-section .timeline-card::before {
  content: "";
  position: absolute;
  top: 5px;
  inset-inline-start: -33px;
  width: 13px;
  height: 13px;
  border-radius: 0 50% 0 50%;
  background: linear-gradient(45deg, var(--t73-blush), var(--t73-rose));
  box-shadow: 0 0 0 3px var(--t73-tint);
  transform: rotate(-45deg);
}
.t73 .story-section .timeline .info { display: flex; flex-direction: column; text-align: start; }
.t73 .story-section .timeline .date {
  align-self: flex-start;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--t73-rose);
}
.t73 .story-section .timeline .title { margin: .3rem 0 .4rem; font-size: 1.45rem; color: var(--t73-ink); }
.t73 .story-section .timeline p { margin: 0 0 .9rem; font-size: .93rem; line-height: 1.8; color: var(--t73-ink); }
.t73 .story-section .img-holder img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(120, 50, 70, .12);
}

/* ---------- Album: ảnh bo góc mềm ---------- */
.t73 .gallery-section .gallery-item { margin-bottom: 10px !important; cursor: zoom-in; }
.t73 .gallery-section .gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(120, 50, 70, .12);
}
.t73 .gallery-section #btn-see-more-gallery {
  min-height: 44px;
  padding: .6rem 1.8rem;
  border: 1px solid var(--t73-rose);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--t73-rose);
  background: transparent;
}
.t73 .gallery-section #btn-see-more-gallery:hover { color: var(--t73-ivory); background: var(--t73-rose); }

/* ---------- Video ---------- */
.t73 .video-section .ratio { overflow: hidden; border-radius: 14px; box-shadow: 0 8px 22px rgba(120, 50, 70, .12); }

/* ---------- Phù dâu / phù rể ---------- */
.t73 .people-section .people-avatar {
  width: 140px !important;
  height: 140px;
  overflow: hidden;
  padding: 5px;
  border: 1px solid var(--t73-line);
  border-radius: var(--t73-arch);
}
.t73 .people-section .people-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--t73-arch); }
.t73 .people-section .title { font-family: var(--t73-script); font-size: 1.9rem; font-weight: 400; color: var(--t73-ink); }
.t73 .people-section .people-content { font-size: .88rem; color: var(--t73-muted); }

/* ---------- Sổ lưu bút ---------- */
.t73 #wish-form {
  border: 1px solid var(--t73-line);
  border-radius: 18px;
  background: var(--t73-ivory);
}
.t73 #wish-form .form-control {
  border: 0 !important;
  border-bottom: 1px solid rgba(107, 86, 68, .4) !important;
  border-radius: 0;
  font-family: var(--t73-sans);
  color: var(--t73-ink);
  background: transparent;
}
.t73 #wish-form .form-control:focus { border-bottom-color: var(--t73-rose) !important; box-shadow: none; }
.t73 #btn-submit-comment {
  /* Component wish gắn `w-50` (50% cố định): chữ in hoa giãn rộng bị xuống dòng/tràn ở máy hẹp.
     Cho nút co theo chữ — tối thiểu 50%, tối đa bằng khung; chỉ xuống dòng khi vượt cả khung. */
  width: auto !important;
  min-width: 50%;
  max-width: 100%;
  white-space: normal;
  min-height: 44px;
  border-radius: 999px !important;
  padding-inline: 1.8rem !important;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--t73-ivory);
  background: var(--t73-rose);
}
/* Máy hẹp: nhãn dài (de/ru/hu/uk…) vẫn nằm một dòng — giảm giãn chữ + cỡ chữ. */
@media (max-width: 420px) { .t73 #btn-submit-comment { font-size: .875rem; letter-spacing: .06em; padding-inline: 1rem !important; } }
.t73 #btn-submit-comment:hover { background: var(--t73-rose-deep); }
.t73 .error-handling-messages #success,
.t73 .error-handling-messages #error { display: none; margin-top: 12px; padding: 8px 12px; color: #fff; text-align: center; }
.t73 .error-handling-messages #success { background: #2f6b3b; }
.t73 .error-handling-messages #error { background: var(--t73-rose); }
/* Component wish dùng chung gắn p-3 lên khung danh sách (bài học template70, commit 68cb5eb):
   bỏ để thẻ lời chúc thẳng mép với form. */
.t73 #show-comments { max-height: 420px; overflow-y: auto; padding: 0 !important; }
.t73 #show-comments .box-comment {
  border-inline-start: 2px solid var(--t73-rose);
  border-radius: 0 12px 12px 0;
  background: rgba(252, 248, 242, .92);
}
.t73 #show-comments .box-comment h4 { font-family: var(--t73-serif); font-size: 1.25rem; color: var(--t73-rose); }
.t73 #show-comments .box-comment p { font-size: .93rem; line-height: 1.7; }

/* ---------- Mừng cưới: thẻ vòm ---------- */
.t73 .donate-section .donate-wrap { width: 100%; max-width: 320px; margin-inline: auto; }
.t73 .donate-card {
  position: relative;
  padding: 46px 18px 22px !important;
  border: 1px solid var(--t73-line);
  border-radius: 140px 140px 16px 16px !important;
  color: var(--t73-ink);
  background: var(--t73-ivory);
  box-shadow: 0 8px 22px rgba(120, 50, 70, .1);
}
.t73 .donate-card .sub-title { color: var(--t73-rose); letter-spacing: .18em; font-size: .8rem; font-weight: 600; text-transform: uppercase; }
.t73 .donate-card .qr-code-image {
  display: block;
  width: 100%;
  max-width: 200px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--t73-line);
}
.t73 .donate-card p { font-size: .9rem; overflow-wrap: anywhere; }
.t73 .donate-card strong { color: var(--t73-ink); }

.t73 .donate-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
  padding: 70px 0;
  overflow: auto;
  background: rgba(59, 42, 49, .6) !important;
}
.t73 .donate-modal-content {
  position: relative;
  width: 92%;
  max-width: 560px;
  margin: auto;
  border-top: 3px solid var(--t73-rose);
  border-radius: 16px;
  background: var(--t73-ivory);
  animation: t73-modal-in .35s ease;
}
.t73 .donate-modal .section-title { color: var(--t73-rose) !important; }
.t73 .donate-modal .col-6 { width: 100%; max-width: 320px; margin-inline: auto; }
.t73 .donate-modal-close {
  position: absolute;
  top: 6px;
  inset-inline-end: 14px;
  z-index: 2;
  font-size: 30px;
  line-height: 1;
  color: var(--t73-rose) !important;
  cursor: pointer;
}
@keyframes t73-modal-in { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }

/* ---------- Quà tặng (components/gifts) ---------- */
#gifts .gift-card-price { color: var(--t73-rose); }
#gifts .gift-buy-link { border-color: var(--t73-rose); color: var(--t73-rose); }
#gifts .gift-buy-link:hover { background: #f8e4e8; color: var(--t73-rose-deep); }
#gifts .gift-claim-btn,
#gifts .gift-submit { background: var(--t73-rose); }
#gifts .gift-header { background: linear-gradient(135deg, var(--t73-rose), var(--t73-rose-deep)); }
#gifts .gift-info-ic,
#gifts .gift-selfbuy-ic { background: #f6e0e5; color: var(--t73-rose); }
#gifts .gift-copy-ic,
#gifts .gift-copyall { color: var(--t73-rose); }
#gifts .gift-cta-shopee { background: var(--t73-rose); color: #fff; box-shadow: 0 10px 24px rgba(140, 38, 65, .25); }
#gifts .gift-modal-title { color: #fff; }
#gifts .gift-selfbuy { background: #fbf0f1; border-color: #eed0d6; }

/* ---------- Chân trang: góc đầm sen ---------- */
.t73 .t73-footer { position: relative; padding: 56px 24px 64px; text-align: center; overflow: hidden; background: linear-gradient(transparent, var(--t73-tint)); }
.t73-pond { position: relative; height: 230px; max-width: 340px; margin: 0 auto 18px; }
.t73-pond__stalk { position: absolute; bottom: 10px; width: 92px; height: 227px; }
.t73-pond__stalk--start { inset-inline-start: 0; }
.t73-pond__stalk--end { inset-inline-end: 0; transform: scaleX(-1); }
.t73-pond__lotus { position: absolute; left: 50%; bottom: 18px; width: 180px; height: 126px; margin-left: -90px; }
.t73-pond__ripple { position: absolute; left: 50%; bottom: 0; width: 240px; height: 26px; margin-left: -120px; color: var(--t73-rose); opacity: .45; }
.t73-footer__blessing {
  margin: 0 0 .4rem;
  font-family: var(--t73-serif);
  font-size: clamp(1.7rem, 7.5vw, 2.2rem);
  font-style: italic;
  color: var(--t73-rose);
}
.t73-footer__thanks { margin: 0 0 .2rem; font-family: var(--t73-sans) !important; font-size: .74rem; font-weight: 600 !important; letter-spacing: .26em; text-transform: uppercase; color: var(--t73-muted); }
.t73 #couple-name-thankyou { margin: 0; font-size: 2.1rem; line-height: 1.3; color: var(--t73-ink); }
