.broj-market-row-flex-box {
    display: flex;
    gap: 6px;
}

.market-product-management-section {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 16px 36px 16px 16px;
    overflow-x: auto;
}

.market-product-management-header {
    display: flex;
    align-items: center;
    width: 100%;
    height: 36px;
}

.market-product-management-body {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    height: calc(100% - 36px);
    overflow-x: auto;
}

.market-product-management-body > :last-child {
    flex-grow: 1;
    overflow: hidden;
}

.market-product-management-header-title {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: bold;
}

.market-product-management-navigate-wrap {
    display: flex;
    position: relative;
    width: max-content;
    height: 40px;
    background-color: #222222;
    border-radius: 8px;
    gap: 4px;
    padding: 4px;
}

.market-product-management-navigate-wrap > .navigate-high-light-item {
    flex: 1;
    border-radius: 8px;
    background-color: #494949;
    position: absolute;
    width: 100px;
    height: 32px;
    transition: left 0.3s, width 0.3s;
    z-index: 0;
}

.market-product-management-navigate-wrap > .navigate-item {
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1;
    border-radius: 8px;
    z-index: 1;
    padding: 0 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #808080;
    user-select: none;
}

.market-product-management-navigate-wrap > .navigate-item.active {
    font-weight: bold;
    color: #FFFFFF;
}

.market-product-management-content-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 8px;
    height: calc(100% - 40px);
    background-color: #222222;
    color: #FFFFFF;
    padding: 16px;
}

.market-product-management-content-wrap > * {
    flex-shrink: 0;
}

.market-product-management-content-wrap > :last-child {
    flex-grow: 1;
    overflow: auto;
}

.market-product-management-content-wrap > .product-navigate-wrap {
    display: flex;
    width: max-content;
    gap: 6px;
    user-select: none;
    margin-bottom: 12px;
}

.market-product-management-content-wrap > .product-list-wrap {
    position: relative;
    height: calc(100% - 42px);
}

.product-navigate-wrap > .product-navigate-item {
    width: max-content;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    padding: 0 16px;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.3;
    background: none;
}

.product-navigate-wrap > .product-navigate-item.active {
    opacity: 1;
    color: #FFFFFF;
    font-weight: bold;
    background-color: #494949;
}

.product-type-label {
    width: 100%;
    max-width: 110px;
    height: 24px;
    line-height: 24px;
    margin: 0 auto;
    border-radius: 3px;
    color: #FFFFFF;
    box-sizing: border-box;
    font-size: 12px;
    background-color: #3C6F4A;
}

.subscription-product-type-label {
    width: max-content;
    height: 24px;
    line-height: 24px;
    padding: 0px 6px;
    border-radius: 3px;
    background-color: rgb(7, 122, 172);
    font-size: 12px;
    color: rgb(255, 255, 255);
}
.product-type-label.lesson-class-product,
.subscription-product-type-label.lesson-class-product {
    background-color: #096866;
}
.product-type-label.lesson-entry-product,
.subscription-product-type-label.lesson-entry-product {
    background-color: #077AAC;
}
.product-type-label.lesson-facility-product,
.subscription-product-type-label.lesson-facility-product {
    background-color: #3422AE;
}
.product-type-label.locker-product,
.subscription-product-type-label.locker-product {
    background-color: #6F543C;
}
.product-type-label.sports-product,
.subscription-product-type-label.sports-product {
    background-color: #6F6A3C;
}
.product-type-label.brand-product,
.subscription-product-type-label.brand-product {
    background-color: #ff7398;
}

.product-market-sell-status {
    width: max-content;
    height: 28px;
    line-height: 28px;
    border-radius: 6px;
    padding: 0 6px;
    margin: 0 auto;
}
.product-market-sell-status.ongoing-market {
    color: #23D04D;
    font-weight: bold;
}

.market-sell-set-btn {
    background: #FF751A;
    color: #FFFFFF;
}

/* 구독플랜 컨텐츠 */
.subscription-plan-notice-wrap {
    display: flex;
    gap: 4px;
    width: 100%;
    height: 28px;
    font-size: 14px;
}

.under-line-link {
    text-decoration: underline;
    color: #FF751A;
    cursor: pointer;
}

.market-product-management-content-wrap > .plan-list-wrap {
    position: relative;
    height: calc(100% - 28px);
}

/* 구독 플랜 생성 모달 */
.make-subscription-plan-modal-box {
    user-select: none;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-width: 1100px;
    max-width: 1500px;
    width: 95%;
    /*height: calc(100% - 40px);*/
    height: calc(100% - 240px);
    max-height: 800px;
    min-height: 600px;
    /*box-shadow: 14px 14px 24px 24px rgb(0 0 0 / 50%);*/
    z-index: 100;
    box-sizing: border-box;
    /*background: #FFFFFF;*/
    background-color: #121212;
    font-family: sans-serif;
    border: 1px solid #222222;
    border-radius: 12px;
    color: #7C7C7C;
}

.make-subscription-plan-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    color: #FFFFFF;
    width: 100%;
    height: 60px;
    /*background-color: #2E2E2E;*/
    /*border-bottom: 2px solid #2E2E2E;*/
    background-color: #222222;
}

.make-subscription-plan-modal-header-title-box {
    display: flex;
    align-items: center;
    gap: 6px;
}

.make-subscription-plan-modal-header-title-box > img {
    filter: brightness(100);
    width: 18px;
    height: 18px;
}

.make-subscription-plan-modal-header-title {
    font-size: 18px;
    font-weight: bold;
    color: #C5C5C5;
}

.make-subscription-plan-modal-close-button,
.subscription-list-modal-close-button {
    cursor: pointer;
}

.make-subscription-plan-modal-close-button > img,
.subscription-list-modal-close-button > img {
    width: 18px;
    height: 18px;
    filter: brightness(100);
}

.make-subscription-plan-modal-body {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(100% - 60px);
}

.subscription-plan-input-section-wrap {
    display: flex;
    width: 100%;
    height: 100%;
}

.subscription-plan-basic-info-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 12px;
    width: 300px;
    /*background-color: #D9D9D9;*/
    overflow-y: auto;
}

.subscription-plan-basic-info-input-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
}

.subscription-plan-basic-info-input-box-wrap,
.subscription-plan-basic-info-box-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.subscription-plan-basic-info-input-box-title-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.subscription-plan-input-box-label {
    font-size: 14px;
    font-weight: bolder;
}

.subscription-plan-basic-info-input-box {
    width: 100%;
    height: 40px;
    /*border: 2px solid #E5E8EB;*/
    border: 2px solid #2E2E2E;
    border-radius: 6px;
    padding: 0 12px;
    background: none;
    color: #FFFFFF;
}

.subscription-plan-basic-info-textarea-box {
    width: 100%;
    height: 140px;
    /*border: 2px solid #E5E8EB;*/
    border: 2px solid #2E2E2E;
    border-radius: 6px;
    padding: 12px;
    /*background-color: #FFFFFF;*/
    /*color: fieldtext;*/
    color: #FFFFFF;
    background: none;
}

.subscription-plan-basic-info-input-box:focus,
.subscription-plan-basic-info-textarea-box:focus {
    /*border: 2px solid #fa943d;*/
    border: 2px solid #FFFFFF;
}

.market-select {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    /*border: 2px solid rgb(238, 238, 238);*/
    border: 2px solid #2E2E2E;
    border-radius: 6px;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgb(148, 148, 148) 50%), linear-gradient(135deg, rgb(148, 148, 148) 50%, transparent 50%);
    background-position: calc(100% - 14px) calc(1em), calc(100% - 9px) calc(1em), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    cursor: pointer;
    background-color: #121212;
    color: #FFFFFF;
}

.make-subscription-plan-section-title {
    font-weight: bold;
    font-size: 16px;
}

.subscription-plan-sub-title {
    font-size: 12px;
    color: #7C7C7C;
}

.subscription-plan-info-word {
    font-size: 16px;
    padding: 0 6px;
    color: #FFFFFF;
}

.subscription-plan-composition-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
    width: calc(100% - 300px);
}

.subscription-plan-composition-product-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
    overflow: auto;
    padding: 12px;
}

.subscription-plan-composition-product-wrap::-webkit-scrollbar {
    width: 15px;
    height: 15px;
}

.subscription-plan-composition-product-wrap::-webkit-scrollbar-thumb {
    border-radius: 15px;
    background-color: #2E2E2E;
    background-clip : padding-box;
    border: 3px solid transparent;
}

.subscription-plan-composition-product-wrap > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.subscription-plan-result-info-section {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    height: 120px;
    /*background-color: #2E2E2E;*/
    background-color: #121212;
    padding: 12px;
}

.subscription-plan-result-info-wrap {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: calc(100% - 260px);
    color: #FFFFFF;
}

.subscription-plan-result-info-box-wrap {
    display: flex;
    justify-content: space-between;
    gap: 36px;
}

.subscription-plan-result-info-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: max-content;
    font-size: 14px;
    text-align: right;
}

.subscription-plan-result-info-price-box-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 18px;
}

.subscription-plan-result-info-price-box-wrap > div {
    float: right;
}

.subscription-plan-basic-number-input-box {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 6px;
    width: 100%;
    height: 40px;
    /*border: 2px solid #E5E8EB;*/
    border: 2px solid #2E2E2E;
    border-radius: 6px;
    padding: 0 12px;
    background-color: #121212;
}

.registration-fee-input-box-wrap,
.subscription-plan-cancel-box-wrap,
.subscription-plan-cycle-box-wrap {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.registration-fee-input-box-wrap.inactive,
.subscription-plan-cancel-box-wrap.inactive {
    display: none;
}

.subscription-plan-basic-number-input-box.inactive {
    display: none;
}

.subscription-plan-basic-number-input-box > input {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    text-align: right;
    color: #FFFFFF;
}

.subscription-plan-product-list-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.broj-market-default-button {
    position: relative;
    width: max-content;
    height: 40px;
    line-height: 40px;
    text-align: center;
    padding: 0 16px;
    border-radius: 8px;
    /*background-color: #fa943d;*/
    background-color: #2E2E2E;
    /*color: #FFFFFF;*/
    color: #C5C5C5;
    cursor: pointer;
}

.broj-market-default-button:hover {
    color: #FFFFFF;
}

.subscription-plan-add-new-product-btn-wrap {
    position: absolute;
    left: 0;
    margin-top: 3px;
    width: 100%;
    /*background-color: #fa943d;*/
    background-color: #2E2E2E;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1;
}

.subscription-plan-add-new-product-btn-wrap > li {
    color: #FFFFFF;
}

.subscription-plan-add-new-product-btn-wrap > li:hover {
    /*background-color: #FA6400;*/
    background-color: #222222;
}

/*구성 상품 등록한 테이블*/
.subscription-plan-add-product-table-wrap {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #2E2E2E;
}

.subscription-plan-add-product-table-header {
    display: flex;
    align-items: center;
    width: 100%;
    height: 30px;
    padding: 0 6px;
    /*background-color: #2E2E2E;*/
    background-color: #121212;
    font-size: 14px;
    font-weight: bold;
    color: #FFFFFF;
}

.subscription-plan-add-product-data-column-title {
    text-align: center;
}

.subscription-plan-add-product-table-body {
    overflow-y: auto;
    width: 100%;
    height: calc(100% - 30px);
    /*background-color: #D9D9D9;*/
    background-color: #363636;
    padding: 0 6px;
}

.subscription-plan-product-data-row-wrap {
    display: flex;
    width: 100%;
    height: 40px;
    line-height: 40px;
    /*background-color: #D9D9D9;*/
    background-color: #363636;
    color: #FFFFFF;
}

.subscription-plan-product-data-row-wrap + .subscription-plan-product-data-row-wrap {
    /*border-top: 1px solid #EEEEEE;*/
    border-top: 1px solid #222222;
}

.subscription-plan-product-data-row-wrap > div {
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    padding: 0 6px;
}

.subscription-plan-product-type-box {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
}

.subscription-plan-add-product-notice-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
}

.make-subscription-plan-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 260px;
    height: 100%;
    /*background-color: #FA6400;*/
    background-color: #2E2E2E;
    color: #FFFFFF;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

/* 구독 플랜 상품 생성/수정 & 상품 판매 설정 페이지 모달*/
.subscription-plan-product-edit-modal,
.subscription-plan-product-make-modal {
    width: 1024px;
    height: calc(100% - 60px);
    max-height: 1200px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #222222;
}

/* 구독 플랜 상품 정보 모달 */
.product-setting-box.input-blocker {
    pointer-events: none;
    opacity: 0.8;
}

/* 상품 판매 설정 페이지 */
.market-set-page-modal {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 1024px;
    height: calc(100% - 60px);
    max-height: 1200px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #EEEEEE;
    background-color: #D9D9D9;
}

.market-set-page-modal-header {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 0 24px;
    color: #FFFFFF;
    width: 100%;
    height: 80px;
    background-color: #2E2E2E;
}

.market-set-page-modal-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    height: calc(100% - 140px);
    padding: 12px;
    overflow: auto;
    background-color: #101010;
}

.market-set-page-modal-body-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: max-content;
    background-color: #222222;
    border-radius: 6px;
}

.market-set-page-modal-body-box-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
    padding: 12px;
    color: #FFFFFF;
    background-color: #333333;
    border-radius: 6px;
}

.market-set-page-modal-body-box-body-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
}

.market-sell-status-select {
    width: 120px !important;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, white 50%), linear-gradient(135deg, white 50%, transparent 50%);
    background-position: calc(100% - 14px) calc(1em), calc(100% - 9px) calc(1em), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    cursor: pointer;
}

.market-set-page-modal-body-box-body-wrap.mileage-box-body-wrap,
.market-set-page-modal-body-box-body-wrap.quantity-box-body-wrap,
.market-set-page-modal-body-box-body-wrap.period-box-body-wrap,
.market-set-page-modal-body-box-body-wrap.price-box-body-wrap {
    flex-direction: row;
}

.market-set-page-modal-body-box-body-wrap.detail-box-body-wrap > .product-block-contents > textarea::placeholder {
    color: #979797;
}

.market-set-page-modal-body-box-body-wrap > .product-block-contents {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
}

.market-set-page-modal-body-box-body-wrap > .product-block-contents > label {
    font-size: 14px;
    color: #a4a4a4;
}

.market-set-page-modal-footer {
    height: 60px;
    display: flex;
}

.market-set-page-modal-footer > div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
}

.market-set-page-modal-close-btn {
    background-color: #4a4a4a;
}

.market-set-page-modal-save-btn {
    background-color: #FA6400;
}

.market-subscription-plan-remove-btn {
    background-color: #ff3b2f;
    color: #FFFFFF;
    font-weight: bold;
}

.market-tooltip-text-indent {
    margin-left: 10px;
    text-indent: -9px;
}

.market-subtext {
    font-size: 13px;
    padding-bottom: 3px;
}

.market-help-text {
    color: #FA6400;
    font-size: 12px;
    font-weight: 400;
}

.market-both-options-box {
    display: flex;
    align-items: center;
    gap: 4px;
}

.subscription-plan-basic-info-section::-webkit-scrollbar{
    width: 6px;
    height: 6px;
}

.subscription-plan-basic-info-section::-webkit-scrollbar-thumb{
    background: rgba(203, 203, 203, 0.62);
    border-radius: 15px;
}

@keyframes flash {
    0% { background-color: #5A5A5A }
    100% { background-color: rgb(54, 54, 54); }
}
