:root {
    --toto-blue: #005cb9;
    --text-dark: #222222;
    --text-gray: #666666;
}

.m_main_color {color: var(--toto-blue) !important;}
.m_main_bgcolor {background-color: var(--toto-blue) !important;}
/* ==============================
참여 안내 페이지
============================== */

.m_date_box {
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-align: left;
	padding: 12px 24px;
}

.b_event_sec .b_tit_box .mj_h2 {
	color: var(--toto-blue) !important;
}

.b_event_sec .b_date_wrap .mj_h3 {
    background-color: var(--toto-blue) !important;
}

.b_event_sec .b_date_wrap {
	border-radius: 6px;
}
.mj_event_info {
  padding: 12px 12px 0;
}

.mj_event_item + .mj_event_item {
  margin-top: 16px;
}

.mj_event_title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #111;
}

.mj_event_list {
  padding-left: 20px;
}

.mj_event_list li {
  font-size: 14px;
  color: #222;
  line-height: 1.6;
}

.mj_btn_wrapper {
    display: flex;
    gap: 12px;
    margin: 0 0 20px 0;
}

.mj_btn_1 {
	background-color: var(--toto-blue) !important;
}

.mj_event_banner {
  margin-bottom: 20px;
  padding: 20px 12px;
  background: #EFF7FF;
  border: 1px solid var(--toto-blue);
  text-align: center;
  border-radius: 6px;
}

.mj_event_banner_text {
  color: #124578;
}

.b_event_sec .b_gift_slide {
  padding-bottom: 22px;
}

.b_event_sec .b_gift_slide .b_num {
	color: var(--toto-blue);
    border: 1px solid var(--toto-blue);
}


/* ==============================
오늘의 모의베팅
============================== */

.mj_betting_box {
  margin-bottom: 10px;
}

/* 날짜 */
.mj_betting_date {
  padding: 16px;
  margin-bottom: 8px;
  background: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 6px;
}

/* 경기 박스 */
.mj_match_box {
  padding: 16px;
  margin-bottom: 10px;
  background: #fff;
  border: 1px solid #e0e6ed;
  text-align: center;
  border-radius: 6px;
}

.mj_match_team {
  font-size: 15px;
  font-weight: 700;
}

.mj_match_team span {
  margin: 0 6px;
}

.mj_match_info {
  margin-top: 4px;
  font-size: 11px;
  color: #888;
}

/* 베팅 버튼 */
.mj_bet_btns {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}

.mj_bet_btn {
  flex: 1;
  cursor: pointer;
}

.mj_bet_btn input {
  display: none;
}

.mj_bet_btn span {
  display: block;
  padding: 12px 0;
  background: #fff;
  border: 2px solid #ccc;
  transition: all 0.2s ease;
  /* border-radius: 6px; */
}

.mj_bet_btn b {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.mj_bet_btn em {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #777;
}

/* 기본 컬러 */
.mj_bet_win span { border-color: #24446f; }
.mj_bet_draw span { border-color: #888; }
.mj_bet_lose span { border-color: #e94444; }

.mj_bet_win b { color: #24446f; }
.mj_bet_draw b { color: #555; }
.mj_bet_lose b { color: #e94444; }

/* 선택 상태 (연한 배경) */
.mj_bet_win input:checked + span {
  background: #e9f0fb;
}

.mj_bet_draw input:checked + span {
  background: #ececec;
}

.mj_bet_lose input:checked + span {
  background: #fdecec;
}

.mj_streak_box {
  padding: 16px;
  background: #fff7e6;
  border: 1px solid #f39a18;
  border-radius: 6px;
}

.mj_streak_title {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #24446f;
}

.mj_streak_list {
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
}

.mj_streak_item {
  text-align: center;
}

.mj_circle {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto 6px;
  border-radius: 50%;
  border: 1.5px solid #f39a18;
  background: #fff;
}

.mj_streak_item.is_active .mj_circle {
  background: #f39a18;
}

.mj_streak_item.is_active .mj_circle::after {
  content: "✓";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -55%);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.mj_streak_item em {
  display: block;
  font-size: 12px;
  font-style: normal;
  color: #777;
  line-height: 1;
}


.mj_streak_bonus_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.mj_streak_bonus_item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 12px 14px;
  border-radius: 10px;
  color: #111;
  flex-direction: column;
}

.mj_bonus_3 {
  background: linear-gradient(135deg, #ffd83b 0%, #ffb21f 100%);
}

.mj_bonus_5 {
  background: linear-gradient(135deg, #ff9a45 0%, #e96a35 100%);
}

.mj_bonus_7 {
  background: linear-gradient(135deg, #ff5c4f 0%, #ee3f3a 100%);
}
.mj_streak_bonus_top {
  display: flex;
  gap: 10px;
    align-items: center;
  justify-content: center;
}
.mj_streak_bonus_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
}

.mj_streak_bonus_txt p {
  margin-bottom: 6px;
  color: #111;
}

.mj_streak_bonus_txt span {
  color: #111;
}


/* ==============================
투표권 번호 등록하기
============================== */
.mj_step_box {
  margin-bottom: 20px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e0e6ed;
  text-align: left;
  border-radius: 6px;
}

.mj_step_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mj_step_list li {
  display: flex;
  align-items: flex-start;
  line-height: 1.6;
  color: #333;
}

.mj_step_list li + li {
  margin-top: 4px;
}

.mj_num {
  margin-right: 6px;
  font-weight: 600;
  min-width: 28px;
}

.mj_ticket_form {
  margin-bottom: 20px;
}

.mj_ticket_label {
  margin-bottom: 12px;
  color: var(--text-dark);
}

.mj_ticket_input_group {
  display: flex;
  gap: 8px;
}

.mj_ticket_input {
  flex: 1;
  height: 42px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid #e0e6ed;
  color: var(--text-dark);
  text-align: center;
  outline: none;
  width: 100%;
}

.mj_ticket_input::placeholder {
  color: #b5b5b5;
}

.mj_ticket_add_btn {
  width: 100%;
  height: 40px;
  margin-top: 8px;
  background: #fff;
  border: 1px solid #e0e6ed;
  color: var(--text-gray);
  text-align: left;
  padding: 0 12px;
  cursor: pointer;
}

.mj_ticket_add_btn:hover {
  border-color: var(--toto-blue);
  color: var(--toto-blue);
}

.mj_ticket_list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mj_ticket_plus_btn {
  width: 100%;
  height: 42px;
  margin-top: 8px;
  background: var(--toto-blue);
  border: 1px solid var(--toto-blue);
  color: #fff;
  cursor: pointer;
}

.mj_ticket_plus_btn:hover {
  opacity: 0.9;
}

.mj_ticket_list .mj_ticket_input_group + .mj_ticket_input_group {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #d8e0ea;
}


.mj_complete_inner {
  padding: 28px 20px 0;
  text-align: center;
}

.mj_complete_title {
  margin-bottom: 18px;
  color: var(--toto-blue);
}

.mj_complete_streak {
  padding: 12px;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
}

.mj_complete_streak_text {
  color: #24446f;
  line-height: 1.4;
}

.mj_complete_banner {
  padding: 20px 16px 16px;
  margin-bottom: 16px;
  background: #EFF7FF;
  border: 1px solid var(--toto-blue);
  border-radius: 6px;
}

.mj_complete_banner_sub {
  margin-bottom: 4px;
  color: #24446f;
}

.mj_complete_banner_tit {
  margin-bottom: 14px;
  color: #f03b2f;
}

.mj_complete_banner_btn {
  display: block;
  width: 100%;
  padding: 12px 10px;
  background: #132b57;
  color: #fff;
  text-align: center;
  border-radius: 6px;
}

.mj_complete_confirm {
  width: 100%;
  height: 48px;
  color: #fff;
  border-radius: 6px;
}


/* ==============================
적중자 팝업
============================== */
.mj_prediction_pop {
  max-width: 370px;
  padding: 0;
  border: 2px solid #132b57;
  background: #fff;
  overflow: hidden;
}

.mj_prediction_head {
  padding: 14px 16px;
  background: #132b57;
  color: #fff;
  text-align: center;
}

.mj_prediction_body {
  padding: 22px 24px;
  text-align: center;
}

.mj_prediction_message {
  color: #132b57;
  line-height: 1.5;
}

.mj_prediction_line {
  height: 1px;
  margin: 20px 0;
  background: #d9dde5;
}

.mj_prediction_desc {
  margin-bottom: 24px;
  color: #132b57;
  line-height: 1.5;
}

.mj_prediction_desc p + p {
  margin-top: 4px;
}

.mj_prediction_btn {
  display: block;
  width: 100%;
  padding: 15px 10px;
  background: #132b57;
  color: #fff;
  text-align: center;
  border-radius: 6px;
}

.mj_prediction_close {
  display: inline-block;
  margin-top: 20px;
  border: 0;
  background: none;
  color: #777;
  cursor: pointer;
}
