﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

/* Select2 높이 통일 */
.select2-container .select2-selection--single {
    height: 38px !important;
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

/* 선택된 텍스트 중앙 정렬 */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 24px;
    padding-left: 0;
}

/* 드롭다운 화살표 위치 조정 */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
    top: 0 !important;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0px;
}

.btn-excel {
    background-color: #25870D;
    color: #fff;
}

.table td {
    padding: 0.5rem;
}


th.bg-light-lg {
    padding: 0.5rem;
    background-color: #f8f9fc !important;
}

.custom-tabs {
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 1rem;
}

    .custom-tabs .nav-link {
        color: #6c757d;
        padding: 0.75rem 1.5rem;
        border: none;
        border-bottom: 3px solid transparent;
        font-weight: 500;
        transition: all 0.2s;
    }

        .custom-tabs .nav-link:hover {
            color: #007bff;
            background-color: #f8f9fa;
            border-bottom: 3px solid #dee2e6;
        }

        .custom-tabs .nav-link.active {
            color: #007bff;
            background-color: transparent;
            border-bottom: 3px solid #007bff;
            font-weight: bold;
        }
.detailPage {
    font-size:14px;
}
    .detailPage select {
        color: #333333;
    }
    .detailPage .form-control-sm:not(.adress,.refundReason,.prevProvider,[type="number"]) {
        max-width: 220px;
        min-width: 140px;
    }
.detailPage .btn-sm{
    min-width:45px;
}

.inline-badge-box {
    font-size: 0.9rem;
    height: 38px;
    padding: 0.25rem 0.75rem; /* py-1 px-3 */
    display: flex;
    align-items: center;
    margin-right: 0.5rem; /* mr-2 */
}

.th-narrow {
    width: 12% !important;
    max-width: 12%;
    min-width: 12%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-lg{
    font-size:100%;
}

.table-sm{
    width:33%;
}

.custom-check-group {
    display: flex;
    flex-wrap: nowrap; /* ✅ 줄바꿈 방지 */
    align-items: center;
    background-color: #5a5c69; /* bg-dark */
    padding: 0;
    border-radius: 0.25rem;
    overflow-x: auto; /* 긴 경우 스크롤 대응 */
}

.custom-check {
    display: flex;
    align-items: center;
    margin-right: 2rem;
    font-weight: bold;
    white-space: nowrap;
    color: white;
    flex-shrink: 0;
}

.custom-box {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    margin-right: 6px;
    border: 2px solid #999;
    background-color: transparent;
    position: relative;
}

    .custom-box.checked {
        background-color: #28a745; /* ✅ 초록색으로 변경 */
        border-color: #28a745;
    }

        .custom-box.checked::after {
            content: "\2713";
            color: white;
            font-size: 13px;
            font-weight: bolder;
            position: absolute;
            top: -3px;
            left: 2px;
        }

.bg-cancel {
    background-color: #f8d7da; /* 연한 빨간색 - Bootstrap danger background */
}

.bg-discount {
    background-color: #d1ecf1; /* 연한 파란색 - Bootstrap info background */
}

.btn-excel.disabled,
.btn-excel[aria-disabled="true"] {
    pointer-events: none;
    opacity: .65;
}