/* ========== color ========== */
:root {
    /* 버튼 컬러 */
    --mint: #109297;
    --lilac: #A59ACA;
    --violet: #8269DA;
    --black: #1C1C1E;
    --dark: #3A3A3C;
    --dark-gray: #7A7A7A;
    --gray: #C5C5C5;
    --gray02: #CECECE;
    --light-gray: #EBEBEB;
    --gradient: linear-gradient(90deg, #109297 0%, #A59ACA 100%);

    /* 기타 요소 컬러 */
    --red: #fa4144;

    --light-beige: #F4F1ED;
    --light-mint: #D2EBEC;
    --light-lilac: #E6E3F3;
    --light-sky: #DEEEFD;
    --sky: #3A9AF3;

    /* 만세력 컬러 */
    --color-green: #0CB962;
    --color-red: #F34029;
    --color-yellow: #FFEB15;
    --color-white: #FFFFFF;
    --color-black: #1C1C1E;

}


/* Basic */
* {
    margin: 0;
    padding: 0;
    border: 0;

    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: inherit;
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    font-family: 'SEBANG Gothic', sans-serif;
    color: var(--black);
    font-weight: 400;
    font-size: 1em;
    user-select: text;         /* 복사는 가능하게 유지 */
    caret-color: transparent;  /* 커서 깜박임 안 보이게 */
}



a {
    color: var(--black);
    text-decoration: none;
}

ul {
    padding-left: 0;
    margin-bottom: 0;
    list-style-position: inside;
}

li {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    margin-bottom: 0;
}

p {
    font-size: 1em;
    margin-bottom: 0;
}




/* ========== 공통 class ========== */

/* web에선 hide. 반응형이나 모바일에서 block */
.hide {
    display: none;
}

.line {
    width: 100%;
    height: 1px;
    background-color: #dedede;
}

.c-mint {
    color: var(--mint) !important;
}
.c-violet{
    color: var(--violet) !important;
}
.c-red{
    color: var(--red) !important;
}

/* gap 커스텀 class */
.gap-10{
    gap: 10px !important;
}
.gap-12{
    gap: 12px !important;
}
.gap-20{
    gap: 20px !important;
}



/* ========== 만세력 ========== */
/* 만세력 공통 */
.saju-block {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    height: 50px;
    border-radius: 15px;
    font-weight: bold;
    overflow: hidden;
    /* min-width: 90px; */
}

.saju-half {
    position: relative;
}

.saju-half::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 60deg,
            var(--color1) 0 50%,
            var(--color2) 0 100%);
    z-index: 0;
}

.saju-half span {
    position: relative;
    z-index: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 50px;
}

/* ========== 천간 : stem- 으로 시작 ========== */

/* 윗글자-갑 / 을(그린) */
.stem-gap,
.stem-eul {
    background-color: var(--color-green);
    color: var(--color-white);
}

/* 윗글자-병 / 정(레드) */
.stem-byeong,
.stem-jeong {
    background-color: var(--color-red);
    color: var(--color-white);
}

/* 윗글자-무 / 기(옐로우) */
.stem-mu,
.stem-gi {
    background-color: var(--color-yellow);
    color: var(--color-black);
}

/* 윗글자-경 / 신(화이트) */
.stem-gyeong,
.stem-sin {
    background-color: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--light-gray);
}

/* 윗글자-임 / 계(블랙) */
.stem-im,
.stem-gye {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* ========== 지지 : branch- 으로 시작 ========== */

/* 아랫글자-축/반반(블랙/그린) */
.branch-chuk-half {
    --color1: var(--color-green);
    --color2: var(--color-black);
}

.branch-chuk-half span {
    color: var(--color-white);
}

/* 아랫글자-인 / 묘(그린) */
.branch-in,
.branch-myo {
    background-color: var(--color-green);
    color: var(--color-white);
}

/* 아랫글자-진 / 사 / 오(레드) */
.branch-jin,
.branch-sa,
.branch-o {
    background-color: var(--color-red);
    color: var(--color-white);
}


/* 아랫글자-오/반반(레드/옐로우) */
.branch-o-half {
    --color1: var(--color-yellow);
    --color2: var(--color-red);
}

/* 아랫글자-미(옐로우) */
.branch-mi {
    background-color: var(--color-yellow);
    color: var(--color-black);
}

/* 아랫글자-신/반반(옐로우/화이트) */
.branch-sin-half {
    --color1: var(--color-white);
    --color2: var(--color-yellow);
    border: 1px solid var(--light-gray);
}

/* 아랫글자-신 / 유 / 술(화이트) */
.branch-sin,
.branch-yu,
.branch-sul {
    background-color: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--light-gray);
}

/* 아랫글자-해 / 자 / 축(블랙) */
.branch-hae,
.branch-ja,
.branch-chuk {
    background-color: var(--color-black);
    color: var(--color-white);
}


/* none(로그인 전 데이터 ? 표시) */
.saju-block.none {
    border: 1px solid #DFDFDF;
    background-color: #F6F6F6;
    color: var(--gray);
}


/* ========== Button ========== */
button:focus,
.btn-md:focus,
.btn-sm:focus,
.btn-xs:focus {
    box-shadow: none !important;
}

.btn-md {
    display: flex;
    padding: 0px 12px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 12px;
    height: 54px;
    min-width: 150px;
    color: var(--color-white);
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
}

.btn-sm {
    display: flex;
    padding: 0px 12px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 10px;
    height: 42px;
    min-width: 150px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-white);
    cursor: pointer;
}

.btn-xs {
    display: flex;
    padding: 0px 12px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 8px;
    height: 36px;
    min-width: 150px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-white);
    cursor: pointer;
}

.btn-md:hover,
.btn-sm:hover,
.btn-xs:hover {
    color: var(--color-white);
}

.btn-mint {
    background-color: var(--mint);
}

.btn-mint:hover {
    background-color: #0B8094;
}

.btn-violet {
    background-color: var(--violet);
}

.btn-violet:hover {
    background-color: #6E52D4;
    ;
}


.btn-gradient {
    background: var(--gradient);
}




.btn-black {
    background-color: var(--black);
}

.btn-gray {
    background-color: var(--dark-gray);
}

/* 어느 버튼이든 disabled(선택할 수 없음) 속성 */
.btn-md:disabled,
.btn-sm:disabled,
.btn-xs:disabled,
.btn-md.disabled,
.btn-sm.disabled,
.btn-xs.disabled {
    cursor: not-allowed !important;
    pointer-events: none;
    user-select: none;
    background-color: var(--light-gray);
    color: var(--gray);
}



/* ****************** Header ****************** */
header {
    position: sticky;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background-color: transparent;
    color: var(--color-white);
    z-index: 100;
}

header.scrolled,
header.none-transparent {
    background-color: var(--color-white);
    color: var(--black);
    border-bottom: 1px solid var(--light-gray);
}

header.none-transparent .logo,
header.scrolled .logo {
    background-image: url('../img/fortunetory-logo-scrolled.svg');
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
}

header .logo {
    width: 140px;
    height: 80px;
    background-image: url('../img/fortunetory-logo.svg');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto 54px;
    font-size: 0;
}

nav .nav-desktop {
    height: 100%;
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    gap: 60px;
    height: -webkit-fill-available;
}

nav .nav-desktop li {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    left: 50%;
    transform: translateX(-50%) translateY(94px);
    transition: all 0.3s ease;
    border-radius: 0;
    padding: 0;
}

nav .nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(88px);
}

nav .dropdown-menu .dropdown-item {
    line-height: 45px;
    padding: 0;
    text-align: center;
    font-size: 15px;
}

nav .dropdown-menu .dropdown-item:hover {
    color: var(--mint);
}

header .nav-link {
    transition: color 0.3s;
    font-size: 16px;
    font-weight: 400;
}

header.scrolled .nav-link {
    color: var(--black);
}

header .user-area {
    display: flex;
    align-items: center;
    gap: 30px;
}

header .user-area ul {
    display: flex;
    align-items: center;
    gap: 24px;
}

header .user-area ul li a {
    color: var(--color-white);
    font-size: 14px;
}

header.none-transparent .user-area ul li a,
header.scrolled .user-area ul li a {
    color: var(--black);
}

/* 본인모드 ↔ 전문가모드 스위치 레이블 */
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 22px;
}

/* 체크박스 숨김 */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* 슬라이더 트랙 */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray);
    transition: 0.15s;
    border-radius: 22px;
}

/* 스위치 동그라미 */
.slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: var(--color-white);
    transition: 0.15s;
    border-radius: 50%;
}

/* ON 상태 */
.switch input:checked+.slider {
    background-color: #1AF463;
}

.switch input:checked+.slider::before {
    transform: translateX(24px);
}

/* 모드 텍스트 */
.mode-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mode-toggle span {
    font-size: 12px;
    user-select: none; /* 텍스트 선택 방지 */
}


.hamburger {
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    z-index: 1100;
    outline: none;
}

#hamburger {
    outline: none; /* 포커스 시 테두리 제거 */
    cursor: pointer; /* 마우스 커서를 포인터로 설정 */
    user-select: none; /* 텍스트 선택 방지 */
}

.hamburger span {
    background: currentColor;
    position: absolute;
    height: 3px;
    width: 100%;
    left: 0;
    transition: 0.3s;
    background-color: var(--mint);
}

.hamburger.active span {
    background-color: var(--color-white);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}


.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--gradient);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1000;
}

.fullscreen-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.fullscreen-menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.fullscreen-menu ul li {
    font-size: 24px;
    cursor: pointer;
}

.fullscreen-menu ul li a {
    color: var(--color-white);
}

.fullscreen-menu ul li .submenu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    transition:
        max-height 0.4s ease,
        opacity 0.3s ease,
        transform 0.3s ease,
        padding 0.3s ease,
        margin 0.3s ease,
        border 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin-top: 0;
    border-top: 0 solid transparent;
    border-bottom: 0 solid transparent;
}

.fullscreen-menu ul li.open .submenu {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    padding: 10px 0;
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.fullscreen-menu ul li .submenu a {
    font-size: 18px;
    line-height: 40px;
    display: block;
}

.fullscreen-menu .mode-toggle {
    display: none;
    position: absolute;
}

.fullscreen-menu .mode-toggle span {
    font-size: 16px;
}

/* ****************** Footer ****************** */
footer {
    width: 100%;
    flex-shrink: 0;
    background-color: var(--black);
}

.footer-body {
    color: var(--color-white);
    display: flex;
    gap: 80px;
    padding: 30px 0;
}

.footer-body .footer-logo {
    background-image: url('../img/fortunetory-footer-logo.svg');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto 16px;
    width: 154px;
    height: 26px;
    font-size: 0;
}

.footer-desc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    flex: 1 0 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 26px
}

.footer-desc h6 {
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
    margin-bottom: 3px;
}

.footer-desc .info-group {
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    gap: 0px 20px;
    align-self: stretch;
    flex-wrap: wrap;
    width: 70%;
}

.footer-desc .info-group>div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.footer-desc .info-group span {
    display: inline-block;
    width: 1px;
    height: 8px;
    background-color: var(--color-white);
}

.footer-desc .info-group a {
    color: var(--color-white);
}

.footer-desc .footer-links {
    display: flex;
    align-items: center;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;

}

.footer-desc .footer-links a {
    color: var(--color-white);
}


/* ****************** Banner ****************** */
.banner {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    z-index: 1;

    margin-top: -80px;
    /* header와 겹치게 */
}

.banner.main {
    background-image: url('../img/banner-main.svg');
}

.banner.sub {
    background-image: url('../img/banner-sub.svg');
    height: 420px;
    margin-top: 0;
    /* header와 안 겹치게 */
}

.banner h1 {
    color: var(--color-white);
    font-size: 40px;
    font-weight: 700;
    line-height: 52px;
}

.banner p{
    color: var(--color-white);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-top: 5px;
}



/* ****************** Contents ****************** */
.contents {
    width: 100%;
}



/* ****************** Modal reset ****************** */
.modal-header{
    justify-content: space-between;
    padding: 0 20px;
}
.modal-title{
    color: var(--black);
    font-size: 18px;
    font-weight: 700;
    line-height: 60px;
}
.modal-header .icon-close{
    background-color: var(--color-white);
}

.modal-body{
    padding: 20px;
}
.modal-footer{
    display: flex;
    padding: 20px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border-top: none;
}
.modal-footer>*{
    margin: 0;
}
.modal-footer .btn-sm {
    flex: 1 1 auto;
}

/* ****************** 역학 달력 ****************** */
.calendar-wrapper{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.calendar-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
}
.calendar-header .btn-group{
    display: flex;
    align-items: center;
    gap: 15px;
}
.calendar-header-info{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.calendar-header-info .month-num{
    color: var(--mint);
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
}
.calendar-header-info .month-txt{
    color: var(--dark-gray);
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
}

/* 달력 css */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-grid .day-label {
    font-weight: 700;
    text-align: center;
    color: var(--black);
    line-height: 44px;
    border-bottom: 1px solid var(--light-gray);
    font-size: 18px;
}

.calendar-grid .day-label.sun {
    color: var(--mint);
}

.calendar-grid .day-label.sat {
    color: var(--violet);
}

.calendar-grid .day {
    display: flex;
    gap: 12px;
    padding: 12px 15px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    background-color: var(--color-white);
}
.calendar-grid .day:hover{
    background-color: var(--light-beige);
    cursor: pointer;
}

.calendar-grid .day.sun {
    color: var(--mint);
}

.calendar-grid .day.sat {
    color: var(--violet);
}

.calendar-grid .day .day-meta{
    display: flex;
    flex-direction: column;
}
.calendar-grid .day .day-number{
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
}
.calendar-grid .day .ganji {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.calendar-grid .day .lunar {
    color: var(--dark-gray);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}

.calendar-grid .day.empty {
    background: #F3F3F3;
}






/* ****************** form : input / textarea / checkbox / radio / table 등 ****************** */
input,
textarea,
[contenteditable="true"] {
    caret-color: auto;
}
input::placeholder {
    color: var(--gray) !important;
}

textarea {
    color: var(--gray) !important;
    min-height: 150px !important;
}

textarea::placeholder {
    color: var(--gray) !important;
}
input:focus,
textarea:focus,
select:focus {
    outline: none !important;
    box-shadow: none !important;
}
.form-check{
    margin-bottom: 0;
}
.form-control:focus,
.form-check-input,
.form-check-input:focus{
    border-color: var(--gray) !important;
}
select.form-select:invalid {
    color: var(--gray);
    /* 회색: 기본 안내문 */
}

select.form-select option {
    color: var(--black);
    /* 일반 선택 항목은 검정 */
}

.form-check-input:checked {
    background-color: #8269DA;
    border-color: #8269DA;
}

.form-check-label{
    color: var(--black);
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
}

/* 라디오 버튼 */
/* 라디오 버튼 */
.radio-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-box label {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    cursor: pointer;
}

.radio-box input[type="radio"] {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--gray);
    background-color: var(--color-white);
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.radio-box input[type="radio"]::before {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: transparent;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background-color 0.2s ease;
}

.radio-box input[type="radio"]:checked {
    border: 1px solid var(--violet);
}

.radio-box input[type="radio"]:checked::before {
    background-color: var(--violet);
}

/* ✅ 비활성화 상태 스타일 */
.radio-box input[type="radio"]:disabled {
    cursor: not-allowed;
}

.radio-box input[type="radio"]:checked:disabled {
    border-color: #ccc;
}

.radio-box input[type="radio"]:checked:disabled::before {
    background-color: var(--gray);
}

.radio-box input[type="radio"]:disabled::before {
    background-color: transparent;
}

.radio-box input[type="radio"]:disabled+label {
    color: #808080;
    cursor: not-allowed;
}


/* TABLE 공통 리셋 */
.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table{
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    margin-bottom: 0;
    white-space: nowrap;
}
.table>:not(caption)>*>* {
    padding: 0 20px;
    font-size: 16px;
    font-weight: 400;
    line-height: 48px;
    vertical-align: middle;
    text-align: center;
    border-bottom: 1px solid var(--gray02);
    /* 하단 구분선 */
}

/* 헤더 스타일 */
.table thead th {
    color: var(--black);
    background-color: #f4f4f4;
    font-weight: 400;
    border-bottom: 1px solid var(--dark-gray);
    white-space: nowrap;
}
.table td{
    color: var(--dark);
}

/* 텍스트 왼쪽 정렬용 */
.table td.text-start,
.table th.text-start {
    text-align: left;
}

/* 행 hover 효과 */
.table-hover tbody tr:hover {
    background-color: #f4f4f4;
}

/* 줄 높이 최소 보장 */
.table th,
.table td {
    min-height: 48px;
}

/* table btn */
.btn-tb{
    display: inline-flex;
    width: auto;
    height: 30px;
    padding: 0px 15px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 30px;
    color: var(--color-white);
    margin: 0 auto;
}


/* 가로 표 형식 */
.horizontal-info-box{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
}
.horizontal-info-box .top{
    color: var(--black);
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 10px;
}
.horizontal-info-tb{
    border-top: 1px solid #dfdfdf;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
}
.horizontal-info-tb li{
    display: flex;
    align-items: center;
    gap: 12px;
    align-self: stretch;
    border-bottom: 1px solid #dfdfdf;
}
.horizontal-info-tb li .label{
    display: flex;
    width: 100px;
    padding: 10px;
    align-items: center;
    gap: 10px;
    color: var(--black);
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    background-color: #f4f4f4;
}
.horizontal-info-tb li .text{
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 0 0;
    color: var(--dark);
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    padding: 10px 0;
}
.horizontal-info-tb .form .label{
    padding: 10px;
    line-height: 42px;
}
.horizontal-info-tb .form .text{
    padding: 10px 0;
    line-height: 42px;
}
.horizontal-info-box .bottom{
    display: flex;
    padding: 10px 0px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}
.horizontal-info-box .bottom .btn-xs{
    min-width: 100px;
}



/* 로그인 & 회원가입 border bottom style */
.underline-input {
    display: flex;
    height: 54px;
    padding: 0px 12px;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    border-bottom: 1px solid var(--black);
}

.form-control,
.form-select{
    display: flex;
    height: 42px;
    padding: 0px 12px;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border: 1px solid #C5C5C5;
    font-size: 16px;
    font-weight: 400;
    line-height: 42px;
    border-radius: 10px;
}

.form-label{
    color: var(--black);
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    margin-bottom: 0;
}

/* 서브페이지 공통 */
.sub-cont-layout{
    padding: 90px 0 100px;
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
}
.sub-cont-layout.sub-menu-none{
    padding: 50px 0 100px;
}

/* 서브 탭 메뉴 */
.sub-menu{
    display: flex;
    width: 100%;
    height: 100px;
    align-items: center;
    flex-shrink: 0;
    position: absolute;
    top: -50px;
    z-index: 10;
}
.sub-menu a{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex: 1 0 0;
    align-self: stretch;
    color: var(--black);
    background-color: var(--color-white);
    outline: 1px solid var(--gray);
    font-size: 22px;
    font-weight: 400;
    line-height: 32px;
}
.sub-menu .active{
    color: var(--color-white);
    background: var(--gradient);
    outline: none;
    font-weight: 700;
}

.sub-cont-box{
    width: calc(100% - 400px);
}



/* 아코디언 리스트 */
.accordion{
    width: 100%;
}
.accordion-header{
    border-bottom: 1px solid #cecece;
}
.accordion-header button {
    width: 100%;
    height: 60px;
    padding: 0px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    line-height: 32px;
    color: var(--black);
    background-color: var(--color-white);
}

.accordion-toggle-icon {
    position: relative;
    width: 20px;
    height: 20px;
}
/* 선 공통 스타일 */
.accordion-toggle-icon .bar {
    position: absolute;
    background-color: #000;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 1px;
}
/* 수평선 */
.accordion-toggle-icon .horizontal {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}
/* 수직선 */
.accordion-toggle-icon .vertical {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}
/* 열린 상태일 때 vertical 선 숨김 → 마이너스 모양 */
.accordion-header button:not(.collapsed) .accordion-toggle-icon .vertical {
    transform: translateX(-50%) scaleY(0.2);
    opacity: 0;
}
.accordion-collapse{
    border-bottom: 1px solid #cecece;
}
.accordion-body {
    display: flex;
    padding: 20px 12px 30px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}
.acco-desc-group{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.acco-desc-group .acco-desc-tit{
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: var(--mint);
}
.acco-desc-group .acco-desc-txt{
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: var(--dark);
    word-break: keep-all;
}
.score-list{
    display: flex;
    align-items: center;
    gap: 30px;
}
.score-list .score-label{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
}
.score-list .score-label span{
    display: flex;
    height: 28px;
    padding: 0px 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
}
.score-mint,
.label-mint{
    color: var(--mint);
    background-color: var(--light-mint);
}
.score-violet,
.label-violet{
    color: var(--violet);
    background-color: var(--light-lilac);
}
.score-sky,
.label-sky{
    color: var(--sky);
    background-color: var(--light-sky);
}

.job-label{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
}
.job-label span{
    display: flex;
    height: 28px;
    padding: 0px 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
}










