.product-input-Popup button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-input-Popup button:hover {
    background-color: #0056b3;
}

.product-input-Popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.product-input-Popup .product-popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 80%;
    max-width: 500px;
    position: relative;
}

.product-input-Popup .product-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.product-input-Popup h2 {
    margin-top: 0;
    font-size: 24px;
}

/* 로딩 스피너 (선택 사항) */
.product-input-Popup .product-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}
.product-input-Popup .product-content .categoryRegBtn {
    padding: 5px 8px;
    border: 0px;
    border-radius: 5px;
    background-color: #28a745;
    color: white;
    font-size: 12px;
}
.product-input-Popup .product-content p {
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 5px;
}
.product-input-Popup .product-content .option-setting {
    position: relative;
    text-align: left;
    font-size: 12px;
    width: 100%;
}
.product-input-Popup .product-content .option-setting button {
    padding: 5px 8px;
    border: 0px;
    border-radius: 5px;
    margin-right: 2px;
    background-color: #28a745;
    color: white;
    font-size: 12px;
}
.product-input-Popup .product-content .option-setting #submitProducts {
    position: absolute;
    right: 0px;
    background-color: #007BFF;
}
@media screen and (max-width: 768px) {
    .product-input-Popup .product-content .option-setting #submitProducts {
        position: relative;
        right: 0px;
        background-color: #007BFF;
    }
    .product-input-Popup .product-content p {
        font-weight: 700;
        margin-top: 10px;
        margin-bottom: 5px;
        font-size: 1.5vh;
    }

}
.product-input-Popup .product-content #settingPersent {
    padding: 5px 8px;
    border: 1px solid #dddddd;
    width: 50px;
    border-radius: 5px;
    margin: 0px 5px;
}
.product-input-Popup .loading-spinner {
    display: none;
    text-align: center;
    margin-top: 20px;
}
.product-input-Popup .loading-spinner img {
    width: 50px;
    height: 50px;
}
/* 옵션 리스트 컨테이너 */
.option-list-container {
    margin-top: 10px;
    font-size:12px;
}

/* 옵션 리스트 헤더 */
.option-list-header, .option-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-list-header {
    font-weight: bold;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

/* 옵션 리스트 아이템 */
.option-item {
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}

/* 각 열의 고정 너비 */
.option-item .column-product-name,
.option-list-header .column-product-name {
    width: 200px;
    flex-shrink: 0;
}

.option-item .column-consumer-price,
.option-list-header .column-consumer-price {
    width: 100px;
    flex-shrink: 0;
    text-align: right;
    padding-right: 10px;
}

.option-item .column-selling-price,
.option-list-header .column-selling-price {
    width: 100px;
    flex-shrink: 0;
    text-align: right;
    padding-right: 10px;
}

.option-item .column-consumer-price input {
    width: 80px;
    border: 1px solid #dddddd;
    border-radius: 3px;
    text-align: right;
}

@keyframes blink {
    0% { background-color: #e3a74d; }
    50% { background-color: #ffffff; }
    100% { background-color: #e3a74d; }
}

.option-item .column-consumer-price .highlight {
    animation: blink 0.5s ease;
}

/* 체크박스 열 */
.option-item .column-checkbox,
.option-list-header .column-checkbox {
    width: 40px;
    flex-shrink: 0;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .option-list-container {
        width: 100%;
        margin-top: 25px;
        font-size:12px;
    }
    
    .option-item .column-checkbox,
    .option-list-header .column-checkbox {
        width: 15%;
        flex-shrink: 0;
        text-align: center;
    }

    .option-item .column-product-name,
    .option-list-header .column-product-name {
        width: 25%;
        flex-shrink: 0;
    }

    .option-item .column-selling-price,
    .option-list-header .column-selling-price {
        width: 20%;
        flex-shrink: 0;
        text-align: right;
        padding-right: 10px;
    }

    .option-item .column-consumer-price,
    .option-list-header .column-consumer-price {
        width: 40%;
        flex-shrink: 0;
        text-align: right;
        padding-right: 10px;
    }
}

/* 가격 입력 필드 스타일 */
.option-item input[type="text"] {
    width: 80px;
}

/* 옵션 리스트 스크롤 */
.option-list {
    max-height: 200px;          /* 최대 높이 설정 */
    overflow-y: auto;           /* 세로 스크롤 활성화 */
    border: 1px solid #ddd;     /* 옵션 목록 경계선 */
    padding: 10px;
    font-size:12px;
}