@font-face {
  font-family: 'SEBANG_Gothic_Regular';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2104@1.0/SEBANG_Gothic_Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'SEBANG_Gothic_Bold';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2104@1.0/SEBANG_Gothic_Bold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
    
.betting-wrap {
  font-family: 'SEBANG_Gothic_Regular';
  display: flex;
  gap: 8px;
}

.match-list {
  font-family: 'SEBANG_Gothic_Regular';
  flex: 3;
  padding: 15px 0;
  border-radius: 8px;
}

.date {
  font-family: 'SEBANG_Gothic_Regular';
  padding: 7px 0 4.5px;
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: rgba(43, 240, 160, 0.5);
  border: 1px solid rgba(43, 240, 160, 0.5);
  border-radius: 8px;
  background:#0b0a0f;
}

.match-header {
  font-family: 'SEBANG_Gothic_Regular';
  display: grid;
  grid-template-columns: 50px 1fr 60px 1fr 65px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: rgba(43, 240, 160, 0.5);
  margin-bottom: 8px;
}

.match-header > div {
  font-family: 'SEBANG_Gothic_Regular';
  display: flex;
  align-items: center;
  justify-content: center;
}

.league-title {
  font-family: 'SEBANG_Gothic_Regular';
  font-size: 18px;
  margin: 10px 0;
}

.league-box {
  margin: 0 0 50px 0;
}

.match-row {
  font-family: 'SEBANG_Gothic_Regular';
  display: grid;
  gap: 4px;
  grid-template-columns: 50px 1fr 60px 1fr 60px;
  margin-bottom: 8px;
  border-radius: 6px;
  overflow: hidden;
}

.match-row .time {
  font-family: 'SEBANG_Gothic_Regular';
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2bf0a0;
  font-size: 1rem;
}

.team {
  font-family: 'SEBANG_Gothic_Regular';
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  background: #0b0a0f;
  font-weight: 500;
  font-size: 1rem;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
}



.team.selected {
  background: #2bf0a0;
  color: #000;
}

.team .odd {
  font-family: 'SEBANG_Gothic_Regular';
  margin-left: 6px;
  font-weight: 500;
  font-size: 1rem;
}

.switch {
  font-family: 'SEBANG_Gothic_Regular';
  display: flex;
  align-items: center;
  justify-content: center;
}

.switch span {
  font-family: 'SEBANG_Gothic_Regular';
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.switch span.on {
  background: #2bf0a0;
}

.switch span.off {
  background: #ff6d6e;
}

/* 배팅카트 */
.betting-cart {
  font-family: 'SEBANG_Gothic_Regular';
  flex: 1;
  padding: 15px 0;
  border-radius: 8px;
}

.cart-title {
  font-family: 'SEBANG_Gothic_Bold';
  font-size: 1.5rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.cart-title .cart-title-fix {
  font-family: 'SEBANG_Gothic_Regular';
  color: rgba(43, 240, 160, 1);
  font-size: 1rem;
}

.cart-title .cart-title-fix .v-checkbox-fix {
  border-radius: 0px;
  border:1px solid rgba(43, 240, 160, 1);
}

.cart-box {
  border-radius: 10px;
  border: 1px solid rgba(43, 240, 160, 1);
  padding: 0.6rem;
}

.cart-list {
  font-family: 'SEBANG_Gothic_Regular';
  list-style: none;
  padding: 4px;
  margin: 0 0 12px 0;
  display: flex;
  flex-direction: column;
  max-height: 170px; /* 원하는 높이 */
  overflow-y: auto;
  background: #1f1f1f;
}

.cart-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #333;
  padding: 5px;
  background: #000;
}

.cart-match {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  flex: 1;
}

.cart-match .cart-team {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cart-match .label {
  padding: 0 0 0 4px;
  margin: 2px 0 -2px;
  font-weight: normal;
  width: 1.1rem;
  text-align: center;
  font-size: 0.8rem;
}

.cart-match .label.h {
  color: #2bf0a0;
}
.cart-match .label.a {
  color: #ff6d6e;
}

.result {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: 10px;
  min-width: 30px;
}

.status {
  font-size: 13px;
}

.home-win .status,.result.home-win .odd {
  color: #2bf0a0; /* 홈승 */
}

.away-win .status,.result.away-win .odd {
  color: #ff6d6e; /* 홈패 */
}

.result .odd {
  font-size: 14px;
  color: #2bf0a0;
}

.remove-btn {
  background: #333;
  border: none;
  color: #fff;
  font-size: 12px;
  padding: 6px 8px;
  cursor: pointer;
  border-radius: 4px;
  margin-left: 10px;
}

.remove-btn:hover {
  background: #555;
}

/* 스크롤바 스타일 (선택) */
.cart-box::-webkit-scrollbar {
  width: 6px;
}
.cart-box::-webkit-scrollbar-thumb {
  background-color: #444;
  border-radius: 3px;
}

.cart-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}

.cart-info > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #2bf0a0;
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 0px;
  background: #1f1f1f;
}

.cart-info .label {
  color: #fff;
  position: relative;
  padding: 2px 20px 0 0;
  font-size: 1rem;
  font-weight: normal;
  width: 100px;
  text-align: center;
}

.cart-info .label::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 16px;
  background: #2bf0a0;
}

.cart-info .value {
  color: #2bf0a0;
  font-size: 1rem;
}

.cart-info .value2 {
  color: #fff;
  font-size: 1rem;
}

.quick-amount {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 3px;
margin-bottom: 12px;
}

.quick-amount button {
  background: #1f1f1f;
  color: rgba(43, 240, 160, 0.5);
  font-size: 1.1rem;
  font-weight: normal;
  padding: 2px 0;
  cursor: pointer;
  border: 1px solid rgba(43, 240, 160, 0.5);
}

.quick-amount button:hover {
background: #2bf0a0;
color: #000;
}

.quick-amount button.active {
background: #2bf0a0;
color: #000;
}

.cart-buttons {
  font-family: 'SEBANG_Gothic_Regular';
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bet-btn {
  font-family: 'SEBANG_Gothic_Regular';
  background: #2bf0a0;
  border: none;
  padding: 10.5px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #000;
  border-radius: 6px;
  cursor: pointer;
}

.reset-btn {
  font-family: 'SEBANG_Gothic_Regular';
  background: #1c5039;
  border: none;
  padding: 10.5px;
  font-size: 1.2rem;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

.progress-container {
  width: 100%;
  height: 5px;
  background-color: #e0e0e0;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 10px;
}
.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(270deg, #2bf0a0, #1c5039, #2bf0a0);
  background-size: 600% 600%;
  animation: gradientMove 10s ease infinite;
  transition: width 1s linear;
}

/* 애니메이션 키프레임 정의 */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#betMoney {text-align:right;}


	.toggle-cart-btn {display:none;}
	@media (max-width: 900px) {
    .px-4 {
      padding-left: 0.5rem;
      padding-right: 0.5rem;
    }
    .cart-title .cart-title-fix {
      display:none;
    }
		.league-title {
			font-size: 14px;
		}
		.match-header {
			grid-template-columns: 50px 1fr 60px 1fr;
		}
		.match-header > div.h-onoff {
			display:none;
		}
		.match-row .time, .team, .team .odd ,.cart-info .label,.cart-info .value{
			font-size: 0.75rem;
		}
		.match-row {
			grid-template-columns: 32px 1fr 36px 1fr;
		}
		.match-row .switch {
			display:none;
		}
		 .team {
			padding: 6px;
		 }
		 .cart-box {
			border: none;
    		padding: 0;
		 }
		.betting-cart {
			position: fixed;
  			bottom: -385px; /* 기본은 아래로 숨김 */
			width: calc(100%);
			background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
			left: 0;
			padding: 1rem;
			transition: bottom 0.3s ease-in-out;
			z-index: 1000;
			height: 454px;
		}
		/* 보일 때 적용 */
		.betting-cart.show {
			bottom: 0;
		}
		.toggle-cart-btn {
			display: initial;
			position: fixed;
			bottom: 53px;
			right: 0px;
			z-index: 1100;
			background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
			color: #fff;
			padding: 0.5rem 1rem;
			border: none;
			border-radius: 5px;
			transition: bottom 0.3s ease-in-out;
		}
		.toggle-cart-btn.show {
			bottom: 439px;
		}
		.cart-info {
			display: flex;
			flex-wrap: wrap;
			flex-direction: row;
			gap: 4px; /* 여백 필요시 */
		}
		.cart-info > div {
			flex: 0 0 calc(50% - 2px); /* 가로 50% */
			padding: 6px 6px 6px 0;
			box-sizing: border-box;
			display: flex;
			justify-content: space-between;
		}
		.cart-info .label {
			padding: 2px 10px 0;
			width: 60px;
		}
		.cart-info .label::after {
			content: initial;
		}
		#betMoney {
			width: 100%;
			padding: 0.2rem .75rem;
        	margin: -7px 0;
		}
		.quick-amount {
			width: 66%;
    		float: left;
			margin-bottom:0;
		}
		.cart-buttons {
			width: calc(36% - 10px);
    		padding-left: 10px;
			gap: 5px;
		}
		#bet_div {
			height: 170px;
		}
	}