/**************************************************
SF-UMN-07-15
**************************************************/
.u0716-button-group.u0715 a.btn.u0715 {
  background-color: #2846c3;
  color: #fff;
  margin-left: auto;
}

.u0715-container {
  background: #232323;
  padding: 15px 20px;
  width: 480px;
  text-align: center;
  margin-right: 4rem;
}

.u0715-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.u0715-title {
  font-size: 40px;
  font-weight: bold;
  color: #fff;
}

.u0715-title span {
  display: flex;
}

.u0715-title span img {
  margin-right: 0.5rem;
}

.u0715-checkbox {
  font-size: 20px;
  color: #fff;
  display: flex;
}

.u0715-checkbox label {
  margin-left: 0.5rem;
}

.u0715-time-input {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-bottom: 28px;
}

.u0715-time-input input {
  width: 100px;
  height: 100px;
  font-size: 18px;
  text-align: center;
  background: white;
  border: none;
  border-radius: 5px;
  color: black;
}

.u0715-time-input input.time-lastinput {
  margin-left: 2rem;
}

.u0715-time-input span {
  font-size: 48px;
  color: #fff;
  line-height: 40px;
  margin: 0 4rem;
}

.u0715-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.u0715-keypad button {
  background: linear-gradient(
      to bottom,
      #101010 0%,
      #373737 40%,
      #373737 60%,
      #101010 100%
  );
  color: white;
  font-size: 24px;
  padding: 15px;
  border: none;
  cursor: pointer;
  width: 100%;
  height: 90px;
}

.u0715-keypad button:active {
  background: #666;
}

.u0715-reset {
  grid-column: span 2;
  background: linear-gradient(to bottom, #555, #222);
}

.u0715-wrap {
  display: flex;
  justify-content: space-between;
}

.u0715-scoreboard {
  background: #111;
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  min-width: 670px;
  text-align: center;
  border: 5px solid black;
}

.u0715-top-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.4rem;
  gap: 0.8rem;
}

.u0715-scoreboard button {
  width: 100%;
  max-width: 10rem;
  color: white;
  border: 1px solid #fff;
  padding: 15px 4px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.4rem;
}

.u0715-scoreboard button:hover {
  background: #666;
}

.u0715-score-name {
  width: 100%;
  background-color: #fff;
  color: #243786;
  padding: 16px 10px;
  font-weight: bold;
  min-width: 200px;
  text-align: left;
  border-radius: 5px;
}

.u0715-score-name p {
  font-size: 16px;
  font-weight: bold;
}

.u0715-score-name span {
  width: 100%;
  border: 1px solid #243786;
  color: #fff;
  background-color: #243786;
  padding: 1rem;
  font-size: 14px;
  margin-right: 10px;
  border-radius: 5px;
}

.u0715-score-table {
  background: #222;
}

.u0715-score-header {
  display: flex;
  justify-content: space-between;
  background-color: #f5f5f5;
  color: #232323;
  padding: 10px;
}

.u0715-score-header span {
  flex: 1;
  text-align: center;
}

/* 스코어보드 수정 */
.u0715-score-checkWrap {
  display: flex;
}

.u0715-scoreWrap {
  width: 100%;
  max-width: 1200px;
}

.u0715-checkWrap {
  width: 100%;
  max-width: 200px;
}

.u0715-checkWrap > div {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50%;
}

.u0715-checkWrap > div p {
  color: #fff;
  font-size: 20px;
  margin-right: 2rem;
  line-height: 24px;
}

.u0715-checkWrap > div label {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.u0715-player-score {
  display: flex;
  justify-content: space-between;
  background: linear-gradient(to bottom, #dddddd 0%, #ffffff 50%, #dddddd 100%);
  padding: 10px;
}

.u0715-player-score .u0715-score-box label {
  margin-bottom: 0;
}

.u0715-player-score .u0715-score-box label input[type="text"] {
  background: transparent;
  border: none;
  text-align: center;
  font-size: 16px;
  color: #fff;
  padding: 12px 0;
}

.u0715-player-score.u0715-blue {
  background: linear-gradient(to bottom, #2846c3, #13215d);
}

.u0715-score-box {
  flex: 1;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.u0715-score-box span {
  max-width: 180px;
  width: 100%;
  height: 80px;
  padding: 10px;
  display: block;
  border-radius: 5px;
  background: linear-gradient(to bottom, #444, #222);
  display: flex;
  justify-content: center;
  align-items: center;
  /* font-size: 16px; */
}

.u0715-score-box span {
  color: #fff;
}

.u0715-score-box h2 {
  font-size: 2rem;
  line-height: 2.5rem;
  position: relative;
}

.u0715-score-box.blue h2 {
  color: #fff;
}

.u0715-score-box h2 em {
  font-size: 1.6rem;
  font-weight: normal;
}

.u0715-score-box span.win {
  position: absolute;
  top: 30px;
  left: 30px;
  margin-top: -20px;
  margin-left: -30px;
  width: 30px;
  height: 30px;
  background: linear-gradient(
      to right,
      #ecc440 0%,
      #fffa8a 34%,
      #ddac17 67%,
      #ffff95 100%
  );
  font-size: 14px;
  color: #000;
  /* border: 1px solid #000; */
  display: none;
}

.u0715-score-box span.lose {
  position: absolute;
  top: 30px;
  left: 30px;
  margin-top: -20px;
  margin-left: -30px;
  width: 30px;
  height: 30px;
  background: linear-gradient(
      to right,
      #ec4040 0%,
      #ff8aa9 34%,
      #dd1717 67%,
      #ff9595 100%
  );
  font-size: 14px;
  color: #000;
  /* border: 1px solid #000; */
  display: none;
}

.u0715-score-box span.show {
  display: flex;
}

.u0715-dropdown {
  flex: 1;
}

.u0715-dropdown.u0715-score-box option {
  color: #333;
}

.u0715-dropdown select {
  width: 100%;
  height: 100%;
  padding: 5px;
  background: transparent;
  color: white;
  border: none;
  border-radius: 5px;
  text-align: center;
  font-size: 14px;
}

.u0715-forfeit {
  flex: 1;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

.u0715-score-input {
  margin-top: 20px;
  background: #fff;
  color: black;
  /* padding: 15px; */
}

.u0715-score-input h3 {
  font-size: 16px;
  font-weight: bold;
  background-color: #f5f5f5;
  width: 100%;
  padding: 15px;
}

.u0715-score-input-content {
  width: 100%;
  height: 250px;
  overflow-y: scroll;
  border: none;
  resize: none;
  color: #999;
}

.u0715-score-input-content .m08-table {
  margin: 0;
  padding: 0;
  border-collapse: collapse;
  width: 100%;
}

.u0715-score-input-content .m08-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
}

/* 경기진행기록 리스트 상세설정 */
.m08-table.u0715 th,
.m08-table.u0715 td {
  border: none;
  padding: 10px;
  text-align: center;
  font-size: 1.4rem;
  color: #333;
}

.m08-table.u0715 input {
  text-align: center;
  color: #333;
}

.m08-table.u0715 input[type="text"] {
  border: none;
}

.m08-table.u0715 td select {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}

.m08-table.u0715 td select option {
}

.m08-table th {
  background-color: #f5f5f5;
  border-top: 2px solid #ddd;
}

.m08-table-content tr td:nth-child(2) {
  display: flex;
  justify-content: center;
  align-content: center;
}

.m08-table-content tr td label {
  width: 100%;
  max-width: 150px;
  margin-bottom: 0;
}

.m08-table-content tr td label input {
  height: 100%;
  width: 100%;
}

/* 경기진행기록 버튼설정 */
.u0715-score-input-content-button {
  /* background-color: #000; */
  display: flex;
  justify-content: space-between;
  padding: 15px;
}

.u0715-score-input-content-button button {
  color: #fff;
  background-color: #000;
  border: 1px solid #000;
}

.u0715-score-input-content-button > div button {
  color: #000;
  background-color: #fff;
  border: 1px solid #000;
  margin-left: 1rem;
}

.u0715-score-input-content-button > div {
  display: flex;
}

.u0715-score-input-content select option[disabled] {
  color: #999; /* 회색으로 표시 */
}

/**************************************************
SF-UMN-07-15   -   추가
**************************************************/
.u0715-wrap {
  margin-bottom: 4rem;
}

/* 탭 버튼 컨테이너 */
.CON-04-05-tab-info-container {
  display: flex;
}

.UMN-07-15-tab-button {
  flex: 1;
  padding: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03rem;
  text-align: center;
  background: var(--white);
  color: var(--navy);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.UMN-07-15-tab-button.active {
  background: var(--navy);
  color: white;
  letter-spacing: -0.03rem;
}

/* 탭 내용 */
.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

.admin-tab-content-wrap {
  padding: 1.2rem;
  border: 1px solid var(--navy);
  border-top: none;
  margin-bottom: 0.8rem;
}

.admin-tab-content-wrap label {
  font-weight: normal;
}

/* 버튼 영역 */
.CON-04-05-btnWrap {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.admin-tab-btn-lf {
  border-radius: 0.7rem 0 0 0;
  border: 1px solid var(--navy);
}

.admin-tab-btn-rg {
  border-radius: 0 0.7rem 0 0;
  border: 1px solid var(--navy);
}

.tech_wrap {
  margin-bottom: 0.7rem;
}

.tech_wrap:nth-last-child(1) {
  margin-bottom: 0;
}

.tech_ca_tit {
  font-size: 1.6rem;
  letter-spacing: -0.03rem;
  background: var(--bg_gray);
  padding: 1.2rem 2rem;
}

.tech_chk_wrap {
  display: flex;
  border: 1px solid #ddd;
  border-top: none;
  padding: 2rem;
  justify-content: flex-start;
  align-items: center;
  gap: 4rem;
}

.tech_chk {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  letter-spacing: -0.03rem;
}

.tech_wrap_btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.tech_score_btn {
  width: 100%;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03rem;
  color: var(--white);
  padding: 1.6rem 1.2rem;
  border-radius: 0.5rem;
}

.tech_wrap_btn_corre {
  background: #0869fc;
}

.tech_wrap_btn_end {
  background: #ff4a4a;
}

@media (max-width: 1440px) {
  .contestInfo,
  #singWrap.u0715 {
    padding: 0 2rem;
  }
}

@media (max-width: 1300px) {
  .u0715-scoreboard button span {
    display: none !important;
  }

  .u0715-wrap {
    overflow-x: auto;
    flex-direction: column;
  }

  .u0715-container {
    width: 100%;
  }

  .u0715-scoreboard {
    margin-top: 2rem;
  }

  .tech_chk_wrap {
    flex-wrap: wrap;
  }

  .u0715-score-box h2 {
    font-size: 1.6rem;
    line-height: 2.5rem;
  }

  .u0715-score-box h2 em {
    font-size: 1.4rem;
    font-weight: normal;
  }

  .u0715-checkWrap {
    max-width: 150px;
  }

  .u0715-checkWrap > div p {
    font-size: 1.6rem;
  }
}

@media (max-width: 750px) {
  .u0715-score-name {
    padding: 10px;
  }

  .u0715-score-name p {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.6rem;
  }

  .u0715-score-name span {
    display: block;
    text-align: center;
    width: 100%;
    max-width: 200px;
    margin-bottom: 1rem;
    font-size: 1.4rem;
  }
}

#m08-tableBody-not {
  display: none;
}

/* 작은 화면에서 스타일링 적용 */
@media (max-width: 890px) {
  #m08-tableBody-not {
    display: block;
    text-align: left;
    padding: 0.5rem;

    div {
      margin-bottom: 0.75rem;
    }
  }

  #m08-table {
    display: none;
  }

  #show-match-info-modal-wrap {
    padding: 4rem 0;

    .poptitle {
      padding: 0 2rem;
    }
  }

  #popup-show-match-info-container {

    .contestInfo, #singWrap.u0715 {
      padding: 0;
    }


    .u0715-scoreboard {
      min-width: 100%;
      max-width: 100%;
      width: 100%;
    }

    .u0715-score-header {
      padding: 10px 0;

      span {
        padding: 0 5px;
      }

      span:nth-child(1) {
        flex: 3;
      }
    }

    .u0715-player-score {
      padding: 0;

      .u0715-score-box:nth-child(1) {
        flex: 3;
      }

      .u0715-score-box {
        padding: 2rem 5px 5px;

        span {
          height: revert;
          padding: 0;
        }
      }
    }

    .u0715-score-box span.win, .u0715-score-box span.lose {
      left: 40px;
    }

  }

}
