/* Alpine.js */
[x-cloak] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

/* Scrollbar */
*:not(html)::-webkit-scrollbar {
  width: 8px;
}
*:not(html)::-webkit-scrollbar-track {
  background: transparent;
}
*:not(html)::-webkit-scrollbar-thumb {
  background-color: #1D9E75;
  border-radius: 6px;
}
*:not(html) {
  scrollbar-width: thin;
  scrollbar-color: #1D9E75 transparent;
}

.container {
  max-width: calc(1280px + 3rem);
}

/* QR code */
.qr-code img,
.qr-code-img img {
  padding: 8px;
  border-radius: 12px;
  background-color: white;
}

/* CMS-rendered content */
.appantap_paragraph {
  font-size: 16px;
}
.appantap_paragraph h1,
.appantap_paragraph h2,
.appantap_paragraph h3,
.appantap_paragraph h4,
.appantap_paragraph h5,
.appantap_paragraph h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  font-size: 16px;
}
.appantap_paragraph p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  line-height: 1.6;
}
.appantap_paragraph a {
  color: #1D9E75;
  text-decoration: none;
  transition: color 0.2s ease;
}
.appantap_paragraph a:hover {
  color: #5DCAA5;
  text-decoration: underline;
}
.appantap_paragraph i,
.appantap_paragraph em {
  font-style: italic;
}
.appantap_paragraph ul,
.appantap_paragraph ol {
  margin-top: 0;
  margin-bottom: 16px;
  padding-left: 16px;
}
.appantap_paragraph ul  { list-style-type: disc; }
.appantap_paragraph ol  { list-style-type: decimal; }
.appantap_paragraph li  { margin-bottom: 4px; line-height: 1.6; }
.appantap_paragraph ul ul { list-style-type: circle; }
.appantap_paragraph ul ul ul { list-style-type: square; }
.appantap_paragraph blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  border-left: 4px solid rgba(29,158,117,0.4);
  background-color: rgba(29,158,117,0.06);
  font-style: italic;
  color: rgba(255,255,255,0.6);
}
.appantap_paragraph hr {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 32px 0;
}
.appantap_paragraph img {
  display: block;
  max-width: 100%;
  height: auto;
}
.appantap_paragraph td,
.appantap_paragraph th {
  padding: 8px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.appantap_paragraph th {
  font-weight: 600;
  background-color: rgba(255,255,255,0.05);
  border-bottom: 2px solid rgba(255,255,255,0.15);
}

/* Form validation */
.error-message {
  color: #f87171;
  font-size: 13px;
  margin-top: 4px;
  display: block;
  text-align: left;
}

/* SweetAlert2 */
button.swal2-confirm.swal2-styled {
  background: #1D9E75 !important;
}
button.swal2-cancel.swal2-styled {
  color: #1D9E75;
  border: 1px solid #1D9E75;
  font-weight: bold;
  background-color: transparent;
}
.small-title {
  font-size: 14px !important;
}
.small-popup {
  font-size: 13px !important;
}

.long-text-break {
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
