@import url("https://cdnjs.cloudflare.com/ajax/libs/pretendard-gov/1.3.8/static/pretendard-gov.css");
@import url("./globals.css");
@import url("./styleguide.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/remixicon/4.6.0/remixicon.min.css");

html,
body,
* {
    font-family: "Pretendard GOV", -apple-system, BlinkMacSystemFont, system-ui,
        Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo",
        "Noto Sans KR", "Malgun Gothic", sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 140%;
    -moz-text-size-adjust: none; /* android에서 Firefox 브라우저 */
    -webkit-text-size-adjust: none; /* iOS에서 Safari 브라우저 */
    text-size-adjust: none;
}

body {
    height: 100vh;
}

/** Layout **/
#app {
    position: relative;
    max-width: 1280px;
    min-height: 100vh;
    margin: 0 auto;
}

.container {
    position: relative;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    max-width: 680px;
    margin: 0 auto;
    height: 100vh;
    background: #002060;
}

.container.index-page {
    max-width: 100%;
}

.container .view-header {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.container.order-view {
    background-color: #002060;
}

.container.order-create {
    background-color: #002060;
}

.container.order-view.pno-search {
    background-color: #002060;
}

.main {
    overflow: hidden;
    /* height: calc(100vh - 72px); */
    height: 100%;
}

.main .content {
    overflow: hidden;
    position: relative;
    height: 100%;
    padding: 8px 4px;
    background: #e6eaf2;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.index-page .main .content {
    border-radius: 0;
}

.main.index-main .content {
    overflow: hidden;
    background-color: #fff;
}

.container.main-page .main .content {
    padding: 0 0 0 0;
}

.container.order-vieworder-status.main-page .main .content {
    height: 100%;
}

.container.order-view .main .content {
    height: calc(100vh - 212px);
}
.container.order-create .main .content {
    height: calc(100vh - 196px);
}

.container.order-status .main .content {
    height: calc(100vh - 29px);
}

.container.order-view.search-page .main .content {
    height: calc(100vh - 214px);
}

.container.order .main .content {
    height: calc(100vh - 204px);
}
.container.payment .main .content {
    height: calc(100vh - 156px);
}

.container.inquiry-page .main .content {
    height: calc(100vh - 182px);
}

.container.order .main .content.scroll-up {
    height: calc(100vh - 48px);
}

.container.payment .main .content.scroll-up {
    height: calc(100vh - 47px);
}

.container.order-create.search-page .main .content {
    height: calc(100vh - 158px);
}

.container.order-view.pno-search .main .content,
.container.order-create.pno-search .main .content {
    height: calc(100vh - 104px);
}

.container.order-view.nonpay-search .main .content,
.container.order-create.nonpay-search .main .content {
    height: calc(100vh - 80px);
}

.container.order-view .main .content.scroll-up {
    height: 100%;
}
.container.order-create .main .content.scroll-up {
    height: 100%;
}

.order-container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    height: 72px;
    overflow-x: auto;
    border-top: 1px dashed #6d7685;
}

.order-container.columns-1 {
    overflow: hidden;
    overflow-x: auto;
    height: 48px;
}

.order-container.columns-2 {
    overflow: hidden;
    overflow-x: auto;
    height: 78px;
}

.order-container.columns-3 {
    overflow: hidden;
    height: 108px;
}

.order-container .order-info {
    width: 240%;
    padding: 12px 12px 8px 12px;
    overflow: hidden;
    overflow-y: auto;
}

.order-container.columns-2 .order-info,
.order-container.columns-3 .order-info {
    width: 100%;
    height: 106px;
}

.order-container .search-form-info {
    width: 300%;
    padding: 12px 16px 0 16px;
}

.order-container .order-info-list,
.order-container .search-form-list {
    display: flex;
    width: 100%;
}

.order-container .order-info-list li {
    width: 33%;
    flex: 0 1 33%;
    padding-right: 4px;
    margin-bottom: 16px;
    letter-spacing: -0.064em;
}

.order-container.columns-2 .order-info-list,
.order-container.columns-3 .order-info-list,
.order-container.columns-2 .search-form-list,
.order-container.columns-3 .search-form-list {
    flex-wrap: wrap;
}

.order-container.columns-2 .order-info-list li,
.order-container.columns-3 .order-info-list li {
    width: 50%;
    flex: 0 1 50%;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

.container.order-status.order .order-container.columns-2 .order-info-list li:nth-child(1),
.container.order-status.order .order-container.columns-3 .order-info-list li:nth-child(1),
.container.order-status.order .order-container.columns-2 .order-info-list li:nth-child(3),
.container.order-status.order .order-container.columns-3 .order-info-list li:nth-child(3) {
    width: 37%;
    flex: 0 1 37%;

}

.container.order-status.order .order-container.columns-2 .order-info-list li:nth-child(2),
.container.order-status.order .order-container.columns-3 .order-info-list li:nth-child(2),
.container.order-status.order .order-container.columns-2 .order-info-list li:nth-child(4),
.container.order-status.order .order-container.columns-3 .order-info-list li:nth-child(4)  {
    width: 62%;
    flex: 0 1 62%;

}

.container.order-status.order .order-container.columns-2 .order-info-list li:nth-child(4) .select-type,
.container.order-status.order .order-container.columns-3 .order-info-list li:nth-child(4) .select-type {
 margin-top: 0;   
 margin-left: 0;
}

.order-container.columns-2 .order-info-list li input.info-inner-input,
.order-container.columns-3 .order-info-list li input.info-inner-input {
    width: 95%;
    background-color: transparent;
    border: 0;
    font-size: 13px;
    color: #ffffff;
    letter-spacing: -0.064em;
}

.order-container .order-info-list.payment-info li {
    width: 25%;
}

.order-container .order-info-list.payment-info li * {
    font-size: 16px !important;
}

.order-container .search-form-list li {
    display: flex;
    align-items: center;
    width: calc(25% - 6px);
    flex: 0 1 calc(25% - 6px);
    padding-right: 8px;
    margin-bottom: 6px;
    letter-spacing: -0.064em;
}

.order-container.columns-1 .search-form-list li {
    margin-bottom: 0;
}

.order-container .search-form-list li .select-type {
    width: calc(100% - 32px);
    margin-top: 0;
}

.order-container .order-info-list li .tag,
.order-container .search-form-list li .tag {
    display: inline-block;
    border-radius: 23px;
    background: #03091f;
    font-size: 11px;
    padding: 2px 8px;
}

.order-container .order-info-list li.grow-2,
.order-container .search-form-list li.grow-2 {
    flex-grow: 2;
    width: 100% !important;
    flex: 0 1 100% !important;
}

.order-container .order-info-list li strong {
    display: block;
    min-width: 42px;
    font-size: 13px;
    color: #abb1be;
}

.order-container .search-form-list li strong {
    display: block;
    min-width: 48px;
    font-size: 13px;
    color: #ffffff;
}

.order-container .order-info-list li,
.order-container .order-info-list li span,
.order-container .search-form-list li,
.order-container .search-form-list li span {
    font-size: 16px;
    color: #ffffff;
    word-break: break-all;
}

.order-container.columns-2 .order-info-list li,
.order-container.columns-2 .order-info-list li span,
.order-container.columns-3 .order-info-list li,
.order-container.columns-3 .order-info-list li span {
    font-size: 14px;
}

@media screen and (max-width: 360px) {
    .order-container.columns-2 .order-info-list li,
    .order-container.columns-2 .order-info-list li span,
    .order-container.columns-3 .order-info-list li,
    .order-container.columns-3 .order-info-list li span {
        font-size: 14px;
        letter-spacing: -0.084em;
    }
}

.order-container .order-info-list li span,
.order-container .search-form-list li span {
    vertical-align: middle;
}

.order-container .order-info-list li .select-type.location {
    width: 80px;
    margin-left: 8px;
    padding-left: 8px;
    background-color: #ffffcc;
}

.content-drag {
    position: absolute;
    z-index: 100;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 24px;
    background: url("../images//drag-button.png") no-repeat center 50%;
    border-radius: 12px;
    border: 0;
    cursor: grab;
    font-size: 0;
    background-size: 50px 6px;
    -webkit-user-select: none;
    user-select: none;
    touch-action: none;
    transition: background-color 0.16s ease, color 0.16s ease,
        transform 0.12s ease;
    outline: none;
}

.content .content-drag.dragging {
    outline: none;
    background-color: #bec6d4;
    color: #ffffff;
    cursor: grabbing;
}

.main .content .content-inner {
    position: relative;
    z-index: 0;
    width: 100%;
    max-width: 680px;
    height: 100%;
    overflow-y: auto;
    margin: 0 auto;
    padding-left: 4px;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--graygray-300) transparent;
}

.index-page .main .content .content-inner {
    max-width: 100%;
}

.container.order-view .main .content .content-inner,
.container.order-create .main .content .content-inner {
    overflow-y: hidden;
}

.container.order-view.pno-search .main .content .content-inner,
.container.order-view.nonpay-search .main .content .content-inner,
.container.order-create.pno-search .main .content .content-inner,
.container.order-create.nonpay-search .main .content .content-inner {
    padding-top: 0;
}

/** Header **/
.container .header {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    height: 100px;
    padding: 0 20px 0 20px;
    color: #fff;
}

.container.index-page .header {
    max-width: 100%;
}

.container .header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.container.index-page .header {
    height: 72px;
}

.container.index-page .header .header-inner {
    position: relative;
    height: 72px;
}

.main-saerch-box {
    overflow: hidden;
    position: absolute;
    width: 480px;
    left: 50%;
    height: 40px;
    margin-left: -240px;
    border: 2px solid #ff5131;
    border-radius: 12px;
    display: flex;
    align-items: center;
}

.main-saerch-box button.search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    background-color: transparent;
    color: #ff5131;
    font-size: 24px;
    cursor: pointer;
}

.main-saerch-box input.search-input {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0 12px;
    font-size: 14px;
    color: #1e1f25;
    outline: none;
}

.container .header .header-inner .header-information {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-right: 12px;
}

.container .header .header-inner .header-information .company-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.container .header .header-inner .header-information .name {
    margin-left: 16px;
    margin-right: 8px;
    color: #ffffcc;
}

.container .header .header-inner .header-information .setting,
.container .header .header-inner .header-information .setting:hover,
.container .header .header-inner .header-information .setting:active,
.container .header .header-inner .header-information .setting:visited {
    color: #ffffff;
    font-size: 22px;
    text-decoration: none;
}

.container .header .header-inner .header-information dl dt {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 15.4px */
    letter-spacing: -0.44px;
}

.container .header .header-inner .header-information dl dd {
    font-size: 16px;
    font-weight: 600;
}

.container .header .logo {
    width: 53px;
    height: 38px;
    margin-right: auto;
}

.container .header .logo.yaiso {
    display: flex;
    align-items: center;
    width: 100px;
    height: 40px;
}

@media screen and (max-width: 360px) {
    .container .header .header-inner .header-information dl dt,
    .container .header .header-inner .header-information dl dd {
        font-size: 13px;
        letter-spacing: -0.064em;
    }

    .container .header .logo {
        width: 64px;
        height: 64px;
    }
}

.container .header .logo a {
    display: block;
    width: 100%;
    height: 100%;
    background: url("../images/yso-logo2.png") no-repeat center 50%;
    background-size: contain;
    font-size: 0;
}

.container .header .logo.yaiso a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-left: 40px;
    background: url("../images/yso-logo1.png") no-repeat left 50%;
    background-size: 25px;
    font-size: 18px;
    color: #F54313;
    font-weight: 900;
    text-decoration: none;
    text-align: center;
}

.container .header .header-inner .notification-area {
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
}

.container .header .header-inner .notification-area .notifications img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.container .header .header-inner .notification-area .push {
    position: absolute;
    right: 5px;
    top: 6px;
    display: block;
    width: 6px;
    height: 6px;
    font-size: 0;
    background: #ff4245;
    border-radius: 100%;
}

.signup-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    font-size: 14px;
}

.signup-link a {
    font-size: 14px;
    text-decoration: none;
    color: #000;
}

.container .header .menu {
    overflow: hidden;
    overflow-x: auto;
    height: 50px;
}

.container .view-header .menu {
    overflow: hidden;
    overflow-x: auto;
    height: 32px;
}

.container .header .menu .nav-area {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* iOS 스크롤 부드럽게 */
}

.container .view-header .menu .nav-area {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-inline: 16px;
    gap: 16px;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* iOS 스크롤 부드럽게 */
}

.container .header .menu a {
    position: relative;
    display: flex;
    align-items: center;
    height: 50px;
    line-height: 50px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffcc;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.container .view-header .menu a {
    position: relative;
    display: flex;
    align-items: center;
    height: 32px;
    line-height: 32px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffcc;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.container .header .menu a.active,
.container .header .menu a:hover {
    color: #fff;
}

.container .view-header .menu a.active,
.container .view-header .menu a:hover {
    border-bottom: 2px solid #F54313;
    color: #F54313;
}

.container .header .menu a.active::after,
.container .header .menu a:hover::after {
    content: "";
    position: absolute;
    top: 16px;
    right: -8px;
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background: #ffae00;
}

.top-banner {
    position: relative;
    height: 40px;
    background-color: #002060;
}

.top-banner a {
    display: block;
    width: 60%;
    text-align: center;
    margin: 0 auto;
    color: #fff;
    line-height: 40px;
    text-decoration: none;
}

.top-banner .banner-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

@media screen and (max-width: 360px) {
    .container .header .menu a {
        font-size: 18px;
        letter-spacing: -0.064em;
    }
}

.container.order-view .view-header {
    position: relative;
    text-align: center;
    background: #002060;
}

.container.order-create .view-header,
.container.order-status .view-header {
    position: relative;
    text-align: center;
    background: #002060;
}

.container.order-view .view-header .view-title,
.container.order-create .view-header .view-title,
.container.order-status .view-header .view-title {
    font-size: 18px;
    line-height: 48px;
    font-weight: 700;
    color: #fff;
}

.container.order-view .view-header .back-button,
.container.order-create .view-header .back-button,
.container.order-status .view-header .back-button {
    position: absolute;
    top: 8px;
    left: 16px;
    width: 32px;
    height: 32px;
    border: 0;
    padding: 0 0;
    background-color: transparent;
}

.view-header .top-menu-open {
    position: absolute;
    top: 8px;
    left: 48px;
    width: 32px;
    height: 32px;
    border: 0;
    padding: 0 0;
    font-size: 0;
    background: url(../images/menu-2-line-r.svg) no-repeat center 50%;
    background-size: 24px;
}

.top-menu-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.top-menu-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.top-menu-popup {
    position: fixed;
    top: 56px;
    left: 24px;
    width: 100%;
    max-width: 240px;
    z-index: 1101;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

@media screen and (min-width: 640px) {
    .top-menu-popup {
        left: auto;
        left: calc(50% - 300px);
    }
}

.top-menu-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.top-menu-popup-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-left: 40px;
}

.top-menu-popup-close {
    position: absolute;
    left: 4px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #000;
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    cursor: pointer;
    border: 1px solid #666;
    border-radius: 100%;
    background-color: #fff;
}

.top-menu-popup-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
    padding: 12px 12px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
}

.top-menu-popup-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: #1e1f25;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    
}

.top-menu-popup-nav a i {
    color: #ff6b6b;
}

.top-menu-popup-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.container.order-view .view-header .header-inner,
.container.order-create .view-header .header-inner,
.container.order-status .view-header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 74px;
    padding: 12px 16px;
    color: #abb1be;
    text-align: left;
    flex-wrap: wrap;
}
.container.order-view .view-header .header-inner {
    height: 56px;
}

.container.order-view.search-page .view-header .header-inner {
    height: 88px;
}

.container.order-create.search-page .view-header .header-inner {
    height: 64px;
    flex-wrap: nowrap;
}

.container.order-view.pno-search .view-header .header-inner,
.container.order-create.pno-search .view-header .header-inner {
    padding-top: 0;
}

.home-link {
    display: flex;
    align-items: center;
    margin-right: 8px;
}

.container.order-view .view-header .header-inner .pocess-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.container.order-view .view-header .header-inner .pocess-status dt,
.container.order-create .view-header .header-inner .pocess-status dt {
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 15.4px */
    letter-spacing: -0.44px;
}

.container.order-view .view-header .header-inner .pocess-status dd,
.container.order-view .view-header .header-inner .pocess-status dd span,
.container.order-create .view-header .header-inner .pocess-status dd,
.container.order-create .view-header .header-inner .pocess-status dd span,
.container.order-status .view-header .header-inner .pocess-status dd,
.container.order-status .view-header .header-inner .pocess-status dd span {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.container.order-view .view-header .header-inner .filter-buttons,
.container.order-create .view-header .header-inner .filter-buttons,
.container.order-status .view-header .header-inner .filter-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.container.order-view .view-header .header-inner .filter-buttons button,
.container.order-create .view-header .header-inner .filter-buttons button,
.container.order-status .view-header .header-inner .filter-buttons button {
    width: 48px;
    height: 24px;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    color: #fff;
    cursor: pointer;
    border: 1px solid #abb1be;
    padding: 0 8px;
    background-color: #000;
}

.container.order-create .view-header .filter-buttons {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.container.order-create .view-header .filter-buttons button {
    width: 48px;
    height: 24px;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    color: #fff;
    cursor: pointer;
    border: 1px solid #abb1be;
    padding: 0 8px;
    background-color: #000;
}

.container.order-create .view-header .filter-buttons button.active {
    border-color: #F54313;
    color: #F54313;
}

.order-container .order-info-list li .filter-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.order-container .order-info-list li .filter-buttons button {
    min-width: 44px;
    height: 24px;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: #ffffff;
    letter-spacing: -0.084em;
    cursor: pointer;
    border: 1px solid #abb1be;
    padding: 0 2px;
    background-color: #000;
}

.order-container .order-info-list li .filter-buttons button.active {
    border-color: #F54313;
    color: #F54313;
}

.container.order-view .view-header .header-menu,
.container.order-create .view-header .header-menu,
.container.order-status .view-header .header-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 2;
    margin-left: -16px;
    margin-right: -16px;
    margin-top: -16px;
}

.container.order-view .view-header .header-menu li,
.container.order-create .view-header .header-menu li,
.container.order-status .view-header .header-menu li {
    width: 50%;
    height: 40px;
}

.container.order-view .view-header .header-menu li a,
.container.order-create .view-header .header-menu li a,
.container.order-status .view-header .header-menu li a {
    display: block;
    height: 40px;
    border-bottom: 1px solid #abb1be;
    line-height: 40px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    letter-spacing: -0.064em;
}

.container.order-view .view-header .header-menu li a.active,
.container.order-create .view-header .header-menu li a.active,
.container.order-status .view-header .header-menu li a.active {
    color: #F54313;
    border-color: #F54313;
    border-width: 2px;
}

.container.order-view .view-header .search-input {
    display: flex;
    align-items: center;
    width: 100%;
    flex-grow: 2;
    padding: 10px 0 4px 0;
    gap: 24px;
}

.container.order-create .view-header .search-input {
    display: flex;
    align-items: center;
    width: 100%;
    flex-grow: 2;
    padding: 0 0 4px 0;
    gap: 12px;
}

.container.order-view .view-header .search-input .maker-select,
.container.order-create .view-header .search-input .maker-select {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 100px;
}

.container.order-create.search-page .view-header .search-input .maker-select {
    display: block;
}

.container.order-view .view-header .search-input .maker-select .select-type,
.container.order-create .view-header .search-input .maker-select .select-type {
    width: 100px;
    margin-top: 0;
}

.container.order-view .view-header .search-input .maker-select .label,
.container.order-create .view-header .search-input .maker-select .label {
    font-size: 13px;
    color: #ffffff;
    letter-spacing: -0.064em;
}

select.select-type {
    width: 120px;
    height: 24px;
    border: 0;
    border-radius: 4px;
    margin-top: 2px;
    padding: 0 30px 0 6px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    appearance: none;
    --webkit-appearance: none;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgba(255,0,102,1)"><path fill="none" d="M0 0h24v24H0z"></path><path d="M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z"></path></svg>')
        no-repeat right 8px top 50%;
    background-color: #ffffcc;
    background-size: 14px;
    letter-spacing: -0.064em;
}

select.select-type option {
    color: #1e1f25;
}

select.select-type.inner-table {
    width: 100%;
    height: 24px;
    padding: 0 4px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.064em;
    background-color: #f2f4f7;
    background-position: right 0 center;
    color: #6d7685;
}

.container.order-view .view-header .search-input .search-input-area,
.container.order-create .view-header .search-input .search-input-area {
    display: flex;
    align-items: center;
    height: 32px;
    border-radius: 24px;
    padding: 0 8px;
    background-color: #000;
    flex: 0 1 64%;
}

.container.order-view
    .view-header
    .search-input
    .search-input-area
    .input-keyword,
.container.order-create
    .view-header
    .search-input
    .search-input-area
    .input-keyword {
    background-color: transparent;
    border: 0;
    color: #fff;
    flex-grow: 1;
    width: 80%;
}

.container.order-view .view-header .search-input .search-input-area .btn-search,
.container.order-create
    .view-header
    .search-input
    .search-input-area
    .btn-search {
    border: 0;
    background-color: transparent;
    color: #fff;
    font-size: 18px;
}

.container.order-view
    .view-header
    .header-inner
    .filter-buttons
    button:first-child,
.container.order-create
    .view-header
    .header-inner
    .filter-buttons
    button:first-child,
.container.order-create .view-header .filter-buttons button:first-child,
.order-container .order-info-list li .filter-buttons button:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.container.order-view
    .view-header
    .header-inner
    .filter-buttons
    button:last-child,
.container.order-create
    .view-header
    .header-inner
    .filter-buttons
    button:last-child,
.container.order-create .view-header .filter-buttons button:last-child,
.order-container .order-info-list li .filter-buttons button:last-child {
    border-left: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.container.order-view .view-header .header-inner .filter-buttons button.active,
.container.order-create
    .view-header
    .header-inner
    .filter-buttons
    button.active {
    border-color: #F54313;
    color: #F54313;
}

.container.order-view .view-header .header-inner .pocess-status dd span.status,
.container.order-create
    .view-header
    .header-inner
    .pocess-status
    dd
    span.status {
    width: auto;
    padding: 0;
}

.container.order-view
    .view-header
    .header-inner
    .pocess-status
    dd
    span.status-01,
.container.order-create
    .view-header
    .header-inner
    .pocess-status
    dd
    span.status-01 {
    color: #f89226;
    background-color: transparent;
}

/** Footer **/
.footer {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    bottom: 0;
    z-index: 100;
    width: 100%;
    height: 60px;
    background: #1e1f25;
}

.footer .footer-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.footer .footer-menu nav {
    overflow: hidden;
    overflow-x: auto;
    width: calc(100% - 54px);
    padding-right: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--graygray-300) transparent;
}

.footer .footer-menu nav .menu-items {
    display: flex;
    justify-content: flex-start;
    padding-right: 12px;
}

.footer .footer-menu nav .menu-items a,
.footer .footer-menu nav .menu-items button {
    min-width: 72px;
    height: 48px;
    border: 0;
    padding: 0 6px 0 6px;
    font-size: 16px;
    font-weight: 600;
    line-height: 48px;
    text-align: center;
    color: #ffffcc;
    text-decoration: none;
    letter-spacing: -0.064em;
}

.main-page.index-page .footer .footer-menu nav .menu-items a,
.main-page.index-page .footer .footer-menu nav .menu-items button {
    min-width: 54px;
    padding-top: 18px;
    padding-inline: 0;
    font-size: 13px;
    background-repeat: no-repeat;
    background-position: left 50% top 4px;
    background-size: 28px;
}

.footer .copyright {
    display: none;
    padding-bottom: 8px;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    color: #6d7685;
}

/* 각 메뉴별 아이콘 */
.footer-menu nav a.portal-home {
    width: 48px !important;
    min-width: 48px !important;
    font-size: 14px !important;
    line-height: 16px !important;
    padding-top: 24px !important;
    background-repeat: no-repeat;
    background-position: center top;
    background-image: url("../images/portal-home.svg");
}
.footer-menu nav a.home {
    background-image: url("../images/home.svg");
}
.footer-menu nav a.log-out {
    background-image: url("../images/log-out.svg");
}
.footer-menu nav a.edit {
    background-image: url("../images/edit.svg");
}
.footer-menu nav a.shuffle {
    background-image: url("../images/shuffle.svg");
}
.footer-menu nav button.install {
    width: 64px !important;
    margin-left: auto;
    color: #ffae00 !important;
    background-image: url("../images/install-app.svg");
    background-color: transparent;
}

/* Hover 시 _w 이미지로 변경 */
.footer-menu nav a:hover {
    color: #fff;
}
.footer-menu nav a.portal-home:hover {
    background-image: url("../images/portal-home_w.svg");
}
.footer-menu nav a.home:hover {
    background-image: url("../images/home_w.svg");
}
.footer-menu nav a.log-out:hover {
    background-image: url("../images/log-out_w.svg");
}
.footer-menu nav a.edit:hover {
    background-image: url("../images/edit_w.svg");
}
.footer-menu nav a.shuffle:hover {
    background-image: url("../images/install.svg");
}

.footer .menu-open {
    width: 54px;
    height: 48px;
    border: 0;
    padding: 0;
    font-size: 0;
    background: #2b2c33;
    background: url("../images/hamburger.svg") no-repeat center 50%;
}

/* Menu Layer Overlay */
.menu-layer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

/* Menu Layer Slide */
.menu-layer {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 480px;
    height: 100vh;
    background: #1e1f25;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.menu-layer .menu-layer-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-layer .menu-layer-inner .menu-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 56px;
    height: 56px;
    border: 0;
    background: transparent;
    font-size: 0;
}

.menu-layer .menu-layer-inner .menu-close img {
    width: 32px;
    height: 32px;
}

.menu-layer .menu-layer-inner .menu-layer-header {
    position: relative;
    min-height: 80px;
    padding-top: 56px;
    padding-bottom: 24px;
    border-bottom: 1px dashed var(--Gray-Gray-500, #6d7685);
    background: var(--Gray-Gray-1000, #000);
    text-align: center;
}

.menu-layer .menu-layer-inner .menu-layer-header a.portal-home {
    display: inline-block;
    margin-top: 24px;
    padding-left: 32px;
    color: #f89226;
    font-size: 18px;
    font-weight: 700;
    background: url("../images/portal-home_w.svg") no-repeat left 50%;
}

.menu-layer .menu-layer-inner .menu-layer-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--graygray-300) transparent;
}

.menu-layer .menu-layer-inner .menu-layer-content .menu-layer-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.menu-layer .menu-layer-inner .menu-layer-content .menu-layer-list li {
    flex: 1 0 auto;
    height: 48px;
    line-height: 48px;
    padding-left: 16px;
    border-radius: 8px;
    background: var(--Gray-Gray-900, #2b2c33);
    font-size: 16px;
    font-weight: 600;
    color: #abb1be;
    text-decoration: none;
}

.menu-layer .menu-layer-inner .menu-layer-content .menu-layer-list li a {
    display: flex;
    align-items: center;
    line-height: 48px;
}

.menu-layer .menu-layer-inner .copyright {
    padding: 8px 16px;
    font-size: 14px;
    color: #6d7685;
    text-align: center;
}

.menu-layer * {
    color: #abb1be;
    text-decoration: none;
}

.menu-layer.active {
    transform: translateX(0);
}

.menu-layer-overlay.active {
    display: block;
}

/** Common **/
.p-color {
    color: #F54313;
}

.status {
    display: inline-block;
    width: 60px;
    height: 32px;
    padding: 0 2px;
    line-height: 32px;
    border-radius: 8px;
    font-size: 12px;
    color: #fff;
    font-weight: 600;
    background-color: #f89226;
    text-align: center;
    letter-spacing: -0.064em;
}

.order-view .dataTable tr td .status {
    width: auto;
    min-width: 60px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid var(--Red-Red-400, #f89226);
    padding: 0 4px;
    background-color: #fff;
    color: #f89226;
    font-size: 12px;
    line-height: 24px;
}

.order-view .dataTable tr td .status.status.status-02 {
    border-color: #ff593f;
    color: #ff593f;
}

.order-view .dataTable tr td .status.status.status-03 {
    border-color: #ffae00;
    color: #ffae00;
}

.order-view .dataTable tr td .status.status.status-04 {
    border-color: #44a5ff;
    color: #44a5ff;
}

.order-view .dataTable tr td .status.status.status-05 {
    border-color: #0a9848;
    color: #0a9848;
}

.order-view .dataTable tr td .status.status.status-06 {
    border-color: #6d7685;
    color: #6d7685;
}

.status i {
    font-style: normal;
    color: #fff372;
}

.status.status-06 i {
    color: #bec6d4;
}

.status.status-02 {
    background-color: #ff593f;
}
.status.status-03 {
    background-color: #ffae00;
}
.status.status-04 {
    background-color: #44a5ff;
}
.status.status-05 {
    background-color: #0a9848;
}
.status.status-06 {
    background-color: #6d7685;
}

.order-search {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
}

/** ag-Grid **/
.ag-theme-alpine {
    /* height: calc(100% - 102px); */
    height: 100%;
    width: 100%;
}

.ag-root {
    background-color: #e6eaf2 !important;
}

.ag-body {
    overflow: hidden !important;
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
    border: 1px solid #dfe3e8 !important;
}
.ag-body-viewport {
    background-color: #fff;
}

.ag-viewport {
    background-color: #fff;
}

.ag-root-wrapper {
    border: 0 !important;
}

.ag-header {
    border: 0 !important;
    background-color: #e6eaf2 !important;
}

.ag-header-cell-label,
.ag-header-group-cell-label {
    justify-content: center !important;
}

:where(.ag-ltr) .ag-cell:not(.ag-cell-inline-editing),
:where(.ag-ltr) .ag-full-width-row .ag-cell-wrapper.ag-row-group {
    padding-left: 8px !important;
    padding-right: 8px !important;
    letter-spacing: -0.064em;
}

:where(.ag-ltr) .ag-cell:not(.ag-cell-inline-editing).text-center {
    text-align: center !important;
}

:where(.ag-ltr) .ag-cell:not(.ag-cell-inline-editing).text-right {
    text-align: right !important;
}

:where(.ag-ltr) .ag-cell:not(.ag-cell-inline-editing).text-date {
    color: #6d7685 !important;
}

.ag-header-cell,
.ag-header-group-cell {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.ag-header-cell-text {
    font-size: 13px;
    letter-spacing: -0.064em;
    color: #6d7685;
}

.date-filter-container {
    position: fixed;
    top: 35%;
    left: calc(50% - 150px);
    z-index: 200;
    overflow: hidden;
    width: 300px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.date-filter-popup {
    padding-top: 24px;
    text-align: center;
}

.date-filter-popup h4 {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.date-filter-popup .quick-buttons {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 16px;
}

.date-filter-popup .quick-buttons button {
    height: 30px;
    border: 0;
    border-radius: 4px;
    padding: 0 8px;
    background-color: #f3f6fc;
    color: #6d7685;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.064em;
}

.date-filter-popup .date-inputs input {
    border: 1px solid #ccc;
    height: 40px;
    padding: 0 8px;
    border-radius: 8px;
    color: #2b2c35;
}

.date-filter-popup .description {
    margin-top: 8px;
    font-size: 12px;
    color: #6d7685;
}

.date-filter-popup .popup-foot {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.date-filter-popup .popup-foot button {
    height: 48px;
    border: 0;
    flex: auto;
    background-color: #abb1be;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.date-filter-popup .popup-foot button.reset-btn {
    background-color: #ffae00;
}

.ag-row,
.ag-spanned-row,
.ag-row a,
.ag-spanned-row a {
    color: #1e1f25 !important;
}

.ag-header .ag-pinned-left-header {
    border-right: 0;
}

/* 텍스트 정렬 커스텀 클래스 */
.dt-left {
    text-align: left !important;
}
.dt-center {
    text-align: center !important;
}
.dt-right {
    text-align: right !important;
}

/* Body 텍스트 정렬 */
.dt-body-left {
    text-align: left !important;
}
.dt-body-center {
    text-align: center !important;
}
.dt-body-right {
    text-align: right !important;
}

/* Header 텍스트 정렬 (헤더에만 적용) */
.dt-head-left {
    text-align: left !important;
}
.dt-head-center {
    text-align: center !important;
}
.dt-head-right {
    text-align: right !important;
}

table.dataTable thead th,
table.dataTable thead th .dt-column-title {
    font-size: 13px;
    color: #6d7685;
    font-weight: 500;
    letter-spacing: -0.064em;
}

table.dataTable thead th.dt-ordering-asc .dt-column-title,
table.dataTable thead th.dt-ordering-desc .dt-column-title {
    color: #2b2c35;
}

.dt-scroll-head table.dataTable thead tr.has-rowspan th {
    border-top: 1px dashed #6d7685 !important;
}

th.custom-th-1 .dt-column-header button {
    margin-left: -6px;
    margin-right: -14px;
    padding: 0 2px;
}

table.dataTable thead tr > .dtfc-fixed-start {
    background-color: #e6eaf2 !important;
}

table.dataTable thead th button {
    border: 0;
    position: relative;
    z-index: 1;
    cursor: pointer;
    background-color: transparent;
}

div.dt-container.dt-empty-footer .dt-scroll-body {
    border-bottom: 0 !important;
}

.dt-scroll-body {
    border-radius: 8px;
    background-color: #fff !important;
    scrollbar-width: thin;
}

.content .dt-scroll-body {
    max-height: calc(100vh - 290px) !important;
}

.container.order-view .content .dt-scroll-body {
    max-height: calc(100vh - 312px) !important;
}

.container.order-create .content .dt-scroll-body {
    max-height: calc(100vh - 252px) !important;
}

.container.order-status.main-page .content .dt-scroll-body {
    max-height: calc(100vh - 260px) !important;
}

.container.order-status .content .dt-scroll-body {
    max-height: calc(100vh - 115px) !important;
}

.container.order .content .dt-scroll-body {
    max-height: calc(100vh - 365px) !important;
}

.container.payment .content .dt-scroll-body {
    max-height: calc(100vh - 226px) !important;
}

.container.order .content.scroll-up .dt-scroll-body {
    max-height: calc(100vh - 206px) !important;
}

.container.payment .content.scroll-up .dt-scroll-body {
    max-height: calc(100vh - 120px) !important;
}

.container.order-view.pno-search .content .dt-scroll-body,
.container.order-create.pno-search .content .dt-scroll-body {
    max-height: calc(100vh - 227px) !important;
}

.container.order-view.nonpay-search .content .dt-scroll-body,
.container.order-create.nonpay-search .content .dt-scroll-body {
    max-height: calc(100vh - 268px) !important;
}

.container.order-view.search-page .content .dt-scroll-body,
.container.order-create.search-page .content .dt-scroll-body {
    max-height: calc(100vh - 320px) !important;
}

.container.order-view .content.scroll-up .dt-scroll-body {
    max-height: calc(100vh - 202px) !important;
}

.container.order-create .content.scroll-up .dt-scroll-body {
    max-height: calc(100vh - 240px) !important;
}

.container.inquiry-page .content.scroll-up .dt-scroll-body {
    max-height: calc(100vh - 210px) !important;
}

.container.order-view.search-page .content.scroll-up .dt-scroll-body,
.container.order-create.search-page .content.scroll-up .dt-scroll-body {
    max-height: calc(100vh - 236px) !important;
}

:root {
    --dt-row-selected: 255, 0, 0;
}

.dt-container table.dataTable.hover > tbody > tr.selected:hover > *,
.dt-container table.dataTable.display > tbody > tr.selected:hover > * {
    box-shadow: inset 0 0 0 9999px #0e1a4a !important;
    box-shadow: inset 0 0 0 9999px #0e1a4a !important;
}

table.dataTable > tbody > tr.selected > * {
    box-shadow: inset 0 0 0 9999px #0e1a4a !important;
    box-shadow: inset 0 0 0 9999px #0e1a4a !important;
    color: rgb(255, 255, 255);
    color: rgb(var(--dt-row-selected-text));
}

table.dataTable > tbody > tr.selected td .spec-detail .more,
table.dataTable > tbody > tr.selected td .nonpay-value,
table.dataTable > tbody > tr.selected td .enddate-detail {
    color: #fff;
}

table.dataTable > thead > tr > th {
    padding: 6px !important;
    border-bottom: 0 !important;
}

table.dataTable > tbody > tr > td {
    vertical-align: middle;
    font-size: 13px;
    color: #1e1f25;
    border-color: #6d7685;
    letter-spacing: -0.064em;
    padding: 6px 6px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.container.payment table.dataTable > tbody > tr > td {
    font-size: 16px;
}

table.dataTable > tbody > tr > td div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

table.dataTable > tbody > tr > td a {
    color: initial;
    text-decoration: none;
}

table.dataTable > tbody > tr > td .date {
    font-size: 13px;
    color: #6d7685;
}

/* DataTables 스크롤 바디 내 sticky 행 */
.dataTables_scrollBody table.dataTable > tbody > tr.top-maker-name,
.dt-scroll-body table.dataTable > tbody > tr.top-maker-name {
    position: sticky;
    top: 0;
    z-index: 10;
}

table.dataTable > tbody > tr.top-maker-name td {
    overflow: visible;
    height: 40px;
    background-color: #ffe295;
    color: #000;
    font-weight: 700;
    position: relative;
    transition: background-color 0.2s ease;
}

/* sticky로 고정되었을 때 배경색 변경 - 더 구체적인 선택자 사용 */
.dataTables_scrollBody
    table.dataTable
    > tbody
    > tr.top-maker-name.sticky-fixed
    td,
.dataTables_scrollBody
    table.dataTable
    > tbody
    > tr.top-maker-name.sticky-fixed
    > td,
.dt-scroll-body table.dataTable > tbody > tr.top-maker-name.sticky-fixed td,
.dt-scroll-body table.dataTable > tbody > tr.top-maker-name.sticky-fixed > td,
table.dataTable > tbody > tr.top-maker-name.sticky-fixed td,
table.dataTable > tbody > tr.top-maker-name.sticky-fixed > td {
    background-color: #ffc62f !important;
    background: #ffc62f !important;
}

table.dataTable > tbody > tr.top-maker-name td .maker-name {
    position: absolute;
    left: 16px;
    top: 0;
    z-index: 999;
    font-size: 14px;
    font-weight: 700;
    line-height: 40px;
}

.dt-container table.dataTable > tbody > tr.selected.top-maker-name td {
    background-color: #ffc62f !important;
    box-shadow: inset 0 0 0 9999px #ffc62f !important;
}

.dt-container
    table.dataTable.hover
    > tbody
    > tr.selected.top-maker-name:hover
    > *,
.dt-container
    table.dataTable.display
    > tbody
    > tr.selected.top-maker-name:hover
    > * {
    box-shadow: inset 0 0 0 9999px #ffc62f !important;
}

.filter-dropdown {
    position: fixed;
    z-index: 200;
    top: calc(50% - 100px);
    left: calc(50% - 100px);
    width: 200px;
    background-color: #fff;
    border: 1px solid #abb1be;
    border-radius: 8px;
    padding-top: 16px;
    text-align: center;
}

.filter-dropdown select {
    width: calc(100% - 32px);
    height: 32px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 14px;
    color: #2b2c35;
}

.filter-dropdown .buttons {
    margin-top: 16px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.filter-dropdown .buttons button {
    width: 50%;
    height: 32px;
    border: 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
}

.filter-dropdown .buttons button:first-child {
    background-color: #abb1be;
    border-bottom-left-radius: 4px;
}
.filter-dropdown .buttons button:last-child {
    background-color: #ffae00;
    border-bottom-right-radius: 4px;
}

/* 캘린더 모달 스타일 */
.calendar-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.calendar-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 300px;
    max-height: 240px;
}

.calendar-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 16px;
    text-align: center;
}

.calendar-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.close-calendar-modal {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.close-calendar-modal:hover {
    background-color: #f5f5f5;
    color: #333;
}

.calendar-modal-body {
    padding: 0 16px;
}

.calendar-modal-body .description {
    margin-bottom: 12px;
    font-size: 12px;
    color: #6d7685;
}

.date-input-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #6d7685;
}

.date-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.date-input-group input[type="date"] {
    width: calc(50% - 12px);
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    background-color: white;
}

.date-input-group input[type="date"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.quick-select-buttons h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.quick-buttons {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.quick-btn {
    flex: 0 1 25%;
    padding: 6px;
    border: 0;
    border-radius: 6px;
    background-color: #f3f6fc;
    color: #6d7685;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-btn:hover {
    background-color: #8d95a1;
    color: white;
}

.quick-btn.active {
    background-color: #8d95a1;
    color: white;
}

.calendar-modal-footer {
    display: flex;
    justify-content: space-between;
}

.btn-cancel,
.btn-apply {
    flex: 0 1 50%;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel {
    background-color: #abb1be;
    color: #fff;
    border: 0;
    border-bottom-left-radius: 12px;
}

.btn-apply {
    background-color: #F54313;
    color: white;
    border: 0;
    border-bottom-right-radius: 12px;
}

/* 반응형 디자인 */
@media (max-width: 480px) {
    .calendar-modal {
        width: 95%;
        margin: 20px;
    }
}

table.dataTable > tbody > tr > td .spec-detail {
    color: #344254;
    font-weight: 600;
    font-size: 17px;
}

table.dataTable > tbody > tr > td .spec-detail a {
    color: #344254;
}

table.dataTable > tbody > tr.selected > td .spec-detail,
table.dataTable > tbody > tr.selected > td .spec-detail a {
    color: #d1ff00;
    font-weight: 600;
}

table.dataTable > tbody > tr > td .spec-detail .more {
    padding-left: 8px;
    font-size: 13px;
    color: #6d7685;
}

table.dataTable > tbody > tr > td .enddate-detail {
    font-size: 13px;
    color: #6d7685;
}

table.dataTable > tbody > tr > td .enddate-detail .order-value {
    font-size: 15px;
}

table.dataTable > tbody > tr > td .nonpay-value {
    margin-top: 4px;
    color: #6d7685;
}

table.dataTable > tbody > tr > td .btn-favorite {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    color: #6d7685;
}

table.dataTable > tbody > tr > td .btn-favorite i.ri-star-fill {
    color: #ff593f;
}

div.dt-scroll div.dtfc-top-blocker {
    background-color: transparent !important;
}

.popup-wrap {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.popup-wrap.order-detail-popup {
    left: 48%;
    z-index: 999;
}

@media screen and (max-width: 480px) {
    .popup-wrap.order-detail-popup {
        left: 132px;
    }
}

.popup-wrap .alert-popup {
    overflow: hidden;
    position: fixed;
    width: 300px;
    left: calc(50% - 150px);
    top: calc(50% - 100px);
    z-index: 1100;
    border-radius: 20px;
    background-color: #fff;
}

.popup-wrap .alert-popup.drawer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width:  52%;
    left: 48%;
    top: 0;
    bottom: 0;
    border-radius: 0;
    transform: translateX(0);
    transition: transform 0.3s ease-out;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

@media screen and (min-width: 640px) {
    .popup-wrap .alert-popup.drawer {
        width:  340px;
        left: 50%;
    }
}

@media screen and (max-width: 480px) {
    .popup-wrap .alert-popup.drawer {
        width:  calc(100% - 132px);
        left: 132px;
    }
}

@media screen and (max-width: 360px) {
    .popup-wrap .alert-popup.drawer {
        width:  calc(100% - 100px);
        left: 100px;
    }
}

.popup-wrap .alert-popup .popup-body {
    padding: 24px 16px 24px 16px;
    font-weight: 500;
}

.popup-wrap .alert-popup.drawer .popup-body {
    position: relative;
    overflow: hidden;
    overflow-y: auto;
    height: calc(100vh);
}

.popup-wrap .alert-popup.drawer .popup-footer button {
    border-radius: 0;
}

.popup-wrap .alert-popup .popup-body .popup-head {
    padding: 0 8px 16px 8px;
    text-align: center;
}

.popup-wrap .alert-popup .popup-body .popup-head h3 {
    font-size: 16px;
    color: #F54313;
    letter-spacing: -0.064em;
}

.popup-wrap.order-detail-popup .alert-popup .popup-body .popup-head h3 {
    text-align: left;
    font-size: 14px;
    color: #1e1f25;
}

.popup-wrap .alert-popup .popup-body .popup-head.product-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 12px 8px;
    border-radius: 12px;
    background: #f3f6fc;
}

.popup-wrap .alert-popup .popup-body .popup-head.product-title .favorite-status {
    color: #ccc;
    margin-left: 6px;
}

.popup-wrap .alert-popup .popup-body .popup-head.product-title .favorite-status.is-favorite {
    color: #F54313;
}

.popup-wrap .alert-popup .popup-body .popup-content .message {
    color: #1e1f25;
}
.popup-wrap .alert-popup .popup-body .popup-content .message .point {
    color: #44a5ff;
}

.popup-wrap .alert-popup .popup-body .popup-content .desc {
    margin-top: 16px;
    font-size: 14px;
    color: #6d7685;
}

.popup-wrap .alert-popup .popup-body .popup-content + .popup-head {
    margin-top: 24px;
}

.popup-wrap .alert-popup .popup-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-wrap .alert-popup .popup-footer button {
    flex: 1;
    width: 50%;
    height: 50px;
    border: 0;
    padding: 0 0;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: var(--Gray-Gray-300, #abb1be);
}

.popup-wrap .alert-popup .popup-footer button.confirm {
    background-color: #F54313;
}

@media (max-width: 767px) {
    input,
    textarea,
    select,
    button,
    .input-keyword {
        font-size: 14px;
        -webkit-text-size-adjust: 100%;
    }
}

/* 고정 열/너비 안정화를 위해 테이블 레이아웃 고정 권장 */
table.dataTable {
    table-layout: fixed;
    width: 100% !important;
}

/* DataTables가 생성하는 헤더/바디 내부 테이블 너비 조정 허용 */
.dataTables_scrollHeadInner table,
.dataTables_scrollBody table {
    width: auto !important;
}

/* 모바일 스크롤 여백 문제 해결 */
.dataTables_scrollBody {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    -webkit-overscroll-behavior: contain;
}

.dt-scroll-body {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    -webkit-overscroll-behavior: contain;
}

/* DataTables 컨테이너 전체에 적용 */
.dataTables_wrapper {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    -webkit-overscroll-behavior: contain;
}

/* 모바일에서 스크롤 영역 고정 */
@media (max-width: 768px) {
    .dataTables_scrollBody,
    .dt-scroll-body {
        position: relative;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: none;
        -webkit-overscroll-behavior: none;
        /* 여백 제거 */
        margin: 0;
        padding: 0;
    }

    /* 터치 스크롤 최적화 */
    .dataTables_wrapper {
        touch-action: pan-x pan-y;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
}

/* iOS Safari 스크롤 바운스 효과 제거 */
@supports (-webkit-touch-callout: none) {
    .dataTables_scrollBody,
    .dt-scroll-body {
        -webkit-overflow-scrolling: auto;
        overscroll-behavior: none;
        -webkit-overscroll-behavior: none;
    }
}

.splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f3f6fc;
    animation: fadeOut 1s ease-in-out 2s forwards;
}
.splash img {
    width: 192px;
    height: 192px;
    margin-bottom: 20px;
}
@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

#iosGuide {
    position: fixed;
    bottom: 72px;
    left: 20px;
    right: 20px;
    background: white;
    border: 1px solid #ddd;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.container.order-create div.dt-container div.dt-layout-row {
    margin-top: 8px;
    margin-bottom: 0 !important;
}

.table-foot-buttons {
    display: flex;
    align-items: center;
}

.table-foot-buttons button {
    flex: 1;
    height: 40px;
    color: #fff;
    background-color: #abb1be;
    border: 0;
    font-size: 17px;
    font-weight: 600;
}

button.btn-order-save {
    flex: 1;
    height: 40px;
    color: #fff;
    background-color: #F54313;
    border: 0;
    font-size: 16px;
    line-height: 32px;
    font-weight: 600;
}

table.info-table {
    width: 100%;
}

table.info-table tbody tr th {
    border-top: 1px dashed var(--Gray-Gray-300, #abb1be);
    border-bottom: 1px dashed var(--Gray-Gray-300, #abb1be);
    padding: 8px 4px;
    font-size: 13px;
    color: #6d7685;
    letter-spacing: -0.064em;
    text-align: center;
    background-color: #f3f6fc;
}

table.info-table tbody tr td {
    padding: 8px 4px;
    font-size: 13px;
    color: #1e1f25;
    letter-spacing: -0.064em;
    text-align: center;
}

table.info-table tbody tr td.title {
    text-align: left;
    font-size: 16px;
    font-weight: 600;
}

table.info-table tbody tr td.title .prod-name {
    text-align: center;
    font-size: 14px;
    border: 1px solid #F54313;
    border-radius: 6px;
    padding: 8px 4px;
    background-color: #ffffcc;
}

table.info-table2 {
    width: 100%;
}

table.info-table2 tbody tr th {
    padding: 8px 4px;
    background-color: #f3f6fc;
    font-size: 13px;
    color: #1e1f25;
    letter-spacing: -0.064em;
    text-align: center;
    border-bottom: 1px solid #dadada;
}

table.info-table2 tbody tr td {
    padding: 8px 4px;
    font-size: 13px;
    color: #6d7685;
    letter-spacing: -0.064em;
    text-align: center;
    border-bottom: 1px solid #dadada;
}

/* 계산기 */
.calculator {
    background: #dce1eb;
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.calculator .moq-ea {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    margin-bottom: 12px;
    padding-inline: 8px;
}

.calculator .ea-setup {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 4px;
    font-size: 18px;
    margin-bottom: 12px;
}

.calculator .ea-setup .value {
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0 8px;
    color: #6d7685;
    font-size: 14px;
    font-weight: 700;
    background-color: #ffffff;
}

.calculator .ea-setup .value input {
    flex: 1;
    width: 64px;
    height: 32px;
    font-size: 14px;
    text-align: right;
    color: #000000;
    font-weight: 700;
    border: none;
}

.calculator .ea-setup button {
    height: 32px;
    border: none;
    background: #ffffff;
    color: #000;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
}

.calculator .sub-title {
    font-size: 13px;
    color: #6d7685;
    margin-bottom: 8px;
}

.calculator .display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding-left: 12px;
}

.calculator .display .value {
    background: #fff;
    border-radius: 8px;
    height: 32px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 20px;
    font-weight: bold;
}

.calculator .display .moq-label {
    font-size: 13px;
    color: #6d7685;
}

.calculator .display .value {
    width: 100%;
    text-align: right;
    font-size: 20px;
    font-weight: 600;
    color: #777880;
    border: 0;
    padding-right: 4px;
    border-radius: 4px;
    -webkit-text-size-adjust: 100%;
}

.calculator .buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.buttons button {
    border: none;
    border-radius: 10px;
    height: 40px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
    background: #f2f4f7;
    font-weight: 600;
    letter-spacing: -0.064em;
}

.buttons button.back-space {
    font-size: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill="none" d="M0 0h24v24H0z"></path><path d="M6.53451 3H20.9993C21.5516 3 21.9993 3.44772 21.9993 4V20C21.9993 20.5523 21.5516 21 20.9993 21H6.53451C6.20015 21 5.88792 20.8329 5.70246 20.5547L0.369122 12.5547C0.145189 12.2188 0.145189 11.7812 0.369122 11.4453L5.70246 3.4453C5.88792 3.1671 6.20015 3 6.53451 3ZM12.9993 10.5858L10.1709 7.75736L8.75668 9.17157L11.5851 12L8.75668 14.8284L10.1709 16.2426L12.9993 13.4142L15.8277 16.2426L17.242 14.8284L14.4135 12L17.242 9.17157L15.8277 7.75736L12.9993 10.5858Z"></path></svg>')
        no-repeat center #f2f4f7;
    background-size: 24px;
}

.buttons button:hover {
    background: #cfd5e1;
}

.buttons button.clear {
    grid-row: span 2;
    height: auto;
}

.buttons .function {
    background: #b8c2d8;
}

.buttons .function:hover {
    background: #9aa6c0;
}

.wide {
    grid-column: span 2;
}

/* 발주수량 타입 선택 - 라디오버튼 스타일 */
.cal-type {
    display: flex;
    margin-bottom: 15px;
}

.cal-type input[type="radio"] {
    display: none;
}

.cal-type label {
    flex: 1;
    padding: 6px 8px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    text-align: center;
}

.cal-type label.label-quantity {
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.cal-type label.label-unit {
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    border-left: 0;
}

.cal-type label:hover {
    border-color: #bbb;
    background: #F54313;
}

.cal-type input[type="radio"]:checked + label {
    background: #002060;
    color: #fff;
    border-color: #b8c2d8;
}

/* Datepicker */
.ui-datepicker {
    width: 100% !important;
}
.ui-state-default,
.ui-widget-content .ui-state-default {
    border: 0 !important;
    text-align: center;
    font-weight: 600 !important;
    border-radius: 8px;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight {
    background: #ff4245 !important;
    color: #fff !important;
    font-weight: 600 !important;
}

.ui-state-active,
.ui-widget-content .ui-state-active {
    font-weight: 600 !important;
}

.ui-datepicker-calendar > tbody > tr > td:first-child a {
    color: red !important;
}

.ui-datepicker-calendar > tbody > tr > td:last-child a {
    color: #0099ff !important;
}

.ui-datepicker-calendar > thead > tr > th:first-child {
    color: red !important;
}

.ui-datepicker-calendar > thead > tr > th:last-child {
    color: #0099ff !important;
}

.ui-datepicker td {
    padding: 4px !important;
}

.ui-widget.ui-widget-content {
    border: 1px solid #f3f6fc !important;
}

.ui-widget-header {
    border: 0 !important;
    background: #fff !important;
}

.ui-datepicker .ui-datepicker-title select {
    width: 40% !important;
    border-color: #bec6d4;
    border-radius: 6px;
    border: 0;
    font-size: 14px !important;
}

.ui-datepicker select.ui-datepicker-month {
    margin-left: 12px !important;
}

button.popup-drag {
    position: absolute;
    width: 6px;
    height: 72px;
    border-radius: 6px;
    top: calc(50% - 36px);
    left: 10px;
    z-index: 1000;
    border: 0;
    font-size: 0;
    background: #bec6d4;
}

/* 시간 선택 버튼 스타일 */
.select-time {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.display-select-date {
    padding-top: 16px;
    font-size: 14px;
    color: #6d7685;
    margin-bottom: 8px;
}

.select-time label {
    flex: 1;
    display: inline-block;
    padding: 12px 20px;
    border: 1px solid #bec6d4;
    border-radius: 8px;
    background-color: #fff;
    color: #666;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.select-time label:hover {
    border-color: #0e1a4a;
    background-color: #f8f9fa;
}

.select-time label input[type="radio"] {
    display: none;
}

/* 선택된 라디오 버튼을 가진 라벨 스타일 */
.select-time label:has(input[type="radio"]:checked) {
    background-color: #002060;
    color: #fff;
    border-color: #002060;
    font-weight: 600;
}

.apply-all-date {
    cursor: pointer;
    font-size: 13px;
    color: #6d7685;
    font-weight: 500;
    letter-spacing: -0.064em;
}

.apply-all-date i {
    font-size: 18px;
    padding: 0 0;
    color: #ff4245;
}

button.order-delete {
    width: 32px;
    height: 32px;
    border: 0;
    padding: 0;
    border-radius: 100%;
    background-color: transparent;
    color: #ff4245;
}

button.order-delete:active {
    background-color: #e6eaf2;
}

button.btn-payment {
    width: 32px;
    height: 32px;
    border: 0;
    padding: 0;
    border-radius: 100%;
    background-color: transparent;
    color: #009c94;
    font-size: 18px;
}

button.btn-payment:active {
    background-color: #e6eaf2;
}

img.grade {
    vertical-align: middle;
}

div.dt-container div.dt-layout-row {
    margin-top: 0 !important;
}

.grid-container {
    margin-top: -12px;
}

.my-info-box {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 -4px 16px -8px;
    padding: 16px;
    background-color: #F54313;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.my-info-box .box {
    flex: 1;
    border-radius: 8px;
    padding: 12px;
    background-color: #ffffcc;
    letter-spacing: -0.064em;
    font-size: 14px;
    color: #6d7685;
}

.my-info-box .box strong {
    font-weight: 700;
    color: #ff5131;

}

.my-info-box .box h3 {
    font-size: 15px;
    margin-bottom: 8px;
    font-weight: 700;
    color: #131313;
}

.my-info-box .stamp-box {
    width: 100%;
    border-radius: 8px;
    padding: 12px;
    background-color: #ffffcc;
}

.my-info-box .stamp-box .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    margin-bottom: 12px;
    font-weight: 700;
    color: #131313;
}

.my-info-box .stamp-box .head span {
    font-size: 14px;
    color: #6d7685;
}

.my-info-box .stamp-box .stamps {
    display: flex;
    flex-wrap: wrap;
}
.my-info-box .stamp-box .stamps li {
    display: flex;
    flex-direction: column;
    flex: 0 1 20%;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.my-info-box .stamp-box .stamps li .stamp {
    position: relative;
    overflow: hidden;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(to right, #00b050 var(--fill), #ccc var(--fill));
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    --fill: 0%;
}

.my-info-box .stamp-box .stamps li .stamp span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    z-index: 1;
}

.my-info-box .stamp-box .stamps li p {
    height: 24px;
    font-size: 13px;
    color: #6d7685;
    font-weight: 700;
}

.my-info-box h2 {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.064em;
}

.my-info-box .my-grade {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
}

.my-info-box .my-stamp {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 17px;
    font-weight: 500;
}

.my-info-box .my-stamp .stamp {
    padding: 4px 8px;
    border-radius: 8px;
    background-color: #0eb46d;
    color: #fff;
    font-size: 14px;
}

.my-info-box .my-stamp .stamp strong {
    color: #fff372;
}

.nonpay-status {
    width: calc(100% - 24px);
    background-color: #ffffff;
    margin: 0 auto 0 auto;
    border-radius: 12px;
    padding: 16px 16px;
}

.nonpay-status h3 {
    font-size: 19px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.064em;
    color: #1e1f25;
}

.nonpay-status h3 a {
    color: #1e1f25;
    text-decoration: none;
}

.nonpay-status h3 span {
    color: #F54313;
    font-weight: 700;
}

.nonpay-status table {
    margin-top: 12px;
    width: 100%;
}

.nonpay-status table tr th {
    font-size: 13px;
    color: #6d7685;
    letter-spacing: -0.064em;
    font-weight: 500;
    padding: 6px 4px;
    border-top: 1px #abb1be dashed;
    border-bottom: 1px #abb1be dashed;
}

.nonpay-status table tr td {
    font-size: 13px;
    color: #1e1f25;
    letter-spacing: -0.064em;
    padding: 8px 4px 4px 4px;
    text-align: center;
}

.receivables-status {
    border-top: 1px #1e1f25 dashed;
    padding: 20px 24px;
}

.receivables-status h3 {
    font-size: 19px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.064em;
    color: #1e1f25;
}

.receivables-status h3 span {
    color: #F54313;
    font-weight: 700;
}

.receivables-status .value-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    font-size: 15px;
    color: #6d7685;
    font-weight: 600;
    text-align: center;
}

.receivables-status .value-info .value {
    font-size: 17px;
    color: #F54313;
}

.write-order {
    position: absolute;
    top: 8px;
    right: 16px;
    display: inline-block;
    vertical-align: middle;
    width: 32px;
    height: 32px;
    font-size: 24px;
    color: #F54313;
    text-decoration: none;
}

.write-order.fixed {
    position: fixed;
    top: auto;
    bottom: 100px;
    right: 20px;
    z-index: 888;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: 1px solid #F54313;
    font-size: 24px;
    color: #F54313;
    text-decoration: none;
    background-color: #fff;
}

@media screen and (min-width: 640px) {
    .write-order.fixed {
        right: calc(50% - 320px);
    }
}

.write-order.fixed i {
    vertical-align: top;
}

button.status-toggle {
    border-radius: 6px;
    border: 1px solid #F54313 !important;
    background-color: #ffffcc !important;
}

.status-list {
    overflow: hidden;
    position: absolute;
    right: 0;
    width: 120px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.status-list li {
    border-top: 1px solid #eee;
    padding: 4px 8px;
    font-size: 14px;
    color: #1e1f25;
    cursor: pointer;
    transition: background-color 0.2s;
}

.status-list li.selected {
    color: #F54313;
    background-color: #ffffcc;
}

.notice-box {
    margin-top: 40px;
    margin-bottom: 16px;
    padding: 24px 16px;
}

.notice-box h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #1e1f25;
    letter-spacing: -0.064em;
    margin-bottom: 8px;
    margin-left: 2px;
    padding: 0 8px;
    border-left: 2px solid #F54313;
}

.notice-box h3 strong {
    color: #F54313;
}

.notice-box h3 a {
    font-size: 13px;
    color: #6d7685;
    font-weight: 500;
    text-decoration: none;
}

.notice-box ul {
    overflow: hidden;
    background-color: #f3f6fc;
    border-radius: 16px;
    border: 1px solid #F54313;
    margin-bottom: 24px;
}

.notice-box ul li {
    border-top: 1px solid #F54313;
    font-size: 13px;
    color: #4e545f;
    text-decoration: none;
    display: block;
}

.notice-box ul li:first-child {
    border-top: none;
}

.notice-box ul li a {
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: 13px;
    color: #4e545f;
    text-decoration: none;
    padding: 12px 12px;
}

.notice-box ul li a:hover,
.notice-box ul li a:active {
    background-color: #ffae00;
    color: #000;
    font-weight: 700;
}

.payment-info-list {
    padding: 0 12px;
}

.payment-info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.payment-info-list li .label {
    font-weight: 600;
}

.payment-info-list li .value {
    position: relative;
    flex: 1;
    font-size: 16px;
    font-weight: 700;
    color: #1e1f25;
    text-align: right;
}

.payment-info-list li .value .placeholder {
    position: absolute;
    left: 12%;
    top: 4px;
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.payment-info-list li .value .payment-value {
    width: 90%;
    padding-left: 8px;
    text-align: right;
    color: #a9a4a4;
}

.payment-info-list li .value.nonpay {
    color: #ff593f;
}

/* 더보기(.more) 오버플로우 시 좌측으로 흐르는 marquee 스타일 */
.more {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    display: block;
    line-height: 1.2;
}

/* 트랙: 실제로 이동하는 영역(내용이 두 번 복제되어 seamless loop) */
.more .marquee-track {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
}

/* 개별 텍스트 블록 */
.more .marquee {
    display: inline-block;
    padding-right: 48px; /* 루프 간 간격 */
    vertical-align: middle;
}

/* ===== Radio Button (Mobile Chip Style) ===== */
.inquiry-type {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.inquiry-type li {
    display: flex;
    flex: 0 1 auto;
}

.inquiry-type input[type="checkbox"] {
    display: none;
}

.inquiry-type label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 22px 6px 8px;
    border: 1.5px solid #d0d0d0;
    border-radius: 20px;
    background-color: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    white-space: nowrap;
    position: relative;
}

.inquiry-type label:hover {
    border-color: #999;
    background-color: #f5f5f5;
}

.inquiry-type label::after {
    content: "×";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    line-height: 1;
    color: transparent;
    opacity: 0;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.inquiry-type input[type="checkbox"]:checked + label {
    background-color: #ff5131;
    color: #fff;
    border-color: #ff5131;
    font-weight: 600;
}

.inquiry-type input[type="checkbox"]:checked + label::after {
    opacity: 1;
    color: #fff;
}

/* 스크롤 활성화 상태에서 애니메이션 실행 */
.more.scrolling .marquee-track {
    animation-name: yos-marquee;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-duration: var(--marquee-duration, 8s);
    animation-play-state: running;
    transform: translateX(0);
}

/* 기본은 정지(hover 시에도 멈춤) */
.more .marquee-track {
    animation-play-state: paused;
}

/* hover 시 재생 중이면 멈추게 함 (읽기 편하게) */
.more.scrolling:hover .marquee-track {
    animation-play-state: paused;
}

/* keyframes: 최종 위치를 CSS 변수로 사용 */
@keyframes yos-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(var(--marquee-distance, -200px)));
    }
}

.notice-box ul li a.btn-small,
.btn-small {
    display: inline-block;
    min-width: 64px;
    border: 1px solid #F54313;
    border-radius: 8px;
    text-align: center;
    background: #fff;
    color: #F54313;
    font-weight: 700;
    padding: 6px 12px;
}

.notice-box ul li a.btn-small.reverse,
.btn-small.reverse {
    color: #fff;
    background-color: #F54313;
}

.btn-small + .btn-small {margin-left: 8px;}

.banner-area {
    margin: 0 -4px;
}

.banner-area img {
    width: 100%;
}

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

.inquiry-form li {
    margin-bottom: 16px;
}

.inquiry-form li.find-result {
    font-size: 16px;
    color: #333333;
    line-height: 1.5;
    color: #6D7685;
}

.inquiry-form li.find-result .links {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.inquiry-form li.find-result .links a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #F54313;
    background-color: #ffffff;
    color: #F54313;
    font-weight: 600;
    font-size: 14px;
}

.inquiry-form li.find-result strong {
    font-weight: 700;
    color: #F54313;
}

.inquiry-form li.find-result .big-text {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    letter-spacing: -0.064em;
}

.inquiry-form li.find-result .finish-msg {
    margin-bottom: 16px;
}

.inquiry-form li.find-result .finish-msg img {
    display: block;
    max-width: 480px;
    margin: 0 auto;
    border-radius: 16px;
}

.inquiry-form li.both-input {
    display: flex;
    gap: 8px;
}

.inquiry-form li.business-number-search {
    display: flex;
    gap: 8px;
}

.inquiry-form li.business-number-search .search {
    width: 60px;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    border: 1px solid #F54313;
    background-color: #F54313;
}

.inquiry-form li input[type="text"],
.inquiry-form li input[type="password"] {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #D3D7E0;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
}

.inquiry-form li textarea {
    width: 100%;
    height: 120px;
    padding: 16px;
    border: 1px solid #D3D7E0;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
}

.notifications {
    text-decoration: none;
    font-size: 20px;
    color: #000;
}

.app-links {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 24px 0 0 0;
    margin-top: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.app-links .swiper {
    padding-bottom: 30px;
    padding-right: 32px;
    padding-left: 32px;
}

.app-links .swiper-slide {
    background-color: #f3f6fc;
    padding: 16px;
    border-radius: 16px;
    color: #1e1f25;
    text-align: center;
}

.app-links .swiper-slide img {
    width: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.app-links .swiper-slide a {
    color: #1e1f25;
    text-decoration: none;
    display: block;
}

.app-links .swiper-slide .app-name {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-top: 8px;
}

.app-links .swiper-slide:hover {
    background-color: #e0e5f1;
    cursor: pointer;
    transition: all 0.3s;
}

.app-links .swiper-slide:hover a {
    color: #F54313;
}

.app-links .swiper-pagination-bullet {
    background: #ccc;
}

.app-links .swiper-pagination-bullet-active {
    background: #F54313;
}

.app-links .swiper-button-next,
.app-links .swiper-button-prev {
    color: #F54313;
    background: rgba(255, 255, 255, 0.8);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.app-links .swiper-button-next:after,
.app-links .swiper-button-prev:after {
    font-size: 16px;
    font-weight: bold;
}

/* media queries */
@media (min-width: 1280px) {
    #app {
        max-width: 100%;
    }

    .banner-area {
        padding: 16px;
        text-align: center;
    }

    .banner-area img {
        border-radius: 0;
    }

    .notice-box {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
    }

    .notice-box > div {
        width: 680px;
    }

    .container.index-page .header {
        height: 72px;
    }

    .container .header .header-inner {
        height: 50px;
    }

    .container .header .menu {
        height: 48px;
    }

    .container .header .menu a {
        height: 48px;
        line-height: 48px;
    }

    .container .header .menu .nav-area {
        justify-content: center;
        gap: 32px;
    }

    .main-page .content-inner .nonpay-status {
        width: 100%;
        margin: 0 auto;
    }

    .main .content {
        height: calc(100%);
    }

    .footer .footer-menu nav .menu-items {
        display: flex;
        justify-content: center;
        gap: 32px;
    }
}

@media (min-width: 680px) {
    .order-container .search-form-list li strong {
        font-size: 14px;
    }

    .order-container .order-info-list li strong {
        font-size: 14px;
    }

    .order-container.columns-1 {
        height: 72px;
    }

    .order-container.columns-2 .order-info-list li, .order-container.columns-2 .order-info-list li span, .order-container.columns-3 .order-info-list li, .order-container.columns-3 .order-info-list li span {
        width: 48%;
        flex: 0 1 48%;
        font-size: 16px;
        margin-bottom: 0;
    }

    .order-container.columns-2 .order-info-list li.grow-2 input.info-inner-input,
    .order-container.columns-3 .order-info-list li.grow-2 input.info-inner-input {
        width: 100%;
    }

    .order-container.columns-2 .order-info-list li.grow-2, 
    .order-container.columns-3 .order-info-list li.grow-2 {
        width: 100% !important;
        flex: 0 1 100% !important;
    }

    .order-container.columns-2 .order-info-list li.grow-2 span, 
    .order-container.columns-3 .order-info-list li.grow-2 span {
        width: 100%;
        flex: 0 1 100%;
    }

    .order-container .search-form-info {
        width: 100%;
        padding: 8px 12px 0 12px;
    }

    .order-container .order-info-list, .order-container .search-form-list {
        flex-wrap: wrap;
        gap: 6px;
    }

    .order-container .order-info-list li strong {
        min-width: 56px;
    }

    .container .view-header .menu a {
        font-size: 16px;
    }

    .order-container.columns-2 .order-info-list li input.info-inner-input, .order-container.columns-3 .order-info-list li input.info-inner-input {
        font-size: 16px;
    }

    .container.index-page {
        background-color: #fff;
    }

    .container.index-page .header,
    .container.index-page .header .header-inner .header-information .name,
    .container.index-page .header .header-inner .header-information .setting {
        color: #000;
    }

    .banner-area {
        padding: 0;
    }
}

@media screen and (max-width: 1023px) {
    .container.index-page {
        background-color: #fff;
    }
    .top-banner {
        display: none;
    }

    .notifications {
        color: #fff;
    }

    .main.index-main {
        margin-top: 56px;
    }

    .container.index-page .header,
    .container.index-page .header .header-inner {
        height: 50px;
        background-color: #002060;
    }

    .main-saerch-box {
        top: 58px;
        width: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
    }
    
    .container .header .logo.yaiso {
        width: 32px;
        }
     .container .header .logo.yaiso a {
        font-size: 0;
     }

     .app-links {
        width: calc(100% - 48px);
     }
     
     .notice-box {
        margin-top: 24px;
        padding-block: 0;
     }

     .container.index-page .header,
    .container.index-page .header .header-inner .header-information .name,
    .container.index-page .header .header-inner .header-information .setting {
        color: #fff;
    }
}


@media screen and (max-width: 860px) {
    .app-links {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        padding-block: 0;
        border-radius: 0;
        border: 0;
        box-shadow: none;
    }

    .app-links .swiper {
        padding-bottom: 40px;
    }

    .app-links .swiper-button-next,
    .app-links .swiper-button-prev {
        display: none;
    }
}


@media screen and (min-width: 680px) {
    
    .main-page:not(.index-page) .content-inner {
        display: grid;
        grid-template-columns: 1fr;
        max-width: 680px;
        margin: 0 auto;
        padding: 24px 24px;
        gap: 16px;
    }

    .my-info-box {
        display: flex;
        grid-template-columns: 1fr 1fr 2fr;
        gap: 16px;
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
        border-radius: 12px;
    }

    .my-info-box .stamp-box {
        flex: 2;
    }
}

@media screen and (max-width: 679px) {

    .nonpay-status {
        margin-bottom: 16px;
    }

    .order-container .search-form-list li {
        width: 180px;
        flex: 0 1 180px;
    }
    
}

@media screen and (max-width: 460px) {

    .app-links {
        padding-right: 0;
        padding-left: 0;
    }

    .app-links .swiper {
        padding-left: 16px;
        padding-right: 16px;
    }

    .app-links .swiper-slide {
        padding: 8px;
    }
    
}