.modal-template {
}

.modal-template__toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #DFE3E6;
  border-radius: 10px;
  background-color: #fff;
  color: #7d8da6;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  margin-bottom: 10px;
}

.modal-template__toggle:after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url(../assets/img/icon/arr_down_gray.svg);
    background-size: contain;
    background-position: center;
    margin-bottom: -2px;
    transition: -webkit-transform .2s
    ease;
    transition: transform .2s ease;
    transition: transform .2s ease, -webkit-transform .2s ease;
}

.modal-template__toggle[aria-expanded=true]:after {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.modal-template__toggle:hover,
.modal-template__toggle:focus {
  background-color: #f4f6fb;
  border-color: #c4cce1;
}

.modal-template__toggle:focus-visible {
  outline: 3px solid rgba(63, 122, 255, 0.35);
  outline-offset: 2px;
}

.modal-template__toggle-text {
  margin-right: 12px;
}

.modal-template__panel {
  padding-bottom: 8px;
}

.modal-template__panel-inner {
  padding: 16px 0;
}

.modal-template__section + .modal-template__section {
  margin-top: 20px;
}

.modal-template__section-title {
  margin-bottom: 12px;
  color: #7d8da6;
  font-size: 14px;
  font-weight: 600;
}

.modal-template__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-template__button {
  border: 1px solid #c4cce1;
  background-color: #fff;
  color: #7d8da6;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.modal-template__button:hover,
.modal-template__button:focus {
  background-color: #e7ecf8;
  border-color: #7f8ac0;
  color: #1b1e2a;
}

.modal-template__button:focus-visible {
  outline: 3px solid rgba(63, 122, 255, 0.35);
  outline-offset: 2px;
}

.modal-template__loading {
  margin: 0;
  padding: 8px 0;
  color: #6b7290;
  font-size: 14px;
}

.info-head[data-astro-cid-hsrvryrm] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 19px
}

.info-head-title {
    display: flex;
    align-items: center;
}

.info-internatilanal-links {
    display: flex;
    gap: 5px;
    font-size: 12px;
    align-items: center;
}

.info-internatilanal-links a {
    color: #4F7BE7;
}

.info-card {
    width: 100px;
    display: flex;
    gap: 10px;
}

.info-card .info__ttl {
    font-size: 12px;
    color: #293448;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.info-card .icon {
    width: 87px;
    height: 87px;
    border-radius: 45px;
    background: #F6F7FB;
    display: flex;
    padding: 28px 26px;
}

.content-mid[data-astro-cid-b3jlsxag] {
    margin-bottom: 15px;
}

.content-mid[data-astro-cid-b3jlsxag] span.qr-button {
    margin-top: 15px;
    display: flex;
    justify-content: center;
}

.content-mid[data-astro-cid-b3jlsxag] span.qr-button img {
    width: 160px;
    height: 30px;
}

.complete-badge {
    margin: 0 20px 20px 20px;
}

.detail .complete-badge {
    margin: 0;
    margin-bottom: 20px;
}

.complete-badge button {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 65px;
    background: #04C072;
    justify-content: center;
    padding: 10px 0;
    border-radius: 32px;
    font-size: 12px;
    color: #ffffff;
}

.complete-badge button span.title {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: center;
}

.complete-badge button span.title img {
    width: 22px;
    margin-right: 10px;
}

.quest-complete-alert {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.quest-complete-alert .checkin-message {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.quest-complete-alert .swiper-container {
    position: relative;
    margin-bottom: 20px;
    max-height: 400px;
    overflow: visible;
}

.quest-complete-alert .swiper {
    height: 100%;
}

.quest-complete-alert .swiper-slide {
    height: 100%;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    align-items: flex-start;
}

.quest-complete-card {
    margin: 0 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
}

.quest-complete-card__header {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.8em;
}

.quest-complete-card .complete-image {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.quest-complete-card .complete-image img {
    max-width: 100%;
    max-height: 300px;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
}

.float-button {
    width: 32px;
    height: 132px;
    position: fixed;
    top: 300px;
    right: max(0px, calc((100vw - 414px) / 2));
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-button img {
    width: 100%;
    height: auto;
    display: block;
}

.best-answer {
    width: 120px;
    height: 19px;
    border: 1px solid #4E7BEA;
    border-radius: 9px;
    font-size: 10px;
    color: #4E7BEA;
}

.best-answer-badge {
    position: absolute;
    top: 0px;
    width: 100px;
    height: 117px;
    left: 157px;
}

.best-answer-txt {
    margin: 20px 0;
    font-size: 14px;
    color: #293448;
    text-align: center;
}

.question-head {
    font-size: 14px;
    color: #ffffff;
    margin: 20px 0;
    display: flex;
    gap: 18px;
    align-items: center;
}

.question-head button {
    width: 142px;
    height: 30px;
    background: white;
    border-radius: 15px;
    font-size: 12px;
    color: #7D8DA6;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.post-head__tag.resolved {
    gap: 2px;
    color: #03C173;
    border: 1px solid #03C173;
    padding: 8px;
}

.post-content {
    padding: 20px
}

.post-content[data-astro-cid-ddmcb35u] {
    padding: 30px 22px 0
}

.spot-stamp-rallies {
    display: flex;
    flex-direction: column;
    gap: 17px;
    margin-bottom: 30px
}

.spot-stamp-rallies span {
    background: #FE824C;
    display: flex;
    width: 100%;
    padding: 10px 0;
    border-radius: 20px;
    height: 40px;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    justify-content: center;
}

.spot-stamp-rallies ul {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.spot-stamp-rallies ul li {
    font-size: 14px;
    letter-spacing: 0;
}

.spot-stamp-rallies ul li:after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url(../assets/img/icon/arr_down_red.svg);
    background-size: contain;
    background-position: center;
    margin-bottom: -2px;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    margin-left: 5px;
}

.best-answer-comment {
    margin-left: 10px;
    width: 80px;
    height: 19px;
    display: flex;
    font-size: 10px;
    background: #4E7BEA;
    border-radius: 9px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    letter-spacing: 0;
}
.from-questioner {
    margin-left: 10px;
    width: 70px;
    height: 19px;
    display: flex;
    font-size: 10px;
    border: 1px solid #4E7BEA;
    border-radius: 9px;
    align-items: center;
    justify-content: center;
    color: #4E7BEA;
    letter-spacing: 0;
}

.best-answer-head-wrap img {
    position: absolute;
    top: 40px;
    right: 20px;
    width: 51px;
    z-index: 1;
}

.best-answer-head {
    width: 100%;
    height: 40px;
    background: #90ADFF;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.post-best-com[data-astro-cid-ddmcb35u] {
    display: flex;
    flex-flow: column;
    gap: 10px;
    padding: 20px 22px 22px;
    background-color: #fff;
    border-radius: 0 0 20px 20px
}

.post-best-com[data-astro-cid-ddmcb35u] .comment-left[data-astro-cid-ddmcb35u]:after {
    display: none;
}

.info-item__txt[data-astro-cid-usbtbckz] a.route {
    width: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #7C8DA6;
    color: #7C8DA6;
    font-size: 10px;
    letter-spacing: 0;
    height: 19px;
    border-radius: 9px;
    text-decoration: none;
}

/* Ambassador Segment Form Styles */
.segment-description {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 24px;
    text-align: center;
    padding: 0 16px;
}

.level-select-container {
    margin-bottom: 32px;
    --level-row-padding: 16px;
    --level-label-row-padding: 9px;
    --level-label-width: 80px;
    --level-label-gap: 12px;
    --level-button-size: 22px;
    --level-track-height: 10px;
}

.level-select-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 0 var(--level-label-row-padding) 0 calc(var(--level-label-row-padding) + var(--level-label-width));
    font-size: 12px;
    color: #666;
}

.level-select-header span {
    flex: 0 0 auto;
}

/* Level Select Row */
.level-select-row {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 var(--level-row-padding);
}

.level-select-label {
    flex: 0 0 var(--level-label-width);
    font-size: 14px;
    color: #293448;
    padding-right: var(--level-label-gap);
    font-weight: 500;
}

.level-select-buttons-container {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    height: var(--level-button-size);
    background-image: url("/assets/img/mypage/category_track.svg");
    background-repeat: no-repeat;
    background-size: 100% var(--level-track-height);
    background-position: center;
}

.level-select-buttons {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
    padding: 0;
    height: var(--level-button-size);
}

.level-button {
    position: absolute;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: var(--level-button-size);
    height: var(--level-button-size);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
}

.level-button:nth-child(1) {
    left: 1.9%;
}

.level-button:nth-child(2) {
    left: 25.8%;
}

.level-button:nth-child(3) {
    left: 50%;
}

.level-button:nth-child(4) {
    left: 74.2%;
}

.level-button:nth-child(5) {
    left: 98.1%;
}

.level-button-selected {
    width: var(--level-button-size);
    height: var(--level-button-size);
    display: block;
}

.category-setting {
    margin-top: 20px;
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.modal__txt {
    text-align: center;
    font-size: 14px;
    color: #293448;
}
