body {
  margin: 0;
  font-family: Poppins;
  background: #ffffff;
}

p {
  margin: 0;
}

.hero {
  padding: 0;
  line-height: 0;
  position: relative;
  z-index: 2;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  margin-top: -1rem;
  height: auto;
  display: block;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #F5FAFF;
  padding-top: 24px;
  margin-top: -16px;
  position: relative;
  z-index: 1;
}

.filter-container {
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

.team-select {
  width: 100%;
  padding: 16px 12px;
  border-radius: 12px;
  border: 1px solid #DFEEFF;
  background-color: #FFFFFF;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2387888a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}

.team-select option {
  background: #ffffff;
  color: #333;
  padding: 12px 16px;
  font-family: "Poppins", sans-serif;
}

#ticket-container {
  display: flex;
  padding: 0px 16px;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  min-height: 50vh;
  margin-bottom: 60px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 16px 2px 8px 0px rgba(25, 26, 26, 0.12);
  position: relative;
  overflow: hidden;
  
  margin-bottom: 20px;
  background: #fff;
}

.card-top {
  display: flex;
  padding: 46px 10px 22px 10px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  align-self: stretch;
  position: relative;
  z-index: 1;
  background: url(https://nos.wjv-1.neo.id/moflip-bucket/brimo/BRI%20-%20Card%20Background%20-%20Without%20Ball.webp);
  background-size: cover;
  background-position: top right;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

.team {
  text-transform: uppercase;
  font-family: Righteous;
  font-size: 18px;
}

.home-team {
  padding: 0px 4px;
  width: fit-content;
  background: var(--secondary-100, #00549b);
}

#home-team-name {
  color: #fff;
}

.away-team {
  padding: 0px 4px;
  width: fit-content;
  background: var(--white-00, #fff);
}

.smaller {
  font-size: 12px;
}

.event-info {
  font-family: Righteous;
  color: white;
}

.event-info .date {
  text-transform: uppercase;
  font-size: 8px;
}
.event-info .time {
  text-transform: uppercase;
  font-size: 8px;
}

#date-bottom {
  color: #07274A;
  text-align: center;
  font-family: Poppins;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}
#time-bottom {
  color: #07274A;
  text-align: center;
  font-family: Poppins;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

#location-bottom {
  color: var(--black-00, #87888a);
  text-align: center;
  font-family: Poppins;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
}

.event-info .location {
  font-size: 10px;
}

.team-logo-container {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 4px;
}

.team-logo {
  object-fit: contain;
  height: 64px;
  width: 64px;
}

.card-bottom {
  display: flex;
  padding: 12px 10px 16px 10px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
  background: var(--white-00, #fff);
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  
  background-color: #FFFFFF;
  border: 1px solid #DFEEFF;
  box-shadow: 0px 8px 16px rgba(0, 82, 155, 0.2);
}

.match-title {
  color: var(--blue-950, #07274A);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.02em;
}

.match-info {
  color: var(--black-00, #87888a);
  text-align: center;
  font-family: Poppins;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  display: flex;
  gap: 4px;
}

.match-date {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.match-location {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.mulai-dari {
  color: var(--black-00, #87888a);
  font-family: Poppins;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

.price {
  color: var(--black-100, #191a1a);
  font-family: Righteous;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
}

.content-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
}

.card-button {
  all: unset;
  display: flex;
  padding: 14px 12px;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-radius: 12px;
  background: var(--secondary-100, #00529B);
  color: var(--black-100, #fff);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: 0;
  cursor: pointer;
  text-align: center;
  margin-bottom: 4px;


  background-color: #00529B;
  box-shadow: 0px 4px 4px rgba(0, 82, 156, 0.45);
}

.card-button.disabled {
  background: #e7e7e8;
  color: #868687;
  pointer-events: none;
  cursor: default;
}

.card-ribbon {
	position: absolute;
	top: 12px;
	right: 12px;
	background-color: #ffffff;
	color: #00529c;
	font-family: "Poppins", sans-serif;
	font-size: 12px;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 20px;
	z-index: 3;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hidden {
  display: none;
}

.footer {
  display: flex;
  background: #ffffff;
  flex-direction: column;
  bottom: 0px;
  position: sticky;
  z-index: 1000;
}

.footer a {
  text-decoration: none;
  color: #000000;
}

.footer .footer-content {
  position: sticky;
  bottom: 0px;
  background: #ffffff;
  text-align: center;
  font-size: 10px;
  line-height: 125%;
  padding: 10px 1rem;
}

.footer .footer-content .footer-link {
  text-decoration: underline;
}

.sk {
  color: var(--blue-600, #016DCB);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.02em;
}

#body-wrapper.show-modal {
  height: 100vh;
  overflow: hidden;
}

.loading,
.error {
  text-align: center;
  font-size: 16px;
  margin: 40px 20px;
  color: #87888a;
}

.empty-state-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.empty-state-image {
  max-width: 240px;
}

.empty-state-title {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #191a1a;
  margin: 0 0 8px 0;
}

.empty-state-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #87888a;
  line-height: 1.5;
  max-width: 320px;
  margin: 0;
}

.error {
  color: red;
  text-align: center;
  font-size: 16px;
  margin: 20px;
}

/* --- Desktop Styles --- */
@media (min-width: 768px) {
  body {
    background-color: #ffffff;
  }

  #body-wrapper {
    max-width: 425px;
    margin: 2rem auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    position: relative;
    min-height: 90vh;
  }

  .footer {
    position: absolute;
    width: 100%;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }
}

