@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;700&display=swap');

body, .container, h1, ul, li, .register-btn, .audio-control, .modal-description, .stt, .icon {
  font-family: 'Comfortaa', Arial, sans-serif;
}

body {
  background: url('background.png') center center/cover no-repeat fixed, linear-gradient(120deg, #ffb3b3 0%, #ff5252 100%);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: inherit;
  filter: blur(2.5px) brightness(0.95);
  z-index: 0;
  pointer-events: none;
}

.hearts-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.audio-control {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: rgba(255, 235, 238, 0.9);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #d32f2f;
}

.audio-control:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.audio-control.playing {
  background: rgba(255, 82, 82, 0.9);
  color: white;
}

/* Nút ghi danh */
.register-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  background: linear-gradient(135deg, #ff5252 0%, #d32f2f 100%);
  border: none;
  border-radius: 25px;
  padding: 12px 24px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 82, 82, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 82, 82, 0.4);
  background: linear-gradient(135deg, #d32f2f 0%, #ff5252 100%);
}

/* Modal overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 82, 82, 0.18);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal-overlay.show {
  display: flex;
}

/* Ghi danh modal đẹp, hiện đại */
.modal {
  background: rgba(255,255,255,0.98);
  border-radius: 28px;
  box-shadow: 0 8px 40px rgba(211,47,47,0.13);
  max-width: 420px;
  width: 96vw;
  margin: 3vw auto;
  border: 2.5px solid transparent;
  background-clip: padding-box;
  position: relative;
  padding: 0;
}
.modal-header {
  background: #ff5252;
  color: #fff;
  padding: 22px 28px 12px 28px;
  border-radius: 28px 28px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 1px;
  min-height: unset;
}
.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff !important;
  text-shadow: 0 2px 8px #ffb3b3aa;
  line-height: 1.2;
}
.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
  margin-left: 8px;
}
.close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}
.modal-body {
  padding: 28px 18px 24px 18px;
}
.modal-description {
  color: #d32f2f;
  line-height: 1.6;
  margin-bottom: 22px;
  text-align: center;
  font-size: 1.08rem;
  font-weight: 500;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  color: #d32f2f;
  font-weight: 600;
  font-size: 1.01rem;
  margin-bottom: 4px;
  display: block;
}
.form-group input,
.form-group textarea {
  border-radius: 14px;
  border: 2px solid #ffe0e0;
  font-size: 1.08rem;
  padding: 13px 16px;
  background: #fff9f9;
  transition: border 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
  margin-top: 2px;
  box-shadow: 0 2px 8px #ffb3b322;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #ff5252;
  box-shadow: 0 0 0 2px #ffb3b3aa;
}
.form-group textarea {
  min-height: 70px;
  resize: vertical;
}
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.btn-submit, .btn-cancel {
  font-size: 1.13rem;
  padding: 15px 0;
  border-radius: 14px;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  font-weight: 700;
  transition: all 0.2s;
}
.btn-submit {
  background: #ff5252;
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(255, 82, 82, 0.13);
}
.btn-submit:hover {
  background: #d32f2f;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 25px rgba(255, 82, 82, 0.18);
}
.btn-cancel {
  background: #fff0f0;
  color: #d32f2f;
  border: 2px solid #ffe0e0;
}
.btn-cancel:hover {
  background: #ffd6d6;
  border-color: #ffb3b3;
}
@media (max-width: 600px) {
  .modal {
    max-width: 99vw;
    width: 99vw;
    margin: 1vw auto;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(211,47,47,0.10);
    border-width: 1.5px;
    padding: 0;
  }
  .modal-header {
    padding: 12px 8px 6px 12px;
    font-size: 1.01rem;
    border-radius: 14px 14px 0 0;
  }
  .modal-header h2 {
    font-size: 1.01rem;
  }
  .close-btn {
    font-size: 20px;
    width: 26px;
    height: 26px;
    margin-left: 4px;
  }
  .modal-body {
    padding: 10px 4px 12px 4px;
  }
  .modal-description {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }
  .form-group label {
    font-size: 0.95rem;
  }
  .form-group input,
  .form-group textarea {
    font-size: 0.98rem;
    padding: 9px 8px;
    border-radius: 8px;
    margin-top: 1px;
  }
  .form-group textarea {
    min-height: 48px;
  }
  .form-actions {
    gap: 6px;
    margin-top: 10px;
  }
  .btn-submit, .btn-cancel {
    font-size: 1.01rem;
    padding: 11px 0;
    border-radius: 8px;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.container {
  max-width: 750px;
  margin: 48px auto 32px auto;
  background: rgba(255,255,255,0.97);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(253,160,133,0.18);
  padding: 40px 28px 32px 28px;
  position: relative;
  z-index: 1;
}

h1 {
  text-align: center;
  color: #d32f2f;
  margin-bottom: 32px;
  font-size: 2.5rem;
  letter-spacing: 2px;
  font-family: 'Pacifico', cursive;
  text-shadow: 0 2px 8px #fda08555;
  color: #d32f2f !important;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  background: linear-gradient(90deg, #fff7e6 60%, #ffe0c1 100%);
  margin-bottom: 18px;
  padding: 20px 24px 20px 18px;
  border-radius: 14px;
  font-size: 1.15rem;
  color: #444;
  box-shadow: 0 2px 12px rgba(253,160,133,0.10);
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.7s forwards;
  animation-delay: var(--delay);
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
}

li:hover {
  box-shadow: 0 6px 24px #ff525255;
  transform: scale(1.03) translateY(-2px);
  background: linear-gradient(90deg, #ffd6d6 60%, #fff7e6 100%);
}

.icon {
  font-size: 1.7rem;
  margin-right: 2px;
  filter: drop-shadow(0 1px 2px #ff525233);
  flex-shrink: 0;
}

.name {
  font-weight: normal;
  color: inherit;
  background: none;
  padding: 0;
  border-radius: 0;
  margin: 0 2px;
  font-size: 1.08em;
  box-shadow: none;
  display: inline;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .container {
    padding: 8px 0.5vw;
    max-width: 100vw;
    margin: 12px 0 12px 0;
  }
  h1 {
    font-size: 1.2rem;
    margin-bottom: 18px;
  }
  .modal {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    border-radius: 0 0 24px 24px;
    box-shadow: none;
    border-width: 0 0 2.5px 0;
  }
  .modal-header {
    padding: 18px 10px 10px 16px;
    font-size: 1.1rem;
    border-radius: 0;
  }
  .modal-header h2 {
    font-size: 1.1rem;
  }
  .close-btn {
    font-size: 22px;
    width: 28px;
    height: 28px;
  }
  .modal-body {
    padding: 16px 8px 18px 8px;
  }
  .modal-description {
    font-size: 1rem;
    margin-bottom: 16px;
  }
  .form-group label {
    font-size: 0.98rem;
  }
  .form-group input,
  .form-group textarea {
    font-size: 1rem;
    padding: 10px 10px;
    border-radius: 10px;
  }
  .form-actions {
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
  }
  .btn-submit, .btn-cancel {
    font-size: 1.08rem;
    padding: 13px 0;
    border-radius: 10px;
  }
  .wish-modal {
    max-width: 100vw;
    width: 100vw;
    border-radius: 0 0 18px 18px;
    padding: 0;
  }
  .wish-modal-content {
    padding: 12px 2vw 10px 2vw;
  }
  .wish-modal-title {
    font-size: 1.05rem;
    margin-bottom: 10px;
  }
  #wishModalBody {
    font-size: 0.98rem;
    margin-top: 10px;
  }
  .typewriter {
    font-size: 1.05rem;
    min-height: 60px;
  }
  .wish-signature {
    padding-left: 0 !important;
    margin-top: 18px;
    text-align: left;
  }
  .wish-signature-inner {
    font-size: 1.05rem;
  }
  .signature-container {
    width: 150px;
    height: 50px;
    margin: 6px 0 0 auto;
  }
  .signature-img {
    width: 140px;
    height: 45px;
  }
  .pen {
    width: 28px;
    height: 28px;
  }
  .audio-control {
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  .register-btn {
    top: 15px;
    left: 15px;
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Modal xem lời chúc chi tiết */
.wish-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.55);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}
.wish-modal-overlay.show {
  display: flex;
}
.wish-modal {
  background: white;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(120, 60, 180, 0.18);
  max-width: 800px;
  width: 98vw;
  padding: 0;
  animation: slideIn 0.3s;
}
.wish-modal-content {
  padding: 48px 44px 32px 44px;
  position: relative;
  text-align: center;
}
.wish-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #764ba2;
  cursor: pointer;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  transition: background 0.2s;
}
.wish-modal-close:hover {
  background: #f6d36533;
}
#wishModalBody {
  font-size: 1.13rem;
  color: #444;
  line-height: 1.7;
  margin-top: 18px;
  text-align: justify !important;
  font-family: inherit;
}
#wishModalBody .wish-quote {
  display: block;
  font-weight: bold;
  color: #e17055;
  margin: 18px 0 18px 0;
  font-size: 1.08em;
  background: #fff7e6;
  border-radius: 10px;
  padding: 12px 10px;
  box-shadow: 0 2px 8px #fda08522;
}
@media (max-width: 600px) {
  .wish-modal-content { padding: 18px 6vw 16px 6vw; }
  .wish-modal { max-width: 99vw; }
  #wishModalBody { font-size: 1rem; }
}

.wish-modal-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #d32f2f;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  text-align: center;
  color: #d32f2f !important;
}
.typewriter {
  min-height: 120px;
  white-space: pre-line;
  font-size: 1.25rem;
  color: #444;
  line-height: 1.7;
  text-align: justify !important;
  font-family: 'JujutsuKaisen', Arial, sans-serif !important;
  word-break: break-word;
}

@font-face {
  font-family: 'HolidayMaria';
  src: url('MJ-HolidayMaria-Regular-1.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.wish-signature {
  margin-top: 32px;
  text-align: left;
  padding-left: 490px;
}

.wish-signature-inner {
  display: inline-block;
  font-family: 'JujutsuKaisen', Arial, sans-serif !important;
  font-size: 1.18rem;
  color: #d32f2f;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-left: 0;
  margin-bottom: 2px;
  text-align: left;
  color: #d32f2f;
}

.signature-container {
  position: relative;
  width: 260px;
  height: 90px;
  margin: 8px 0 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.signature-img {
  width: 240px;
  height: 80px;
  object-fit: contain;
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  pointer-events: none;
  mask-image: linear-gradient(90deg, #000 0%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 100%);
}
.pen {
  width: 48px;
  height: 48px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  pointer-events: none;
  transition: transform 0.1s linear;
}

@font-face {
  font-family: 'Daytonica';
  src: url('MJ-VIP-Daytonica-lytrx5.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
.typewriter {
  font-family: 'Daytonica', Arial, sans-serif !important;
}

@font-face {
  font-family: 'PutroeNavisha';
  src: url('TDF_cut-putroe-navisha-kyokm3.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
.typewriter {
  font-family: 'PutroeNavisha', Arial, sans-serif !important;
}

@font-face {
  font-family: 'CharmingValentines';
  src: url('MJ-Charming-Valentines.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
.typewriter {
  font-family: 'CharmingValentines', Arial, sans-serif !important;
}

@font-face {
  font-family: 'Betrayos';
  src: url('MJ-Betrayos.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
.typewriter {
  font-family: 'Betrayos', Arial, sans-serif !important;
}

@font-face {
  font-family: 'JujutsuKaisen';
  src: url('SJ-Jujutsu-Kaisen-1.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
.typewriter {
  font-family: 'JujutsuKaisen', Arial, sans-serif !important;
}

.success-message .success-content h3,
.wish-modal-title,
h1 {
  color: #d32f2f !important;
}

.stt {
  color: #d32f2f;
}

.search-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
#searchInput {
  width: 340px;
  max-width: 90vw;
  padding: 12px 18px;
  border-radius: 22px;
  border: 2px solid #ffd6d6;
  font-size: 1.08rem;
  box-shadow: 0 2px 12px #ffb3b322;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}
#searchInput:focus {
  border-color: #ff5252;
  box-shadow: 0 0 0 2px #ffb3b3aa;
}
@media (max-width: 600px) {
  .search-bar {
    margin-bottom: 10px;
  }
  #searchInput {
    width: 98vw;
    font-size: 1rem;
    padding: 10px 12px;
    border-radius: 14px;
  }
}

.thank-message-section {
  margin-top: 38px;
  background: rgba(255,255,255,0.95);
  border-radius: 18px;
  box-shadow: 0 2px 12px #ffb3b322;
  padding: 22px 18px 18px 18px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.thank-title {
  color: #d32f2f;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}
#thankForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}
#thankNameModal {
  width: 100%;
  max-width: 520px;
  box-sizing: border-box;
  border-radius: 14px;
  border: 2px solid #ffd6d6;
  font-size: 1.08rem;
  padding: 13px 16px;
  background: #fff9f9;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px #ffb3b322;
  outline: none;
  margin-bottom: 8px;
}
#thankNameModal:focus {
  border-color: #ff5252;
  box-shadow: 0 0 0 2px #ffb3b3aa;
}
@media (max-width: 600px) {
  #thankNameModal {
    font-size: 1rem;
    padding: 9px 8px;
    border-radius: 8px;
    min-height: 40px;
    max-width: 100vw;
  }
}
#thankInput {
  width: 100%;
  min-height: 60px;
  max-width: 420px;
  border-radius: 12px;
  border: 2px solid #ffd6d6;
  font-size: 1.08rem;
  padding: 12px 16px;
  background: #fff9f9;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 6px #ffb3b322;
  outline: none;
  resize: vertical;
}
#thankInput:focus {
  border-color: #ff5252;
  box-shadow: 0 0 0 2px #ffb3b3aa;
}
#thankForm .btn-submit {
  width: 180px;
  margin-top: 4px;
}
#thankList {
  margin-top: 10px;
  max-height: 220px;
  overflow-y: auto;
}
.thank-item {
  background: #fff0f0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
  color: #d32f2f;
  font-size: 1.05rem;
  box-shadow: 0 1px 4px #ffb3b322;
  word-break: break-word;
}
@media (max-width: 600px) {
  .thank-message-section {
    padding: 12px 4vw 10px 4vw;
    max-width: 99vw;
  }
  #thankInput {
    font-size: 1rem;
    padding: 9px 8px;
    border-radius: 8px;
    min-height: 40px;
  }
  #thankForm .btn-submit {
    width: 100%;
    font-size: 1.01rem;
    padding: 11px 0;
    border-radius: 8px;
  }
  .thank-title {
    font-size: 1.05rem;
  }
  .thank-item {
    font-size: 0.98rem;
    padding: 8px 8px;
  }
}

#thankBtn {
  position: fixed;
  top: 20px;
  left: 170px;
  z-index: 1000;
  background: #ffb3b3;
  color: #d32f2f;
  border: none;
  border-radius: 25px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 82, 82, 0.13);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
#thankBtn:hover {
  background: #ffd6d6;
  color: #b71c1c;
}
@media (max-width: 600px) {
  #thankBtn {
    top: 60px;
    left: 15px;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 18px;
  }
}

.top-btn-group {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
@media (max-width: 600px) {
  .top-btn-group {
    display: none;
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.98);
    border-radius: 18px;
    box-shadow: 0 4px 24px #ffb3b322;
    padding: 18px 10px 10px 10px;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    z-index: 2001;
    transition: opacity 0.2s, visibility 0.2s;
  }
  .top-btn-group.show {
    display: flex;
    opacity: 1;
    visibility: visible;
  }
  .menu-btn {
    display: block !important;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 2002;
    background: #ff5252;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 2rem;
    box-shadow: 0 2px 8px #ffb3b322;
    cursor: pointer;
    transition: background 0.2s;
  }
  .menu-btn:active {
    background: #d32f2f;
  }
}
#registerBtn, #thankBtn, #finalBtn {
  position: static !important;
  width: 210px;
  margin: 0;
  display: flex;
  justify-content: flex-start;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-header .modal-icon {
  font-size: 1.5em;
  margin-right: 4px;
}
#thankFormModal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}
#thankInputModal {
  width: 100%;
  max-width: 520px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  border-radius: 14px;
  border: 2px solid #ffd6d6;
  font-size: 1.08rem;
  padding: 13px 16px;
  background: #fff9f9;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px #ffb3b322;
  outline: none;
  resize: vertical;
}
#thankInputModal:focus {
  border-color: #ff5252;
  box-shadow: 0 0 0 2px #ffb3b3aa;
}
#thankFormModal .btn-submit {
  width: 100%;
  font-size: 1.13rem;
  padding: 15px 0;
  border-radius: 14px;
  font-weight: 700;
  margin-top: 4px;
}
#thankListModal {
  margin-top: 10px;
  max-height: 220px;
  overflow-y: auto;
}
#thankListModal .thank-item {
  border: 2px solid #ffd6d6;
  background: #fff;
  border-radius: 12px;
  padding: 13px 16px;
  margin-bottom: 10px;
  color: #d32f2f;
  font-size: 1.08rem;
  font-weight: 500;
  box-shadow: 0 2px 8px #ffb3b322;
  word-break: break-word;
  text-align: left;
}
@media (max-width: 600px) {
  #thankInputModal {
    font-size: 1rem;
    padding: 9px 8px;
    border-radius: 8px;
    min-height: 40px;
  }
  #thankFormModal .btn-submit {
    font-size: 1.01rem;
    padding: 11px 0;
    border-radius: 8px;
  }
  #thankListModal .thank-item {
    font-size: 0.98rem;
    padding: 8px 8px;
    border-radius: 8px;
  }
}

.modal-overlay #thankModalOverlay .modal, #thankModalOverlay .modal {
  max-width: 700px;
  width: 98vw;
}
#thankInputModal {
  max-width: 660px;
}
#thankListModal {
  max-width: 660px;
}
@media (max-width: 600px) {
  .modal-overlay #thankModalOverlay .modal, #thankModalOverlay .modal {
    max-width: 100vw;
    width: 100vw;
  }
  #thankInputModal, #thankListModal {
    max-width: 100vw;
  }
} 