@font-face {
  font-family: mcsla;
  font-style: normal;
  font-weight: normal;
  font-display: fallback;
  src:
    url("../font/font-woff2/149808160") format("woff2"),
    url("../font/font-woff/regular-font/149808160") format("woff"),
    url("../font/font-ttf/regular-font/149808160.ttf") format("ttf");
}
@font-face {
  font-family: mcsla;
  font-style: normal;
  font-weight: bold;
  font-display: fallback;
  src:
    url("../font/font-woff2/bold-font/2870435231") format("woff2"),
    url("../font/font-woff/bold-font/2870435231") format("woff"),
    url("../font/font-ttf/bold-font/2870435231.ttf") format("ttf");
}

:root {
  --primary: #d4006e;
  --text: #080808;
  --muted: #f4f4f4;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  font-family: mcsla;
  background: #f3f3f3;
  color: var(--text);
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
}
button,
input,
optgroup,
select,
textarea,
a {
  font-family: mcsla;
  -webkit-tap-highlight-color: transparent;
}
.app {
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
}
.topbar {
  height: 56px;
  background: url(../images/listra-header.png);
  background-size: cover;
  background-position: -20px 50%;
  display: flex;
  padding: 0 7px;
  position: fixed;
  width: 100%;
}
main {
  padding: 80px 26px 0;
}

.login-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 190px);
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}
.brand-name {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 28px;
}
.section-title {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 10px;
}
.description {
  font-size: 13px;
  line-height: 1.28;
  margin: 0 0 28px;
  color: #161616;
}
.tag-box {
  min-height: 55px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  margin-bottom: 27px;
}
.tag-text {
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.copy-btn {
  border: 0;
  background: transparent;
  padding: 2px;
  width: 24px;
  min-width: 24px;
  cursor: pointer;
  color: #050505;
  display: inline-flex;
}
.copy-btn svg {
  width: 22px;
  height: 24px;
}
.product {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  margin: 0 0 10px 3px;
  align-items: start;
}
.product-photo {
  width: 108px;
  height: 126px;
  object-fit: cover;
  border-radius: 13px;
  background: #e8e8e8;
}
.product-info {
  min-width: 0;
}
.product-name {
  font-size: 13px;
  font-weight: 700;
  margin: 12px 0 15px;
}
.product-description {
  font-size: 12.5px;
  line-height: 1.3;
  margin: 0 0 13px;
}
.hash-title,
.shopping-title {
  font-weight: 700;
  font-size: 13px;
  margin: 0 0 8px;
}
.product .tag-box {
  min-height: 42px;
  padding: 8px 18px;
  margin-bottom: 10px;
}
.shopping-title {
  margin-top: 2px;
}
.shop-links {
  display: grid;
  gap: 8px;
}
.shop-link {
  height: 28px;
  border: 1px solid var(--pink);
  border-radius: 18px;
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  text-decoration: none;
  font-size: 12px;
  background: #fff;
}
.cart-icon {
  width: 23px;
  height: 23px;
}
.bottom-bar {
  position: fixed;
  z-index: 10;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding: 18px 26px 20px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -7px 14px rgba(0, 0, 0, 0.06);
}
.submit-btn {
  display: block;
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 11px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.toast {
  position: fixed;
  z-index: 20;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: white;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 12px;
}
@media (max-width: 360px) {
  main {
    padding-left: 18px;
    padding-right: 18px;
  }
  .product {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 13px;
    margin-left: 0;
  }
  .product-photo {
    width: 94px;
    height: 116px;
  }
  .product-name {
    margin-top: 7px;
  }
  .bottom-bar {
    padding-left: 18px;
    padding-right: 18px;
  }
}
.img-container {
  width: 100%;
}
.brand-banner {
  width: 100%;
  height: 241px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  background: #f5f5f5;
  margin-bottom: 21px;
}

.container {
  background: #fff;
  border-radius: 12px;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
  width: 100%;
  padding: 1rem 1.25rem !important;
}
.checking-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  margin-top: 0;
}
.checking-form {
  width: 100%;
  height: fit-content;
  background: #ffffffe5 !important;
  border: none;
  box-shadow: none !important;
}
h1 {
  color: #333;
  font-size: 16px;
}
.form-group {
  margin-bottom: 20px;
}
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
  text-align: left;
}
input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 0;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}
input::placeholder,
select::placeholder,
textarea::placeholder {
  font-size: 14px;
}
select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 0;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.3s;
  background: #fff;
  cursor: pointer;
}
input[readonly],
select[readonly] {
  background-color: #e6e6e6;
  border-color: #cbcccd;
  opacity: unset;
}
input:focus {
  outline: none;
  border-color: #4a90d9;
  box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.2);
}
button {
  width: 100%;
  padding: 14px;
  background: #4a90d9;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover {
  background: #000;
}
button:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.message {
  text-align: center;
  margin-top: 15px;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}
.message.success {
  background: #d4edda;
  color: #155724;
  display: block;
}
.message.error {
  background: #f8d7da;
  color: #721c24;
  display: block;
}
.line-login-btn {
  background: #06c755;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.line-login-btn:hover {
  background: #05a64a;
}
.profile-section {
  text-align: center;
  margin-bottom: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
}
.profile-pic {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 10px;
  object-fit: cover;
}
.profile-name {
  font-weight: 600;
  color: #333;
}
.logout-btn {
  background: #ff4444;
  font-size: 12px;
  padding: 6px 12px;
  margin-top: 8px;
}
.logout-btn:hover {
  background: #e03333;
}
.spinner {
  text-align: center;
  padding: 20px;
  color: #666;
  font-size: 16px;
}
.event-details {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
}
.event-details h2 {
  color: #4a90d9;
  margin: 0 0 10px;
  font-size: 20px;
}
.event-details p {
  margin: 0 0 10px;
  color: #555;
}
.event-details ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #666;
  font-size: 14px;
}
.event-details li {
  margin-bottom: 5px;
}

.registration-page {
  /* background: #f8f8f8;
  min-height: 100vh;
  padding: 24px 18px 100px;
  color: #242424;
  font-family: Arial, Tahoma, sans-serif;*/
  font-size: 12px;
  padding-bottom: 98px;
}

.registration-form {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.form-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 24px;
}

.form-section {
  margin-bottom: 26px;
}

.section-title {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 20px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group > label,
.social-input > label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* .form-group input:not([type="radio"]):not([type="checkbox"]),
.form-group select,
.social-input input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 37px;
  border: 1px solid #bdbdbd;
  border-radius: 0;
  background: #fff;
  padding: 0 12px;
  color: #222;
  font: inherit; 
}*/

.form-group input:focus,
.form-group select:focus,
.social-input input:focus {
  outline: 1px solid #666;
  outline-offset: 0;
}

.phone-input {
  display: grid;
  grid-template-columns: minmax(100px, 0.7fr) minmax(0, 1.5fr);
  gap: 8px;
}

.birthday-input {
  display: grid;
  grid-template-columns: 0.7fr 1.4fr 1fr;
  gap: 7px;
}

.form-hint {
  display: block;
  margin-top: 10px;
  color: #999;
  font-size: 14px;
  line-height: 1.6;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.radio-option,
.radio-row,
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.6;
  cursor: pointer;
}

.radio-option {
  align-items: center;
}

.radio-option input,
.radio-row input,
.checkbox-row input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #222;
}

.form-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.form-fieldset legend {
  padding: 0;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
}

.radio-row {
  margin: 8px 0;
}

.radio-row span,
.checkbox-row span {
  overflow-wrap: anywhere;
}

.social-section {
  margin-top: 24px;
}

.social-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.social-field {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 17px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f5f5f5;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.social-tiktok {
  background-image: url("/images/icons/tiktok.png");
}

.social-x {
  background-image: url("/images/icons/x.png");
}

.social-other {
  background-image: url("/images/icons/other.png");
}

.social-shopee {
  background-image: url("/images/icons/shopee.png");
}

.social-instagram {
  background-image: url("/images/icons/ig.png");
}

.social-facebook {
  background-image: url("/images/icons/facebook.png");
}

.social-youtube {
  background-image: url("/images/icons/youtube.png");
}

.social-lemon8 {
  background-image: url("/images/icons/lemon8.png");
}

.social-input {
  min-width: 0;
}

.social-input > label {
  margin-bottom: 6px;
}

.social-input input {
  font-size: 14px;
}

.field-error {
  color: #c62828;
  margin-top: 12px;
  font-size: 12px;
}

.consent-section {
  margin-top: 30px;
}

.consent-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 18px;
}

.privacy-copy {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.privacy-copy p {
  margin-bottom: 12px;
}

.privacy-copy a,
.checkbox-row a {
  color: #2448db;
  text-decoration: underline;
}

.checkbox-row {
  margin-top: 18px;
  font-size: 14px;
}

/* .message {
  padding: 12px;
  margin: 16px 0;
  border-radius: 3px;
  font-size: 12px;
}

.message.success {
  color: #216e39;
  background: #e7f5e9;
}

.message.error {
  color: #b42318;
  background: #fdecea;
} */

/* .bottom-bar {
  position: sticky;
  bottom: 0;
  z-index: 10;
  margin: 24px -18px -100px;
  padding: 12px 18px;
  background: rgba(248, 248, 248, 0.96);
  border-top: 1px solid #e5e5e5;
} */

/* .submit-btn {
  display: block;
  width: 100%;
  min-height: 44px;
  border: none;
  background: #171717;
  color: white;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
} */

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (min-width: 768px) {
  /* .registration-page {
    padding: 36px 24px 110px;
  } */

  .registration-form {
    max-width: 520px;
  }

  .bottom-bar {
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
  }
}
