@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700;800&family=Source+Sans+3:wght@200;300;400;500;600;700;800;900&display=swap');

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
}

body {
  font-family: 'Quicksand', 'Segoe UI', sans-serif;
  background-color: #ebebeb;
  color: #1d2740;
}

button,
input {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 10px 16px 18px;
  width: 100%;
}

.phone-shell {
  width: min(100%, 350px);
  position: relative;
}

.provider-sms-indosat .phone-shell {
  width: min(100%, 350px);
}

.phone-frame {
  width: 100%;
}

.bg-cta-wa {
  width: 3.4rem;
  height: 3.6rem;
  position: fixed;
  z-index: 30;
  border-radius: 10rem 0 0 10rem;
  top: 38%;
  right: 0;
  transform: translateY(-60%);
  background: linear-gradient(180deg, #25d366 0%, #1faa52 100%);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32);
}

.floating-wa-link {
  width: 100%;
  height: 100%;
  display: block;
  text-decoration: none;
}

.wa-icon {
  width: 2.7rem;
  height: 2.7rem;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.image-logo {
  width: 120px;
  height: 50px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
  margin-bottom: 15px;
  background: transparent;
  flex-shrink: 0;
}

.logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

.provider-sms-indosat .image-logo-indosat {
  width: 120px;
  height: 50px;
}

.provider-sms-indosat .image-logo-indosat .logo {
  max-width: 100%;
  max-height: 100%;
}

.card-container {
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.card,
.promo-card,
.keypad-card {
  border-radius: 2rem;
  width: 100%;
  border: none;
  background: #ffffff;
  box-shadow: -7px 0 10px -5px rgba(156, 154, 154, 0.75), 7px 0 10px -5px rgba(156, 154, 154, 0.75), 0 -7px 10px -5px rgba(156, 154, 154, 0.75);
}

.provider-sms-indosat .card,
.provider-sms-indosat .promo-card,
.provider-sms-indosat .keypad-card {
  width: 23rem;
}

.promo-media-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2rem 2rem 0 0;
}

.card-img-top,
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.title {
  margin-top: 5px;
  text-align: center;
  flex-shrink: 0;
}

.title-promo {
  font-size: 20px;
  margin-top: 12px;
  margin-bottom: 12px;
  font-weight: 800;
}

.timer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 15px;
}

.timer {
  text-align: center;
  flex: 1;
  padding: 4px;
  background-color: #ffdada;
  color: #b70f0a;
  border-radius: 5px;
  font-size: 9px;
}

.timer-number {
  font-size: 2.2em;
  line-height: 1;
  color: #b70f0a;
  font-weight: bold;
}

.timer-label {
  font-size: 0.9em;
  margin-top: 0.1em;
}

.ticket-divider {
  display: flex;
}

.circle-a {
  width: 1.3rem;
  height: 2.3rem;
  border: none;
  background-color: #ebebeb;
  border-radius: 0 50rem 50rem 0;
  box-shadow: -12px 0 10px 7px rgba(235, 235, 235), -20px 0 20px 0 rgba(243, 243, 243), -20px 0 10px 4px rgba(243, 243, 243);
}

.circle-b {
  width: 1.3rem;
  height: 2.3rem;
  background-color: #ebebeb;
  border-radius: 50rem 0 0 50rem;
  box-shadow: 12px 0 10px 7px rgba(235, 235, 235), 20px 0 20px 0 rgba(235, 235, 235), 20px 0 10px 4px rgba(235, 235, 235);
}

.dashed {
  width: 100%;
  border-top: 5px dashed #d6d6d6;
  opacity: 0.5;
  align-self: center;
}

.card-body {
  border: none;
  border-radius: 2rem;
  padding: 0 1rem 12px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.card-title {
  font-family: 'Quicksand', sans-serif;
  font-size: 13px;
  text-align: center;
  color: #7a7a7a;
  margin: 0;
  font-weight: 400;
}

.brand-title {
  color: gray;
  font-weight: bolder;
}

.image-text-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 8px;
  gap: 6px;
}

.iconimage {
  width: 18px;
}

.findoutlet {
  text-decoration: none;
  color: #1464f6;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.btn-link {
  display: flex;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.button-tkr {
  background-color: #ed1c24;
  border-radius: 37px;
  display: inline-flex;
  align-items: center;
  height: 42px;
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  justify-content: center;
  letter-spacing: 1.3px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, rgba(230, 22, 16, 1) 0%, rgba(230, 22, 16, 1) 100%);
  box-shadow: 0 6px 12px rgba(230, 22, 16, 0.4);
  transition: all 0.3s ease-in-out 0s;
  cursor: pointer;
  outline: none;
  position: relative;
  margin-top: 8px;
  margin-bottom: 8px;
  padding-left: 36px;
  padding-right: 36px;
  text-transform: uppercase;
  border: none;
}

.button-tkr::after {
  content: '';
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 6px solid #e61610;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ring 1.5s infinite;
}

.button-tkr:hover,
.button-tkr:focus {
  color: #fff;
  transform: translateY(-1px);
}

.button-tkr:hover::after,
.button-tkr:focus::after {
  animation: none;
  display: none;
}

.button-tkr:disabled {
  background: #bdb2aa;
  color: #f7f2ee;
  box-shadow: none;
}

.accordion-test {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.terms-trigger {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.text-details {
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  color: #7a7a7a;
}

.accordion-icon {
  vertical-align: middle;
  width: 10px;
  margin-left: 10px;
  margin-top: 4px;
  transition: transform 0.3s ease-in-out;
}

button.accordion-button.collapsed .accordion-icon {
  transform: rotate(0deg);
}

button.accordion-button:not(.collapsed) .accordion-icon {
  transform: rotate(90deg);
}

.terms-collapse.hidden {
  display: none;
}

.accordion-body {
  font-family: 'Quicksand', sans-serif;
  font-size: 12px;
  text-align: justify;
  padding: 0 12px 12px;
}

.indosat-extra-terms {
  margin: 12px 0 0;
  line-height: 1.4;
  text-align: justify;
}

.top-business {
  display: flex;
  gap: 3px;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.business,
.btn-cta {
  font-size: 8px;
}

.business {
  color: #c2bdbd;
  margin: 0;
}

.btn-cta {
  color: #1464f6;
  text-decoration: none;
}

.campaign-state {
  margin-bottom: 16px;
  border-radius: 0.5rem;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.5;
  background: color-mix(in srgb, var(--dominant) 10%, white);
  color: #51362d;
}

.campaign-state.is-warning {
  background: #fff1cd;
  color: #7b5a0a;
}

.campaign-state.is-danger {
  background: #ffe0de;
  color: #8a2d2a;
}

.card-body-numpad {
  font-family: 'Source Sans 3', sans-serif;
}

.header-numpad {
  font-weight: bold;
  font-size: 25px;
  margin-top: 30px;
  text-align: center;
}

.text-numpad {
  font-size: 13px;
  text-align: center;
  margin-top: 10px;
  color: #7a7a7a;
}

.feedback-row {
  min-height: 24px;
}

.feedback {
  text-align: center;
  margin: 0 auto;
  color: #747474;
  font-size: 12px;
}

.text-keyboard {
  font-size: 20px;
  text-align: center;
  margin: 0 auto 20px;
  display: flex;
  background-color: transparent;
  border: none;
  border-bottom: #747474 1px solid;
  color: #747474;
  width: 80%;
  font-family: 'Quicksand', sans-serif;
}

.phone-wrapper {
  margin-top: 10px;
}

.keypad-grid {
  display: grid;
  grid-template-columns: repeat(3, 74px);
  justify-content: center;
}

.flex-number {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  color: rgb(106, 106, 106);
  margin: 10px;
  text-align: center;
  line-height: 50px;
  font-size: 20px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  box-shadow: 1px 1px 1px 1px rgb(200, 200, 200);
  border: none;
  cursor: pointer;
}

.flex-number:hover,
.flex-number-send:hover,
.flex-number-del:hover {
  background-color: #cac7c7;
  color: white;
}

.flex-number-del {
  background-color: #32bcad;
  color: white;
}

.flex-number-send {
  background-color: #ed1c24;
  color: white;
}

.img-check {
  width: 30px;
}

.img-delete {
  width: 30px;
  margin-right: 5px;
}

.back-row {
  text-align: left;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 38px;
}

.arrow-final-step-container {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Quicksand', sans-serif;
  font-weight: bold;
  font-size: 18px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.arrow-final-step {
  width: 10px;
  display: block;
  flex: 0 0 auto;
}

.back-button {
  display: inline-block;
  line-height: 1;
  font-family: 'Quicksand', sans-serif;
  font-weight: bold;
  font-size: 18px;
}

.logo-telkomsel {
  display: flex;
  justify-content: center;
  margin: 12px auto 0;
  width: 70px;
  flex-shrink: 0;
}

.final-step-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
}

.success-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.final-step-title {
  text-align: center;
  font-weight: bold;
  font-size: 2.1rem;
}

.final-step-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-top: 10px;
  margin-bottom: 25px;
}

.btn-final-step {
  color: #1464f6;
  font-size: 23px;
  font-weight: bold;
  text-transform: uppercase;
  font-family: 'Quicksand', sans-serif;
  border: none;
  background: transparent;
  cursor: pointer;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 100;
}

.modal-card {
  width: min(100%, 960px);
  background: #f9f9f9;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(23, 18, 15, 0.24);
  position: relative;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: #e8e8e8;
  font-size: 1.2rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}

.close-button:hover {
  background: #d4d4d4;
  color: #222;
}

.modal-card h2 {
  display: flex;
  justify-content: center;
  font-family: 'Quicksand', sans-serif;
  font-size: 30px;
  text-transform: capitalize;
  font-weight: bold;
  margin: 0 0 16px;
}

.outlet-search-wrap {
  margin: 0 0 8px;
}

.outlet-search-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Quicksand', sans-serif;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.outlet-search-input:focus {
  border-color: #1464f6;
}

.outlet-search-input::placeholder {
  color: #aaa;
}

.outlet-count {
  font-size: 12px;
  color: #888;
  margin: 0 0 6px;
  text-align: right;
  font-family: 'Quicksand', sans-serif;
}

.outlet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.outlet-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fff;
  align-items: center;
  border: 1px solid #e8ecef;
  transition: box-shadow 0.2s, border-color 0.2s;
  min-width: 0;
}

.outlet-item:hover {
  border-color: #c0d0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.outlet-name-col {
  flex: 1 1 auto;
  min-width: 0;
}

.outlet-display-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1d2740;
  word-break: break-word;
  line-height: 1.4;
}

.outlet-city {
  margin: 4px 0 0;
  font-size: 12px;
  color: #1464f6;
  font-weight: 500;
}

.outlet-address-col {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.outlet-address-text {
  margin: 3px 0 0;
  font-size: 12px;
  color: #666;
  word-break: break-word;
  line-height: 1.4;
}

.outlet-map-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #fff;
  background: #1464f6;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}

.outlet-map-link:hover {
  background: #0f50d0;
  transform: translateY(-1px);
}

.outlet-map-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.outlet-no-results {
  text-align: center;
  color: #888;
  font-size: 14px;
  padding: 24px 0;
  margin: 0;
  font-family: 'Quicksand', sans-serif;
}

.hidden {
  display: none !important;
}

.popout {
  animation: popout 1s ease;
}

@keyframes ring {
  0% {
    width: 30px;
    height: 30px;
    opacity: 1;
  }

  100% {
    width: 150px;
    height: 150px;
    opacity: 0;
  }
}

@keyframes popout {
  from {
    transform: scale(0);
  }

  80% {
    transform: scale(1.1);
  }

  to {
    transform: scale(1);
  }
}

@media (max-width: 576px) {
  .card,
  .promo-card,
  .keypad-card {
    width: 21rem;
  }

  .phone-shell {
    width: min(100%, 368px);
  }

  .provider-sms-indosat .card,
  .provider-sms-indosat .promo-card,
  .provider-sms-indosat .keypad-card,
  .provider-sms-indosat .phone-shell {
    width: min(100%, 23rem);
  }

  .modal-card {
    width: 100%;
  }

  .overlay {
    padding: 16px;
  }
}

@media screen and (min-width: 300px) and (max-width: 700px) {
  .final-step-title {
    font-size: large;
  }

  .final-step-logo {
    width: 150px;
    height: 150px;
  }

  .btn-final-step {
    font-size: small;
  }
}
.outlet-filter-wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.outlet-filter-wrap .outlet-search-wrap {
  flex: 1 1 180px;
  margin: 0;
}

.city-select-wrap {
  flex: 1 1 120px;
}

.city-select-dropdown {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Quicksand', sans-serif;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 36px;
}

.city-select-dropdown:focus {
  border-color: #1464f6;
}
