/* Login Page Styles */
body, html {
  background-color: #F9F4E5;
  height: 100%;
  width: 100%;
}

.login-page-container {
  width: 100% !important;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F9F4E5;
  border: none;
}

.login-box {
  width: 100%;
}

.login-container {
  display: flex;
  gap: 20px;
  align-items: center;
}

.login-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.w-full {
  width: 100%;
}

.text-green-800 {
  color: #166534;
}

.text-red-800 {
  color: #991b1b;
}

.text-red-700 {
  color: #b91c1c;
}

#orders-manage .tabContens{
  padding:24px !important;
}

.k-grid-content tbody tr {
  cursor: pointer !important;
}

.k-grid-content tbody tr:hover {
  background-color: #f8f9fa;
}
/* Password validation styles matching index.html */
.password-field-error {
  border-color: #E85953 !important;
  color: #E85953 !important;
}

.password-field-error::placeholder {
  color: #E85953 !important;
}

.password-field-error:focus {
  outline: none !important;
  border-color: #E85953 !important;
  box-shadow: 0 0 0 2px rgba(232, 89, 83, 0.2) !important;
}

.password-field-error:focus::placeholder {
  color: #E85953 !important;
}

.password-field-success {
  border-color: #10b981 !important;
  color: #10b981 !important;
}

.password-field-success:focus {
  outline: none !important;
  border-color: #10b981 !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2) !important;
}



/* Password rule tags styling */
.password-rule-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}

.password-rule-tag-blue {
  background-color: #dbeafe;
  color: #1e40af;
  border: 1px solid #3b82f6;
}

.password-rule-tag-green {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #22c55e;
}

.password-rule-tag-orange {
  background-color: #fed7aa;
  color: #9a3412;
  border: 1px solid #ea580c;
}

/* Rule bar styling */
.rulebar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.5rem;
  background-color: #f8fafc;
  border-radius: 0.375rem;
  border: 1px solid #e2e8f0;
}

/* Password rule loading state */
.password-rule-loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
}

.password-rule-loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #3b82f6;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.password-rule-loading-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e40af;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Password validation styles */
.password-validation-loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.password-validation-success {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #f0f9ff;
  border: 1px solid #0ea5e9;
  border-radius: 0.5rem;
  padding: 0.5rem;
}

.password-validation-success .text-green-800 {
  color: #166534;
}

.password-validation-success-indicator {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
}

.password-validation-success-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #166534;
}

.password-validation-error {
  display: flex;
  flex-direction: column;
  background-color: #fef2f2;
  border: 1px solid #ef4444;
  border-radius: 0.5rem;
  padding: 0.5rem;
}

.password-validation-error .text-red-800 {
  color: #991b1b;
}

.password-validation-error .text-red-700 {
  color: #b91c1c;
}

.password-validation-error-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.password-validation-error-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #991b1b;
}

.password-validation-error-list {
  font-size: 0.75rem;
  color: #b91c1c;
  line-height: 1.2;
  list-style: none;
  padding: 0;
  margin: 0;
}

.password-validation-error-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.125rem;
}

.password-validation-error-indicator {
  width: 4px;
  height: 4px;
  background-color: #ef4444;
  border-radius: 50%;
  flex-shrink: 0;
}



.search-container{
  display: flex;
  flex-direction: row;
  gap: 5px;
  flex-wrap: wrap;
  align-items: end;
  width: 100%;
}


.flex-c-fit{
  display: flex;
  flex-direction: column;
}

.flex-row{
  display: flex;
  flex-direction: row;
  gap: 5px;
  
}
.multi-input-container{
  width: 187px;
  position: relative;
}



#ordersManageShippingOrderNo{
  width:160px;

}




.flex-c-fit > select {
  width: 130px; 
  border-radius: 0px;
  height: 25px !important;
  font-size:11px;
}

.shipping-edit {
  border:1px solid #ddd !important;
  border-radius: 4px !important;
  padding: 5px 10px;
  height: 30px !important;
  width: 100% !important;
}

.flex-c-fit > input:not([type="checkbox"]) {
  width: 150px;
  margin: 0 !important;
  height: 25px !important;
  border-radius: 0;
  font-size: 11px;
}


/* Form validation styles */
.form-control.error {
  border-color: #E85953 !important;
  color: #E85953 !important;
}

.form-control.error:focus {
  outline: none !important;
  border-color: #E85953 !important;
  box-shadow: 0 0 0 2px rgba(232, 89, 83, 0.2) !important;
}
.form-control.error::placeholder{
  color: #E85953 !important;
}

.error-message {
  color: #E85953;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.foldable-header {
  cursor: pointer;
  padding: 10px 15px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  margin-bottom: 0;
}

.foldable-header:hover {
  background-color: #e9ecef;
}

.foldable-header.collapsed {
  background-color: #f8f9fa;
}

.section-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #495057;
}

.foldable-icon {
  float: right;
  margin-top: 2px;
  transition: transform 0.3s ease;
}

.foldable-content {
  padding: 15px;
  border: 1px solid #dee2e6;
  border-top: none;
  /* border-radius: 0 0 4px 4px; */
  background-color: #fff;
}

.foldable-content.collapsed {
  display: none;
}

/* Panel styles */
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

/* Alert styles */
.alert-info {
  background-color: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
}

/* Alert Message - Fold Content Styles */
.alert-fold-container {
  margin-top: 15px;
}

.alert-fold-toggle {
  width: 100%;
  padding: 8px 12px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  color: #495057;
  transition: all 0.2s;
  text-align: left;
}

.alert-fold-toggle:hover {
  background: #e9ecef;
}

.alert-fold-toggle:active {
  background: #dee2e6;
}

.alert-fold-content {
  display: none;
  margin-top: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  max-height: 300px;
  overflow-y: auto;
  font-size: 12px;
  line-height: 1.6;
}

.alert-fold-content::-webkit-scrollbar {
  width: 8px;
}

.alert-fold-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.alert-fold-content::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.alert-fold-content::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Button styles */
.btn {
  margin-left: 5px;
}

.btn:first-child {
  margin-left: 0;
}




/* Expandable Filter Panel */
/* Base Inline Panel */
.expandable-filter-panel {
  width: fit-content;
  height: fit-content;
  background: #fff;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.expandable-filter-panel.expanded {
  max-height: 600px;
  opacity: 1;
  margin-top:5px;
}

.expandable-filter-panel.hidden {
  display: none;
}

.filter-field {
  display: flex;
  flex-direction: column;
}

.filter-label {
  font-size: 11px;
  color: #333;
  font-weight: 600;
}

@keyframes slideDown {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .filter-grid {
    grid-template-columns: 1fr;
  }

  .filter-panel-header {
    font-size: 14px;
  }
}



/* grid heights */
/* Using CSS custom properties for cross-platform consistency */
:root {
  --viewport-height: 100vh;
}

.orders-giveaway-grid,
.orders-status-grid,
.orders-inventory-issue-grid,
.orders-shipment-status-by-item-grid,
.amount-by-order-grid,
.promotion-grid-container,
.scheduler-grid-wrapper
 {
  height: 81%;
  min-height: 600px;
}

/* 남은 공간을 채우는 그리드 (단일 그리드 페이지용) */
.fill-grid {
  flex: 1;
  min-height: 0;
}

.orders-inventory-grid {
  height : 80%;
  min-height : 600px;
}

.fulfillment-grid{
  height: 77%;
  min-height: 600px;
}

.channel-grid{
  height: 92%;
  min-height: 600px;
}

.promotion-detail-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 40% !important;
  min-height: 200px !important;
  width:100% !important;
}
.promotion-gift-grid,
.promotion-product-grid {
 height:90% !important;
}

.content{
    padding: 0 !important;
    /* height: calc(100vh - 70px) !important; */
}

.line-chart-legend{
    display: flex !important;
    gap:5px !important;
    width: 100% !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
}

/* .order-status-box{
    display: flex !important;
    gap:5px !important;
    width: 100% !important;
} */


.admin-section1{
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
}
.section1-box{
    width: 100% !important;
    min-width: 340px !important;
    background:#fff !important;
    border-radius: 10px !important;
}

.inputbox{
     border: 1px solid #d9d9d9 !important;
     background:#fff !important;
     border-radius: 4px !important;
     padding: 0 10px !important;
     height: 32px !important;
     position: relative !important;
     display: flex !important;
     align-items: center !important;
     overflow: visible !important;
 }

.admin-section2{
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
    margin-top: 15px !important;
}

.section2-box{
    width: 100% !important;
    min-width: 340px !important;
    background:#fff !important;
    border-radius: 10px !important;
    border: 1px solid #c7c9ca !important;
    padding: 15px !important;
    overflow: visible !important;
}

.section2-box2{
    width: 100% !important;
    min-width: 340px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    position: relative;
}

.gray-box{
   background:#F6F6F6 !important;
   width: 100% !important;
    margin-top: 10px !important;
   min-height: 300px !important;
   max-height: 300px !important;
   height: 300px !important;
   padding: 12px !important;
   display: flex !important;
   flex-direction: column !important;
   justify-content: space-between !important;
   gap: 10px !important;
  
}

.section2-min-box{
    width: 100% !important;
    background:#fff !important;
    border-radius: 10px !important;
    border: 1px solid #c7c9ca !important;
    padding: 15px !important;
    height: 335px !important;
}


.box-calendar{
    position: relative !important;
    overflow: visible !important;
}
/* Override daterangepicker styles to match dashboard */
.daterangepicker {
    font-family: inherit;
    left: 0 !important;
    top:30px;
    width:252px !important;
}

/* Hide default daterangepicker headers when custom header is used */
.daterangepicker .monthselect,
.daterangepicker .yearselect,
.daterangepicker .drp-buttons {
    display: none !important;
}

.daterangepicker .drp-calendar .calendar-table thead tr:first-child {
    display: none !important;
}

/* Force single month view - hide the second calendar */
.daterangepicker .calendar.right {
    display: none !important;
}

.daterangepicker .calendar.left {
    margin: 0 auto;
}

.daterangepicker .ranges li.active {
    background-color: #1976d2;
    color: white;
}

.daterangepicker .drp-buttons .btn {
    font-size: 12px;
    padding: 4px 12px;
}

.daterangepicker .drp-buttons .btn-primary {
    background-color: #000;
}

/* Promotion Calendar Styling */
.calendar-shell {
    position: relative;
}

.dropdown-menu {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 1px solid #ddd;
}

.dropdown-item:hover {
    background-color: #f8f9fa !important;
}

#promo-calendar-table td {
    cursor: pointer;
    transition: background-color 0.2s;
}

#promo-calendar-table td:hover {
    background-color: #f0f0f0;
}

#promo-calendar-table td.info {
    background-color: #d1ecf1;
    color: #0c5460;
}

#promo-calendar-table td.success {
    background-color: #d4edda;
    color: #155724;
}

#promo-calendar-table td.warning {
    background-color: #fff3cd;
    color: #856404;
}

.banner {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.banner:hover {
    opacity: 0.8;
}

.banner1 {
    background-color: #0B5152;
    color: #fff;
}

.banner2 {
    background-color: #CDB490;
    color: #fff;
}

/* Donut Chart Styling */
.donut-chart-container {
    position: relative;
    display: inline-block;
}

.donut-chart-label-top {
    font-size: 18px;
    font-weight: bold;
    fill: #0B5152;
}

.donut-chart-label-bottom {
    font-size: 14px;
    fill: #0B5152;
}

/* Radio button styling for order status */
.radio-inline {
    margin-right: 15px;
    margin-bottom: 5px;
}

.radio-inline input[type="radio"] {
    margin-right: 5px;
}

.radio-inline label {
    font-size: 11px;
    font-weight: normal;
    cursor: pointer;
}

/* Simple Bar Chart Styling */
.simple-bar-chart-container {
    position: relative;
    width: 100%;
}

.barChart {
    position: relative;
    width: 100%;
}

.barChart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.barChart-bar {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.barChart-barFill {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: height 0.3s ease;

}

.barChart-value {
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
}

.barChart-value--inside {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.barChart-bar:hover {
    opacity: 0.8;
    cursor: pointer;
}

/* Sidebar icon styling */
.x-navigation img {
    vertical-align: middle;
    display: inline-block;
}

/* Smooth transitions for sidebar */
.page-sidebar {
    transition: width 0.3s ease;
    min-height: 100vh !important;
}

/* Hide sidebar before it's fully built */
.page-sidebar.preload {
    visibility: hidden;
    opacity: 0;
}

.page-sidebar.ready {
    visibility: visible;
    opacity: 1;
    transition: width 0.3s ease;
}

.page-content {
    transition: margin-left 0.3s ease;
}

/* Disable transitions during initial load */
.page-content.no-transitions {
    transition: none !important;
}

.x-navigation .xn-text {
    transition: opacity 0.3s ease;
}


/* Ensure proper spacing for collapsed sidebar */
.page-container.page-container-wide .x-navigation img {
    margin-right: 0;
    display: block;
    margin: 0 auto;
}

.page-container.page-container-wide .x-navigation li>a {
    text-align: center;
    padding: 15px 5px;
}

/* Hide submenu arrows in collapsed state */
.page-container.page-container-wide .x-navigation .xn-openable:before {
    display: none;
}

/* Hide submenus in collapsed state */
.page-container.page-container-wide .x-navigation .xn-openable>ul {
    display: none !important;
}

/* Center the collapse button in collapsed state */
.page-container.page-container-wide .x-right {
    text-align: center;
    width: 100%;
}

/* Ensure the collapse button is visible and properly positioned */
.page-container.page-container-wide .x-right a {
    display: block;
    text-align: center;
    padding: 10px;
}

.page-container.page-container-wide .x-right img {
    margin: 0 auto;
    display: block;
}

/* Platform Select Styling in Admin */
#channel-platform-select .default-select,
#sales-summary-platform-select .default-select {
    width: 100% !important;
    height: 30px !important;
}

#channel-platform-select .select-control,
#sales-summary-platform-select .select-control {
    /* height: 30px !important; */
    font-size: 11px !important;
    background: #fff !important;
}

#channel-platform-select .select-label,
#sales-summary-platform-select .select-label {
    font-size: 11px !important;
    color: #000 !important;
}

#channel-platform-select .select-arrow,
#sales-summary-platform-select .select-arrow {
    width: 12px !important;
    height: 12px !important;
}

#channel-platform-select .select-dropdown,
#sales-summary-platform-select .select-dropdown {
    z-index: 9999 !important;
    border: 1px solid #848993 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

#channel-platform-select .select-option,
#sales-summary-platform-select .select-option {
    padding: 6px 8px !important;
    font-size: 11px !important;
}

/* Promotion Calendar Styling */
.promotion-calendar-trigger {
    transition: border-color 0.2s ease !important;
}

.promotion-calendar-trigger:hover {
    border-color: #0B5152 !important;
}

.promotion-calendar-trigger:focus {
    outline: none !important;
    border-color: #0B5152 !important;
    box-shadow: 0 0 0 2px rgba(11, 81, 82, 0.2) !important;
}

/* Ensure the promotion calendar fits in its container */
#promotion-calendar-container {
    width: 100% !important;
    max-width: 100% !important;
    /* display: none !important; */
    position:relative;
}
#promotion-calendar-container > div > div.drp-calendar.right { 
    display: none !important;
}
/* Custom header styling for promotion calendar */
#promotion-calendar-container .cr-header {
    padding: 0 !important;
    width: 100% !important;
    /* border: 1px solid #dee2e6 !important; */
    height: 20px !important;

    /* background: #f8f9fa !important; */
    /* border-bottom: 1px solid #dee2e6 !important; */
}
#promotion-calendar-container > div > div.drp-buttons {
    display: none !important;
}
#promotion-calendar-container .cr-prev,
#promotion-calendar-container .cr-next {
    color: #0B5152 !important;
}

#promotion-calendar-container .cr-prev:hover,
#promotion-calendar-container .cr-next:hover {
    background-color: #e9ecef !important;
    color: #000 !important;
}
.table-condensed{
    width: 100% !important;
}

.daterangepicker.openscenter:before,
.daterangepicker.openscenter:after
{
    display: none !important;
}
#promotion-calendar-container .daterangepicker .calendar-table thead tr:first-child {
        display: none !important;
}

#promotion-calendar-container .drp-calendar.left {
    width: 100% !important;
    padding: 0 !important;
}


/* Force promotion calendar to always be visible */
#promotion-calendar-container .daterangepicker {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 226px !important;
    padding: 0 !important;
}



#promotion-calendar-container .daterangepicker .drp-calendar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 250px !important;
    width: 100% !important;

}

/* Hide the invisible input */
#promotion-calendar-container input[style*="opacity: 0"] {
    display: none !important;
}

/* Search dropdown styles */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.search-dropdown.hidden {
    display: none !important;
}

.search-result-item {
    padding: 10px 15px;
    cursor: pointer !important;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item .result-text {
    font-size: 14px;
    color: #333;
}

.search-result-item .result-category {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.search-result-item.highlighted {
    background-color: #e3f2fd;
}

/* Search input positioning - minimal changes */
.xn-search {
    position: relative;
}





.toolbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom : 5px;
}

.orderMng-toolbar{
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.orderMng-toolbar-span {
  font-size: 11px;
  font-weight: 700;
}

/* Dashboard Styles - Moved from inline styles */
.rank-row-last {
  border-bottom: none !important;
}

.dashboard-empty-data-container {
  padding: 40px 20px;
}

.dashboard-empty-data-text {
  font-size: 14px;
}

.order-status-cake-chart-container {
  text-align: center;
}

.order-status-tooltip {
  position: absolute;
  top: 90px;
  left: 50%;
  width: 300px;
  transform: translateX(-50%);
  margin-top: 8px;
  z-index: 20;
  width: fit-content;
}

.order-status-tooltip-arrow-container {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
}

.order-status-tooltip-arrow {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid rgba(250, 198, 211, 0.5);
}

.order-status-tooltip-content {
  background: rgba(250, 198, 211, 0.5);
  color: #374151;
  border-radius: 4px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 8px 24px;
}

.order-status-tooltip-row {
  display: flex;
  justify-content: center;
  align-items: center;

  /* gap: 15px; */
  font-size: 14px;
  font-weight: 500;
}

.order-status-tooltip-item {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 100px;
}

.order-status-tooltip-label {
  color: #5D6169;
  font-size: 12px;
}

.order-status-tooltip-value {
  color: #F64E60;
  font-weight: bold;
}

.dashboard-select-fallback {
  height: 30px !important;
  font-size: 11px !important;
  border: 1px solid #848993 !important;
}

.barChart-wrapper {
  height: 220px;
}

.barChart-bars-container {
  height: 220px;
  display: flex;
  align-items: flex-end;
}

.barChart-bar-base {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.barChart-barFill-base {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.barChart-value-inside {
  color: white;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
}

.barChart-value-outside {
  color: #5D6169;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  margin-top: 2px;
}

.cake-chart-wrapper {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
}

.cake-chart-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  pointer-events: none;
  z-index: 1000;
  display: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.cake-chart-tooltip.visible {
  display: block;
}

.cake-chart-legend {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
}

.cake-legend-item {
  display: flex;
  align-items: center;
  gap: 3px;
  text-align: left;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.cake-legend-item:hover {
  background-color: #f5f5f5;
}

.cake-legend-color-box {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}

.cake-legend-label {
  color: #5D6169;
}

.cake-legend-label strong {
  color: #222;
}

.promotion-banner-empty {
  padding: 20px;
}

.promotion-banner-base {
  margin-bottom: 10px;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
}

.promotion-banner-date {
  font-size: 13px;
  color: #fff;
}

.promotion-banner-name {
  font-size: 13px;
}

.dashboard-box-relative {
  position: relative;
  overflow: visible;
}

.daily-toggle-active {
  color: #222 !important;
  background: #fff !important;
}

.daily-toggle-inactive {
  color: #5D6169 !important;
  background: transparent !important;
}

.monthly-toggle-active {
  color: #222 !important;
  background: #fff !important;
}

.monthly-toggle-inactive {
  color: #5D6169 !important;
  background: transparent !important;
}

/* Dashboard HTML Styles - Moved from inline styles */
.section-wrap-block {
  display: block;
}

.admin-section2-max-height {
  max-height: 600px;
}

.dashboard-header-bold {
  font-weight: bold;
}

.dashboard-header-bold-height {
  font-weight: bold;
  height: 30px;
}

.flex-row-gap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-date-input {
  width: 100%;
  height: 30px;
}

.dashboard-date-input-full {
  width: 100%;
}

.b1-gray-white-bg {
  background: #fff;
}

.dashboard-loading-message {
  padding: 20px;
}

.dashboard-bar-chart-container {
  height: 220px;
  margin-top: 20px;
}

.dashboard-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-select-container {
  width: 160px;
  height: 30px;
}

.dashboard-full-width {
  width: 100%;
}

.dashboard-text-bold {
  font-weight: bold;
}

.period-toggle-container {
  display: flex;
  align-items: center;
  width: 121px;
  background: #E8E8E8;
  border-radius: 4px;
  padding: 2px;
  height: 30px;
  margin-left: auto;
}

.period-toggle-base {
  flex: 1;
  height: 96%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
}

.period-toggle-text {
  font-size: 14px;
  font-weight: 500;
}

.dashboard-chart-container {
  height: 200px;
  position: relative;
  margin-top: 10px;
}

.dashboard-promotion-calendar-container {
  width: 100%;
  position: relative;
}

.dashboard-box-header-spacing {
  margin-bottom: 10px;
}



.setproduct-grid, .setproduct-item-grid{
  height: 100%;
  min-height: 600px;
}

.setProduct-gridContainer {
  gap : 10px;
}

.setProduct-gridContainer > .flex-col {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}


/* order detail modal common */

.order-detail-label {
  font-size: 12px;
  color: #727272;
  font-weight: 700;
  min-width: 110px;
}


 .order-detail-data {
  font-size: 12px;
  color: #000;
  font-weight: 500;
}

.detail-field {
  display: flex;
  gap : 10px;
  align-items: center;
  padding : 1px 0;
}

.detail-section {
  margin-top: 5px;
}
/* .detail-section-header:first-child {
  margin-top: 10px;
 } */
.detail-section-header {
  background: #F2F3F7;
  padding: 4px 20px;
  margin-inline: 10px;
  display: flex;
  align-items: center;
  border-radius: 8px 8px 0 0;
  justify-content: space-between;
  /* align-items: center; */
  /* border-bottom: 1px solid #e0e0e0; */
}



.detail-section-body {
  padding: 7px 20px;
  background: #fff;
  height: fit-content;
}

.detail-section-body-grid {
  padding : 10px;
}



.order-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 60px;
}

.order-modal-detail {
  display : grid;
  row-gap: 12px;
}

.grid-cols-4 {
  display : grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 30px;
}
.grid-cols-3 {
  display : grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
}
.grid-cols-2 {
  display : grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 30px;
}

.col-span-3 {
  grid-column: span 3;
}
.col-span-2 {
  grid-column: span 2;
}

.toggle-icon,
.b2b-toggle-icon {
  transition: transform 0.3s;
   font-size: 12px;
    cursor: pointer;
}

.toggle-icon.rotated,
.b2b-toggle-icon.rotated {
  transform: rotate(180deg);
}


#orderDetailModal .modal-body, 
#b2bOrderDetailModal .modal-body, 
#orderDetailModalCommon .modal-body, 
#orderStatusDetailModal .modal-body, 
#b2bOrderStatusDetailModal .modal-body, 
#ordersGiveawayDetailModal .modal-body {
  padding: 0;
  background: #fff;
  height: calc(100% - 250px);
  min-height: 500px;
  max-height: 800px;
}

#ordersStatusDetailModal .modal-body {
  height: calc(100% - 250px);
  min-height: 500px;
  max-height: 800px;
}





.order-detail-modal-header {
  display: flex;
   justify-content: center;
   align-items: center; 
   width: 100%;

}



.order-status-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 5px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  margin: 0 auto;
  width: 74px;
}


.rulebar {
  display:flex; 
  flex-wrap:wrap;
  gap:4px;
}

#passwordChangeModal > .password-rule-title {
  margin-bottom:4px; 
  font-weight:600;
   font-size:11px; 
   color:#1e40af;
}
#passwordChangeModal > .password-rule-display {
  display:none;
   background-color:#eff6ff; 
   border-bottom:1px solid #bfdbfe; 
   padding:12px 8px;
}

/* Password rule display styles (for users modal and other modals) */
.password-rule-display {
  background-color: #eff6ff;
  border-bottom: 1px solid #bfdbfe;
  padding: 12px 8px;
}

.password-rule-title {
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 11px;
  color: #1e40af;
}

.password-rule-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.loginBtn{
  width:100%;
  background-color:#F9F4E5;
  color:#000; 
  font-weight:600; 
  border-radius:30px;
  height:30px; 
  width:100%;
  margin-top:15px;
}

#loginForm > .remember-checkbox {
  display:flex;
  align-items:center;
  gap:5px;
}
.login-right-image-box{
  flex:1;
}

.login-right-image{
  object-fit:cover;
   height:450px;
  width:100%;
  border-radius:10px;
  margin:0 auto;
}

.flex-row-gap-8{
  display: flex; 
  align-items:center; 
   gap: 8px;
}

.detail-section-title{
  font-weight: 600; 
  color: #333; 
  font-size: 14px;
}

.login-input-box{
  font-size:11px;
  height:25px;
  color:#000;
  border-color:#000;
}
.login-panel{
  max-width:700px;
  width:100%;
  box-shadow:0 0 10px rgba(0,0,0,0.2); 
  border-radius:10px;
  overflow:hidden;
  border:none;
}

.product-yellow-box{
  display:none; 
  margin-top: 10px;
}

.flex-between-center{
  display:flex; 
  justify-content:space-between;
   align-items:center;
}



.selected-text{
  font-style: italic;
  font-size:14px;
   color:#000; 
   margin:0;
   margin-top: 4px;
}

.p-10{
  padding:10px;
}

.p-4 {
  padding: 4px;
}

.pb-4 {
  padding-bottom: 4px;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.section-title-small {
  font-size: 11px;
  padding-bottom: 4px;
}

.section-hidden {
  display: none;
}

input[type="checkbox"]{
  accent-color:#000;
}

.sub-title{
  font-size: 17px;
  font-weight: 700;
}

/* Warehouse form styles */
.dropdown-relative {
  position: relative;
  display: inline-block;
}

.hidden {
  display: none !important;
}

.text-right {
  text-align: right;
}

.warehouse-form-divider {
  border-bottom: 1px solid #ddd;
  padding-bottom: 6px;
}

.warehouse-form-label {
  padding-right: 10px;
  vertical-align: text-top;
  font-weight: 700;
}

.warehouse-checkbox {
  transform: scale(1.2);
  transform-origin: left center;
  margin-right: 6px;
}

/* Utility classes for common styles */
.h-full {
  height: 100%;
}

.position-relative {
  position: relative;
}

.w-80 {
  width: 80px;
}

.h-30 {
  height: 30px;
}

.w-160 {
  width: 160px;
}
.w-170 {
  width: 170px;
}

.w-180 {
  width: 180px;
}

.w-190 {
  width: 190px;
}

.w-120 {
  width: 120px;
}

.w-800 {
  width: 90%;
}

.w-16 {
  width: 16px;
}

.h-16 {
  height: 16px;
}

.h-300 {
  height: 300px;
}

.mt-15 {
  margin-top: 15px;
}

.flex-row-gap-10 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-control-sm {
  font-size: 12px;
  height: 30px;
  padding: 5px 10px;
}

.text-red-500 {
  color: #ef4444;
}

.max-h-full {
  max-height: 100%;
}

.cursor-pointer {
  cursor: pointer;
}

.h-200 {
  height: 200px;
}

.grid-col-full {
  grid-column: 1 / -1;
}

.absolute-left-20 {
  position: absolute;
  left: 20px;
}

.absolute-right-20 {
  position: absolute;
  right: 20px;
}

.top-10 {
  top: 10px;
}

.modal-title-white {
  font-weight: 600;
  color: #fff;
  margin: 0;
  font-size: 16px;
}

.close-white {
  color: #fff;
  opacity: 0.8;
  font-size: 28px;
}

.close-white:hover {
  opacity: 1;
}

.modal-footer-default {
  border-top: 1px solid #e0e0e0;
  padding: 5px 10px;
  text-align: right;
  background: #fff;
}

.btn-padding-default {
  padding: 8px 24px;
}

.mr-8 {
  margin-right: 8px;
}

.required-mark {
  color: red;
  margin-left: 2px;
  font-size: 12px;
}

/* Order Detail Modal specific styles */
#orderDetailModal .close {
  text-shadow: none;
}

#orderDetailModal .close:hover {
  opacity: 1;
}

.shipping-edit.form-control {
  border: 1px solid #ddd;
  border-radius: 4px;
}

.shipping-edit.form-control:focus {
  border-color: #000;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

#detail-shippingCountry {
  width: 100% !important;
}

.w-49 {
  width: 49%;
}

.mt-18 {
  margin-top: 18px;
}

.mt-20 {
  margin-top: 20px;
}

.gap-4 {
  gap: 4px;
}

.flex-row-gap-4 {
  display: flex;
  gap: 4px;
  align-items: center;
}

.text-italic {
  font-style: italic;
}

.text-black {
  color: black;
}

.fs-11 {
  font-size: 11px;
}

.fs-14 {
  font-size: 14px;
}

.selected-item-text {
  font-style: italic;
  font-size: 14px;
  color: #000;
  margin: 0;
  margin-top: 4px;
}

/* Selected Product Item Styles */
.selected-product-item {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 16px;
}

.selected-product-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 4px;
}

.selected-product-info {
  flex: 1;
}

.selected-product-name {
  font-weight: 600;
  color: #000;
  font-size: 11px;
  margin: 0;
}

.selected-product-sku {
  font-size: 11px;
  color: #000;
  margin: 0;
}
.selected-product-info {
  font-size: 11px;
  color: #000;
  margin: 0;
}

.remove-product {
  padding: 6px;
  color: #9ca3af;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
}

.remove-product:hover {
  background-color: #f3f4f6;
}

.product-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.product-form-label {
  font-weight: bold;
  color: #000;
  font-size: 11px;
  display: block;
}

.product-form-input {
  font-size: 11px;
  height: 25px;
  width: 100%;
  border: 1px solid #848993;
  padding: 0 8px;
}

.product-badges-container {
  padding-top: 10px;
  border-top: 1px solid #f3f4f6;
}

.product-badges-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.item-type-badge {
  padding: 4px 8px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 500;
}

.item-type-badge-gift {
  background: #fce7f3;
  color: #be185d;
}

.item-type-badge-cs {
  background: #fed7aa;
  color: #ea580c;
}

.item-type-badge-order {
  background: #dbeafe;
  color: #1d4ed8;
}

.badge-gift-wrap {
  padding: 4px 8px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 500;
  background: #dcfce7;
  color: #166534;
}

.badge-engraving {
  padding: 4px 8px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 500;
  background: #f3e8ff;
  color: #7c3aed;
}

.foldable-toggle-rotated img:last-child {
  transform: rotate(180deg);
}

.foldable-toggle-normal img:last-child {
  transform: rotate(0deg);
}

/* Common Order Detail Modal Styles */
.order-common-detail-modal-header {
  position: relative;
  background: #000;
  color: #fff;
  border-bottom: none;
  justify-content: center;
}

.order-common-detail-modal-header-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#orderDetailModalCommon .close {
  text-shadow: none;
  position: absolute;
  right: 20px;
  top: 10px;
  color: #fff;
  opacity: 0.8;
  font-size: 28px;
}

#orderDetailModalCommon .close:hover {
  opacity: 1;
}

.common-detail-modal-platform {
  position: absolute;
  left: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  font-size: 16px;
}

.common-detail-modal-order-no {
  font-weight: 600;
  color: #fff;
  margin: 0;
  font-size: 16px;
}

.orderCommonDetailItemsGrid .k-grid-content tbody tr {
  cursor: default !important;
}

.orderCommonDetailItemsGrid .k-grid-content tbody tr:hover {
  background-color: #f5f5f5;
}

.common-action-btn:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

/* Custom MultiSelect Styles */
.custom-multiselect {
  position: relative;
  display: inline-block;
  width: 150px;
}

.multiselect-control {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.multiselect-button {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border: none;
  font-size: 11px;
  color: #000;
  background: white;
  cursor: pointer;
  transition: background-color 0.2s;
}

.multiselect-button:hover:not(.disabled) {
  background-color: #f9f9f9;
}

.multiselect-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.multiselect-button.error {
  border-color: #E85953;
}

.multiselect-text {
  font-size: 11px;
  color: #000;
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.multiselect-arrow {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

.multiselect-arrow.open {
  transform: rotate(180deg);
}

.multiselect-dropdown {
  position: absolute;
  top: 27px;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  z-index: 50;
  max-height: 240px;
  overflow-y: auto;
}

.multiselect-dropdown.open {
  display: block !important;
}

.multiselect-options {
  padding: 4px 0;
}

.multiselect-option {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  cursor: pointer;
  color: #5D6169;
  border-bottom: 1px solid #F4F4F4;
  transition: background-color 0.2s;
}

.multiselect-option:hover {
  background-color: #f5f5f5;
}

.multiselect-option.selected {
  background-color: #E1FFF6;
}

.multiselect-option-text {
  font-size: 11px;
}

.multiselect-no-options {
  background: #fff;
  padding: 8px;
  font-size: 11px;
  color: #999;
  text-align: center;
}

/* Grid Column Picker Styles */
.ccp-panel {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 200px;
  overflow: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.ccp-head {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.ccp-head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
}

.ccp-title {
  font-weight: 600;
  font-size: 12px;
}

.ccp-all-label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ccp-foot {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #eee;
}

.ccp-foot-inner {
  display: flex;
  gap: 8px;
  padding: 6px 8px;
  justify-content: flex-end;
}

.ccp-item {
  padding: 6px 8px;
}

.ccp-item-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* Overlay and spinner styles */
.overlay,
.spinner,
.modal-backdrop {
  pointer-events: none !important;
}

.k-grid {
  position: relative;
}

/* Navigation header styles */
.x-navigation-header {
  height: 80px;
  background: #000;
}

/* Profile button styles */
.profile-btn {
  border: none;
  background: none;
}

/* Welcome text styles */
.welcome-text {
  padding: 14px 10px;
  font-size: 14px;
}

.text-black {
  color: #000000;
}

/* View container styles */
.view-container {
  height: calc(100vh - 80px);
  width: 100%;
}

/* Loader styles */
.loader {
  display: none;
  position: fixed;
  right: 8px;
  top: 8px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
}


/* Add Product Modal Styles */
.product-modal-dialog {
  max-width: 1000px;
}

.gap-16 {
  gap: 16px;
}

.gap-28 {
  gap: 28px;
}

.gap-8 {
  gap: 8px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.flex-end {
  display: flex;
  justify-content: flex-end;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-end-end {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.product-form-label {
  font-weight: bold;
  color: #000;
  font-size: 11px;
  display: block;
}

.product-form-input {
  font-size: 11px;
  height: 25px;
  width: 100%;
  border: 1px solid #848993;
  padding: 0 8px;
}

.summary-box {
  background: white;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px;
}

.summary-box-label {
  color: #000;
  font-size: 11px;
  font-weight: 500;
}

.summary-box-value {
  font-size: 11px;
  font-weight: 600;
  color: #000;
}

.error-messages-container {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
  margin-top: 10px;
  padding: 0 10px;
}

.error-message-product {
  font-size: 10px;
  color: #ef4444;
  text-align: right;
  width: 100%;
  display: none;
}

.add-button-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
  padding: 0 10px;
}

.btn-add-product {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 11px;
}

.foldable-header-custom {
  width: 100%;
  padding: 4px 10px;
  border-radius: 8px 8px 0 0;
  background: #F2F3F7;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.foldable-toggle-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  text-align: left;
  color: #000;
  font-size: 14px;
  background: none;
  border: none;
  cursor: pointer;
}

.foldable-toggle-icon {
  margin-right: 8px;
}

.product-count-badge {
  background: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 9999px;
  margin-left: auto;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 384px;
  color: #9ca3af;
}

.empty-state-text {
  font-size: 11px;
  font-weight: 500;
  margin-top: 10px;
  margin-bottom: 0;
}

.empty-state-subtext {
  font-size: 11px;
  margin: 0;
}

.selected-products-list {
  display: none;
  width: 100%;
}

.order-summary {
  display: none;
  background: #F9F4E5;
  border: 1px solid #beb9aa;
  border-radius: 4px;
  width: 100%;
  padding: 16px;
  margin-top: 16px;
}

.order-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.order-summary-title {
  font-size: 11px;
  font-weight: 600;
  color: #000;
  margin: 0;
}

.order-summary-badge {
  background: #000;
  color: white;
  padding: 4px 8px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 500;
}

.order-summary-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}

.order-summary-label {
  color: #000;
}

.order-summary-label-bold {
  color: #000;
  font-weight: 500;
}

.order-summary-value {
  font-weight: 600;
  color: #000;
}

.order-summary-value-bold {
  font-weight: bold;
  font-size: 11px;
  color: #000;
}

.modal-footer-custom {
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
}

/* Order Change Item Modal Styles */
.modal-content-custom {
  /* border: 1px solid #ddd; */
  top: 65px;
  background-color: white;
}

.selectedItemGroup {
  margin-top: 10px;
}

.selected-item-text-custom {
  font-style: italic;
  font-size: 14px;
  color: #000;
  margin: 0;
  margin-top: 4px;
}

/* Tab functionality styles */
.order-status-tab-buttons {
  display: flex;
  border-bottom: 1px solid #ccc;
}

.order-status-tab-buttons button {
  flex: 1;
  padding: 8px 12px;
  cursor: pointer;
  background: #f5f5f5;
  border: none;
  border-right: 1px solid #ccc;
  font-weight: bold;
}

.order-status-tab-buttons button:last-child {
  border-right: none;
}

.order-status-tab-buttons button.active {
  background: #fff;
  border-bottom: 2px solid #007bff;
  color: #007bff;
}

/* 탭 컨텐츠 컨테이너 - 항상 표시 */
.tab-content-container {
  display: block;
  padding: 10px 0;
}

/* 개별 탭 패널 컨테이너 - 기본적으로 숨김 */
.tab-panel-container {
  display: none;
  padding: 10px 0;
}

/* 활성 탭 패널만 표시 */
.tab-panel-container.active {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 각 탭별 특정 스타일 */
#change-tab-container.active {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#add-tab-container.active {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#delete-tab-container.active {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Orders Manage Page Styles */
.w-fit-content {
  width: fit-content;
}

.px-16 {
  padding-left: 16px;
  padding-right: 16px;
}

.px-3 {
  padding-left: 3px;
  padding-right: 3px;
}

.w-100 {
  width: 100px;
}

.h-25 {
  height: 25px;
}

.toolbarleft {
  display: flex;
  gap: 4px;
}

/* Promotion Page Styles */
.promotion-row-selected-active {
  background-color: #e3f2fd !important;
  border-left: 3px solid #2196f3 !important;
}

.promotion-row-selected-expired {
  background-color: #e8e8e8 !important;
  border-left: 3px solid #9e9e9e !important;
  opacity: 0.5 !important;
  color: #9e9e9e !important;
}

.expired-promotion-row {
  opacity: 0.5;
  background-color: #f5f5f5;
  color: #9e9e9e;
}

.use-yn-badge {
  display: inline-block;
  padding: 7px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.use-yn-active {
  background-color: #B2E3F7;
  color: #023471;
}

.use-yn-inactive {
  background-color: #F8B4B4;
  color: #BE0000;
}

/* Orders Collection Page Styles */
.flex-end-gap-10 {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.w-200 {
  width: 200px;
}

/* Product Page Styles */
.w-130 {
  width: 130px;
}

.w-70 {
  width: 70px;
}

.mr-4 {
  margin-right: 4px;
}

.dims-input-group {
  display: flex;
}

.dims-input {
  width: 70px;
  margin-right: 4px;
}

/* Fulfillment grid styles */
#fulfillmentGrid .k-grid-content tbody tr {
  cursor: pointer !important;
}

#fulfillmentGrid .k-grid-content tbody tr:hover {
  background-color: #f8f9fa;
}

/* Orders shipment status by item grid styles */
#orders-shipment-status-by-item-grid .k-grid-content tbody tr {
  cursor: pointer !important;
}

#orders-shipment-status-by-item-grid .k-grid-content tbody tr:hover {
  background-color: #f8f9fa;
}

/* Orders report grid styles */
#ordersReportGrid .k-grid-content tbody tr {
  cursor: pointer !important;
}

#ordersReportGrid .k-grid-content tbody tr:hover {
  background-color: #f8f9fa;
}

/* Multi-input popup styles */
.multi-input-popup {
  display: none;
  position: absolute;
  z-index: 1000;
  background: white;
  border: 1px solid #ccc;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.multi-input-textarea {
  width: 300px;
  height: 100px;
  resize: none;
}

.multi-input-buttons {
  margin-top: 10px;
}

.mt-10 {
  margin-top: 10px;
}

.mr-5 {
  margin-right: 5px;
}

/* Dropdown menu styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdownExcelMenu {
  display: block;
}



.input-group-addon {
  cursor: pointer;
}

/* Promotion calendar styles */
.promotion-calendar-invisible-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  border: none;
  background: transparent;
}
.promotion-calendar-picker-container {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
}
.cr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 8px 12px;
}

.cr-prev,
.cr-next {
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.cr-prev:hover,
.cr-next:hover {
  background-color: #e9ecef;
}

.cr-controls {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Search Select Component Styles */
.search-select-container {
  position: relative;
  width: 100%;
}

.search-select-control {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 30px;
  height: 30px;
  width: 100%;
  border: 1px solid #848993;
  font-size: 12px;
  color: #000;
  background: white;
  cursor: pointer;
  opacity: 1;
}

.search-select-control.error {
  border-color: #E85953;
}

.search-select-control.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.search-select-value {
  flex: 1;
  height: 100%;
  padding: 5px 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.search-select-display {
  color: #D5D7D7;
}

.search-select-display.error {
  color: #E85953;
}

.search-select-display.has-value {
  color: #000;
}

.search-select-input {
  display: none;
  width: 100%;
  height: 100%;
  font-size: 12px;
  color: #000;
  outline: none;
  border: none;
  background: transparent;
}

.search-select-control.open .search-select-input {
  display: block;
}

.search-select-control.open .search-select-display {
  display: none;
}

.search-select-arrow {
  padding: 4px 8px;
}

.search-select-arrow img {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

.search-select-control.open .search-select-arrow img {
  transform: rotate(180deg);
}

.search-select-menu {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #848993;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
}

.search-select-menu.open {
  display: block;
}

.search-select-empty {
  padding: 8px;
  font-size: 11px;
  color: #6B7280;
  text-align: center;
}

.search-select-option {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  min-height: 25px;
  display: flex;
  align-items: center;
  background: #fff;
  color: #000;
}

.search-select-option.active {
  background: #000;
  color: #fff;
}

/* Channel Page Styles */
.footer {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 10px;
}

.channel-icons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 10px;
  max-height: 500px;
  overflow-y: auto;
}

.channel-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #b9bdc4;
  border-radius: 4px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 120px;
}

.channel-icon-item:hover {
  background-color: #f0f8ff;
  box-shadow: 0 2px 8px rgba(42, 73, 125, 0.2);
}

.channel-icon-item.selected {
  border-color: #2A497D;
  background-color: #f0f8ff;
  border-width: 1px;
}

.channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  margin-bottom: 10px;
}

.channel-icon img {
  max-width: 120px;
  max-height: 45px;
  object-fit: contain;
}

.channel-name {
  font-size: 14px;
  font-weight: bold;
  color: #2A497D;
  text-align: center;
}

.channel-label {
  font-size: 12px;
  font-weight: 600;
  color: #2A497D;
  text-align: center;
  margin-top: 5px;
}

/* Form Section Styling - Matching React/Tailwind Design */
.form-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-bottom: 10px;
  padding: 0;
  border: none;
  background: none;
}

.section-header {
  width: 100%;
  display: flex;
  gap: 4px;
  align-items: center;
}

.section-header-icon {
  display: flex;
  gap: 8px;
  align-items: center;
}

.section-header-title {
  font-size: 14px;
  color: #000;
  font-weight: 600;
  white-space: nowrap;
}

.section-header-line {
  width: 100%;
  height: 1px;
  background-color: #C7C9CA;
  margin-left: 20px;
}

.section-content {
  display: flex;
  gap: 10px;
  width: 100%;
  flex-wrap: wrap;
}

.form-field {
  width: 200px;
}

.form-field-small {
  width: 150px;
}

.form-field-time {
  width: 180px;
  min-width: 180px;
}

.form-label {
  font-weight: bold;
  color: #000;
  font-size: 11px;
  display: block;
  margin-bottom: 4px;
}

.form-input {
  font-size: 11px;
  height: 25px;
  width: 100%;
  border: 1px solid #848993;
  padding: 0 8px 0 8px;
  color: #000;
  background: white;
  outline: none;
}

.form-input:focus {
  border-color: #000;
}

.form-input::placeholder {
  color: #D5D7D7;
}

/* Error styling for validation */
.form-input.error-field {
  border-color: #E85953 !important;
  color: #E85953 !important;
}

.form-input.error-field::placeholder {
  color: #E85953 !important;
}

.form-input.error-field:focus {
  border-color: #E85953 !important;
  box-shadow: 0 0 0 1px #E85953 !important;
}

.time-selector-input.error-field {
  border-color: #E85953 !important;
}

.time-selector-input.error-field input {
  color: #E85953 !important;
}

.time-selector-input.error-field input::placeholder {
  color: #E85953 !important;
}

.form-label.error-label {
  color: #E85953 !important;
}

/* Error styling for radio groups and containers */
.radio-group.error-field {
  border: 1px solid #E85953 !important;
  border-radius: 4px;
  padding: 4px;
}

.form-field-time.error-field {
  border: 1px solid #E85953 !important;
  border-radius: 4px;
  padding: 4px;
}

#autoCollectTimeContainer.error-field {
  border: 1px solid #E85953 !important;
  border-radius: 4px;
  padding: 4px;
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #000;
  font-size: 11px;
}

.radio-item input[type="radio"] {
  accent-color: #0B5152;
  font-size: 11px;
}

.time-selector {
  position: relative;
  width: 180px;
  min-width: 180px;
}

/* .time-selector-input {
  border: 1px solid #000;
} */

.time-selector-input input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #000;
  font-family: monospace;
  font-size: 11px;
}

.connection-button {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  padding: 0 10px;
  height: 25px;
  font-weight: 500;
  background: #000;
  color: white;
  border: none;
  border-radius: 4px;
  align-self: flex-end;
}

.connection-button:hover {
  opacity: 0.8;
}

/* PATCH 3: Adjust CSS default display */
#syncIntervalContainer {
  display: none; /* default hidden until JS toggles */
}

#autoCollectTimeContainer {
  display: block; /* default visible (non-realtime mode) */
}

.connection-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.largeModal.modal-dialog {
  width: 80%;
  max-width: 800px;
}

#syncIntervalContainer,
#autoCollectTimeContainer {
  display: none;
}

.btnTestConnection {
  margin-right: 10px;
}

/* Grid column styles */
.headerCenter {
  text-align: center !important;
}

.badge-yes {
  background-color: #28a745;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
}

.badge-no {
  background-color: #dc3545;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  width: 14px;
   height: 14px;
   margin-right: 4px;
   margin:0 auto;
  
}

.btn-icon:hover {
  background-color: #f0f0f0;
}

.btn-icon img {
  width: 16px;
  height: 16px;
}

#channelFormField {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-bottom: 0;
  padding: 8px;
  border: none;
  background: none;
}

.btn-cancel-white {
  background-color: #fff;
  color: #000;
}

/* Order Detail Modal Common Styles */
.order-common-detail-grid-summary-row,
.b2b-order-common-detail-grid-summary-row {
  background: #f5f5f5 !important;
  font-weight: 700 !important;
  border-top: 2px solid #ddd !important;
}

.order-common-detail-grid-cell-center {
  text-align: center;
}

.order-common-detail-grid-cell-right {
  text-align: right !important;
}

/* Status Badge Styles */
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.status-badge-wms {
  background-color: #e8f5e9;
  color: #4caf50;
}

.status-badge-preparing {
  background-color: #fff3e0;
  color: #ff9800;
}

.status-badge-hold {
  background-color: #ffebee;
  color: #f44336;
}

.status-badge-confirmed {
  background-color: #e3f2fd;
  color: #2196f3;
}

/* Yes/No Badge Styles */
.yes-no-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.yes-no-badge-yes {
  background: #e8f5e9;
  color: #4caf50;
}

.yes-no-badge-no {
  background: #ffebee;
  color: #f44336;
}

/* Gift Detail Modal Styles */
#ordersGiveawayDetailModal .close {
  text-shadow: none;
}

#ordersGiveawayDetailModal .close:hover {
  opacity: 1;
}

.giveaway-action-btn:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

/* Utility classes for grid empty states */
.p-20 {
  padding: 20px;
}

.text-center {
  text-align: center;
}

/* Display utilities */
.d-inline-block {
  display: inline-block;
}

/* Width utilities */
.w-140 {
  width: 140px;
}

.min-w-100 {
  min-width: 100px;
}

.w-120 {
  width: 120px;
}

.h-45 {
  height: 45px;
}

/* Grid cell alignment */
.grid-cell-center {
  text-align: center !important;
}

/* Orders Shipping Grid Styles */
#ordersShippingGrid .k-grid-content tbody tr {
  cursor: pointer !important;
}

#ordersShippingGrid .k-grid-content tbody tr:hover {
  background-color: #f8f9fa;
}

/* Orders Status Detail Modal Styles */
#orderStatusDetailModal .close {
  text-shadow: none;
}

#orderStatusDetailModal .close:hover {
  opacity: 1;
}

.tab-content {
  min-height: 400px;
}

.tab-content.active {
  display: block !important;
}

.tab-content.hidden {
  display: none !important;
}

.status-tabs-container {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #f8f9fa;
  padding: 0;
  border-bottom: 1px solid #e0e0e0;
}

.status-tabs {
  display: flex;
  gap: 0;
}

.status-tab-btn,
.b2b-status-tab-btn {
  flex: 1;
  padding: 15px 20px;
  background: #fff;
  border: none;
  font-weight: 600;
  font-size: 14px;
  color: #000;
  cursor: pointer;
  transition: all 0.3s;
}

.status-tab-btn.active,
.b2b-status-tab-btn.active {
  border-bottom: 1px solid #000;
}

.status-tab-btn-inactive,
.b2b-status-tab-btn-inactive {
  background: transparent;
  border-bottom: 3px solid transparent;
  color: #666;
  font-weight: 500;
}

.status-tab-btn:hover,
.b2b-status-tab-btn:hover {
  background: #f8f9fa;
}

.status-tab-btn.active:hover,
.b2b-status-tab-btn.active:hover {
  background: #fff;
}

.status-action-btn:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.h-400 {
  height: 400px;
}

.mt-20 {
  margin-top: 20px;
}

.shipping-method-container {
  padding: 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  margin: 10px;
  border-radius: 0 0 8px 8px;
}

.shipping-method-text {
  text-align: center;
  padding: 15px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  letter-spacing: 2px;
}

.w-220 {
  width: 220px;
}

/* Sidebar navigation styles */
.sidebar-icon {
  margin-right: 10px;
  display: inline-block;
}

.sidebar-icon-collapsed {
  margin-right: 0;
  display: block;
  margin: 0 auto;
}

/* Sidebar collapsed state */
.sidebar-collapsed {
  width: 50px !important;
}

.content-collapsed {
  margin-left: 50px !important;
}

.avatar-collapsed {
  margin: 0 auto !important;
}

/* Navigation header states */
.nav-header-collapsed {
  display: flex !important;
  align-items: center !important;
  padding: 0px !important;
  width: 100% !important;
}

.nav-header-expanded {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 15px !important;
}

.header-left-collapsed {
  margin: auto !important;
}

.header-left-expanded {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
}

/* User Rights page styles */
.user-rights-row-selected {
  background-color: #e3f2fd !important;
  border-left: 3px solid #2196f3 !important;
}

.ur-modified td {
  background: #fff8e1 !important;
  border-left: 3px solid #f4c150 !important;
}

.ur-checkbox-accent {
  accent-color: #000;
}

.text-red-800 {
  color: #d33;
}

.text-green-800 {
  color: #2a7;
}


#ordersGiveawayItemModal .modal{
  background-color: rgba(0, 0, 0, 0.5);
}




.scheduler-checkbox-group{
  display:flex;
  flex-wrap: wrap;
  gap:8px;
  margin-top: 8px;
  margin-bottom: 5px;
}

.scheduler-day-checkbox-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  padding: 2px 8px;
  border: 1px solid #000;
  background-color: #ffffff;
  transition: all 0.2s ease;
  height: 23px;
  min-width: 50px;
  user-select: none;
  
}

.scheduler-day-checkbox-item:hover {
  background-color: #f9f4e5;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(74, 144, 226, 0.1);
}

.scheduler-day-checkbox-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
}

.scheduler-day-checkbox-item input[type="checkbox"]:checked + .scheduler-day-label {
  color: #000;
  font-weight: 600;
}

.scheduler-day-label {
  font-size: 12px;
  font-weight: 500;
  color: #333333;
  transition: all 0.2s ease;
  pointer-events: none;
}

/* Checked state styling */
.scheduler-day-checkbox-item input[type="checkbox"]:checked ~ .scheduler-day-label,
.scheduler-day-checkbox-item input[type="checkbox"]:checked + .scheduler-day-label {
  color: #000;
  font-weight: 600;
}

/* Checked state using class for better browser compatibility */
.scheduler-day-checkbox-item.scheduler-day-checked {
  background-color: #f9f4e5;
  border-color: #e2e5ea;
  color: #000;
}

.scheduler-day-checkbox-item.scheduler-day-checked:hover {
  background-color: #f9f4e5;
  border-color: #e2e5ea;
  color: #000;
  transform: translateY(-1px);
}

.scheduler-day-checkbox-item.scheduler-day-checked .scheduler-day-label {
  color: #000;
  font-weight: 600;
}

/* Modern browsers with :has() support - fallback */
@supports selector(:has(*)) {
  .scheduler-day-checkbox-item:has(input[type="checkbox"]:checked) {
    background-color: #f9f4e5;
    }

  .scheduler-day-checkbox-item:has(input[type="checkbox"]:checked):hover {
    background-color: #f9f4e5;

    transform: translateY(-1px);
  }

  .scheduler-day-checkbox-item:has(input[type="checkbox"]:checked) .scheduler-day-label {
    font-weight: 600;
  }

    /* 문철옹 추가. */
    /* 문철옹 추가. */
    /* 문철옹 추가. */
    /* 문철옹 추가. */
    /* 문철옹 추가. */
    /* 문철옹 추가. */
    /* 문철옹 추가. */
    /* 문철옹 추가. */
    /* 문철옹 추가. */
    .coltoolbar-flex{
        display:flex;
        justify-content:space-between;
        align-items:center;
    }

    .qty-totals-bar{
        display:flex;
        gap:20px;

        font-size:11px !important;
        line-height:1.2 !important;
        color:#000 !important;
        font-family:inherit !important;
        font-weight:500;
    }

    /* 내부 태그들이 따로 크게 먹는 거 방지 */
    .qty-totals-bar *{
        font-size:11px !important;
        line-height:1.2 !important;
        color:#000 !important;
        font-family:inherit !important;
    }

    .qty-totals-bar b{
        margin-right:4px;
        font-weight:600;
    }

    .qty-totals-bar em{
        font-style:normal;
        font-weight:600;
    }

 /* 수량 변경에서 라디오 위치를 텍스트 가운데로 오게하려고 추가함. */
    #ordersManageItemModal #change-tab-container .orders-radio-row{
        display:flex;
        align-items:center;
        gap:16px;
    }

    #ordersManageItemModal #change-tab-container .orders-radio{
        display:inline-flex;
        align-items:center;   /* ← 핵심 */
        gap:6px;
        margin:0;
        line-height:1;        /* baseline 흔들림 제거 */
    }

    #ordersManageItemModal #change-tab-container .orders-radio input[type="radio"]{
        margin:0;
        width:16px;
        height:16px;
        flex:0 0 auto;
    }

    .delivery-grid-wrapper
    {
        height: 20%;
        min-height: 300px;
    }

    .client-registrationgrid-wrapper
    {
        height: 85%;
        min-height: 600px;
    }

    /* 고객사별 사용자 등록 */
    .client-user-left-grid-wrapper,
    .client-user-right-grid-wrapper
    {
        height: 100%;
    }

    /* 품목별단가등록*/
    .item-price-grid-wrapper
    {
        height: 81%;
        min-height: 600px;
    }

    /* 컨테이너관리. */
    .container-info-grid-wrapper
    {
        height: 81%;
        min-height: 600px;
    }
}

/* =========================
   그리드 페이지 공통 레이아웃
   ========================= */
/* 페이지 flex column 컨테이너 (단일/분할 그리드 모두 사용) */
.flex-layout {
    display: flex;
    flex-direction: column;
}

/* 상/하 분할 그리드 */

.split-grid-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    overflow: hidden;
}

.split-grid-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.split-grid-section > :last-child {
    flex: 1;
    min-height: 0;
}