/* STATUS TOGGLE */
.status-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 6px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
}

/* ENABLED */
.status-toggle.enabled {
  background-color: #58b7a5;
  color: #fff;
}

/* DISABLED */
.status-toggle.disabled {
    background-color: #a5001a;
    color: #ffffff;
}

/* TOGGLE KNOB */
.status-toggle .toggle-knob {
  width: 18px;
  height: 18px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

/* MOVE KNOB */
.status-toggle.enabled .toggle-knob {
  transform: translateX(0);
}

.status-toggle.disabled .toggle-knob {
  transform: translateX(0);
}

/* TEXT */
/* .status-toggle .toggle-text {
  margin-left: 6px;
} */


.backbtn {
    margin-bottom: 10px;
}

.Spassov_container {
    margin-bottom: 30px;
}


.cusmodal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: slideUp 0.3s ease-out;
    height: 60%;
}

.cusmodal-footer {
    display: flex
;
    justify-content: center;
    gap: 12px;
    padding: 30px 24px;
    border-radius: 0 0 12px 12px;
}








/* Nested Table Styles */
.nested-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.nested-table thead {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.nested-table thead th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.nested-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.15s ease;
}

.nested-table tbody td {
    padding: 12px 16px;
    vertical-align: middle;
}

/* Category Row (Parent) */
.category-row {
    background-color: #ffffff;
}

.category-row:hover {
    background-color: #f8f9fa;
}

.category-row td {
    font-weight: 500;
}

/* Sub-Category Row (Child) */
.subcategory-row {
    background-color: #fafbfc;
}

.subcategory-row:hover {
    background-color: #f1f3f5;
}

/* Toggle Icon */
.toggle-icon {
    display: inline-block;
    width: 20px;
    font-size: 12px;
    color: #6c757d;
}

/* Action Buttons */
.btn-icon {
    background: none;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.btn-icon:hover {
    transform: scale(1.1);
}

.btn-edit {
    color: #0d6efd;
}

.btn-delete {
    color: #dc3545;
}

/* Search Input Group */
.input-group-text {
    border-right: none;
}


.input-group .form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.input-group-text:has(+ .form-control:focus) {
    border-color: #86b7fe;
}

button.btn.btn-danger {
    border-radius: 4px !important;
}

.MUL_remove_button:hover {
    background-color: red;
    color: white;
}

.DahICon{
display: flex !important;
justify-content: center !important;
align-items: center !important;
height: 100% !important;
font-size: 20px !important;
width: 100% !important;
}

.white{
    color: white;
}
.whitT:hover{
    color: white !important;
}

.Dashicon{
   
    display: flex
;
    justify-content: center;
    align-items: center;
    font-size: 37px;

}img.formlogo {
    position: relative;
       padding: 20px 0px;
}

.heighT{
    height: 100vh !important;
}

.MAinBOX {
    border-radius: 10px;
    padding: 0;
    display: flex
;
    justify-content: center;
}
.BOrder {
    border: 1px solid black;
    border-radius: 10px;
    padding: 40px;
    
}

.logoPath{
    display: flex
;
    justify-content: center;
}


.LOgoING{
    height: 50px;
}


.callbackmain {
    display: flex
;
    justify-content: space-between;
  
   
    border-radius: 10px;
}

.cardBACK {
    display: flex
;
    justify-content: space-between;
    background: white;
    margin: 10px 0px 10px 0px;
    padding: 18px;
    border-radius: 10px;
        width: 100%;
}


/* Base dropdown */
.ord-status-select {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  appearance: none;
  outline: none;
  min-width: 120px;
  transition: all 0.2s ease-in-out;
}

/* Status colors */
.ord-placed {
  background-color: #fff3cd;
  color: #856404;
  border-color: #ffeeba;
}

.ord-processing {
  background-color: #e7f1ff;
  color: #084298;
  border-color: #b6d4fe;
}

.ord-printing {
  background-color: #f3e8ff;
  color: #5f259f;
  border-color: #d0bfff;
}

.ord-shipped {
  background-color: #e0f7fa;
  color: #055160;
  border-color: #99e1ea;
}

.ord-delivered {
  background-color: #d1e7dd;
  color: #0f5132;
  border-color: #badbcc;
}
.ord-hold {
  background-color: #ef5f5f;
  color: white;
  border-color: #ef5f5f;
}
/* Hover & focus */
.ord-status-select:hover {
  transform: translateY(-1px);
}

.ord-status-select:focus {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.error{
  color: red !important;
}
















/* Dashboard Container */
.dashboard-container {
  padding: 2rem;
  background: #f8f9fa;
  min-height: 100vh;
}

/* Loading State */
.loading-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

/* Dashboard Header */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #00A896 100%);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
  color: white;
}

.header-content {
  flex: 1;
}

.dashboard-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: white;
}

.dashboard-subtitle {
  font-size: 1rem;
  margin: 0.5rem 0 0 0;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
}

.header-actions .btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.header-actions .btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Dashboard Section */
.dashboard-section {
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-title-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-icon {
  font-size: 2rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: #2d3748;
}

.section-badge {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

/* Metric Card */
.metric-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.metric-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.metric-card-body {
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.metric-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.metric-card:hover .metric-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.metric-icon {
  font-size: 2rem;
}

.metric-content {
  flex: 1;
  min-width: 0;
}

.metric-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #718096;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
  line-height: 1.2;
}

.metric-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.trend-up {
  background: #d4edda;
  color: #155724;
}

.trend-down {
  background: #f8d7da;
  color: #721c24;
}

.trend-label {
  margin-left: 0.25rem;
  opacity: 0.8;
}

/* Summary Cards */
.summary-card {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  border-radius: 20px;
  padding: 2rem;
  color: white;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.summary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.summary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
}

.gradient-primary {
  --gradient-start: #FF6B35;
  --gradient-end: #F7931E;
}

.gradient-success {
  --gradient-start: #00A896;
  --gradient-end: #02C39A;
}

.gradient-info {
  --gradient-start: #F7931E;
  --gradient-end: #FFC857;
}

.summary-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}

.summary-icon iconify-icon {
  font-size: 3rem;
  color: white;
}

.summary-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.summary-content h4 {
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0.5rem 0;
  opacity: 0.95;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.summary-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  line-height: 1;
}

.summary-subtitle {
  font-size: 0.875rem;
  margin: 0;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .metric-value {
    font-size: 1.5rem;
  }
  
  .summary-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .dashboard-container {
    padding: 1rem;
  }

  .dashboard-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .dashboard-title {
    font-size: 1.5rem;
  }

  .dashboard-subtitle {
    font-size: 0.875rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .metric-card-body {
    padding: 1.25rem;
    gap: 1rem;
  }

  .metric-icon-wrapper {
    width: 50px;
    height: 50px;
  }

  .metric-icon {
    font-size: 1.5rem;
  }

  .metric-value {
    font-size: 1.25rem;
  }

  .summary-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .summary-icon {
    width: 60px;
    height: 60px;
  }

  .summary-icon iconify-icon {
    font-size: 2rem;
  }

  .summary-content h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 576px) {
  .metric-card-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .metric-content {
    width: 100%;
  }
}

/* Animations */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.metric-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.metric-card:hover::after {
  left: 100%;
}

/* Custom Scrollbar */
.dashboard-container::-webkit-scrollbar {
  width: 8px;
}

.dashboard-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.dashboard-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.dashboard-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.Dashicon {
    font-size: 20px !important;
}

.cuscancel{
  padding: 5px 25px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
    display: inline-flex
;
    align-items: center;
    gap: 0.5rem;
      background: #fbd7d7;
    color: red;
        border: 1px solid;
  
}
.cusClose:hover{
   padding: 5px 25px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
    display: inline-flex
;
    align-items: center;
    gap: 0.5rem;
      background: white;
    color: red;
        border: 1px solid; 
}
.cusClose{
   padding: 8px 25px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
    display: inline-flex
;
    align-items: center;
    gap: 0.5rem;
      background: white;
    color: red;
        border: 1px solid; 
}
.buttonwarning{
      padding: 8px 15px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
    display: inline-flex
;
    align-items: center;
    gap: 0.5rem;
    background: #f9b931;
    color: white;
    border: 1px solid;
}
.cuscancel:hover{
  padding: 5px 25px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
    display: inline-flex
;
    align-items: center;
    gap: 0.5rem;
      background: #fbd7d7;
    color: red;
        border: 1px solid;
  
}


.cusBTNPop:hover{
 padding: 8px 15px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
    display: inline-flex
;
    align-items: center;
    gap: 0.5rem;
        background: #bfe5ce;
    color: #22c672;
        border: 1px solid;
   
}
.cusBTNPop{
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
    display: inline-flex
;
    align-items: center;
    gap: 0.5rem;
        background: #c8f0d7;
    color: #22c672;
 
        border: 1px solid;
}

.cusBTN{
        padding: 8px 15px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
    display: inline-flex
;
    align-items: center;
    gap: 0.5rem;
    background: #c8f0d7;
    color: #22c672;
    border: 1px solid;
    
}

.cusBTN:hover{
color: white;
}

.selectedBTn{
  background: #ff6c2f;
  color: white;
}
.selectedBTn:hover{
  background: white;
  color: #ff6c2f;
  border: 1px solid #ff6c2f;
}

.download{
  width: 20px;
  height: 20px;
}

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


.updateuRl
 {
    width: 100%;
}

button.Trackurl {
    background: #d3f3df;
    border: 2px solid #25c787;
    padding: 6px;
    border-radius: 8px;
    margin-top: 10px;
    color: #07a869;
}




.btnSelect{
  background: #ff6c2f !important; 
  color: white !important;
  border: none !important;
}
















/* Dashboard.css - Responsive styles for the dashboard */

.dashboard-container {
  padding: 24px;
  max-width: 1600px;
  margin: 0 auto;
}

/* Metrics Grid - CSS Grid based responsive layout */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Individual card column wrapper */
.metric-card-col {
  width: 100%;
}

/* Card styling */
.metric-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  height: 100%;
  overflow: hidden;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.metric-card-body {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.metric-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.metric-content {
  flex: 1;
  min-width: 0; /* Prevents overflow issues */
}

.metric-label {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6c757d;
  margin-bottom: 6px;
}

.metric-value {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.2;
  word-break: break-word;
}

/* Trend indicators */
.metric-trend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.trend-up {
  color: #28a745;
}

.trend-down {
  color: #dc3545;
}

.trend-label {
  color: #6c757d;
  margin-left: 2px;
}

/* Section styling */
.dashboard-section {
  margin-bottom: 40px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.section-title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0;
}

.section-badge {
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 500;
}

/* Loading state */
.loading-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

/* Alert styling */
.alert {
  border-radius: 12px;
  padding: 16px 20px;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Medium screens (tablets, 768px and below) */
@media (max-width: 768px) {
  .dashboard-container {
    padding: 16px;
  }

  .metrics-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }

  .metric-card-body {
    padding: 16px;
    gap: 12px;
  }

  .metric-icon-wrapper {
    width: 48px;
    height: 48px;
  }

  .metric-icon-wrapper iconify-icon {
    font-size: 24px !important;
  }

  .metric-value {
    font-size: 20px;
  }

  .metric-label {
    font-size: 12px;
  }

  .section-title {
    font-size: 20px;
  }

  .section-header {
    margin-bottom: 16px;
  }
}

/* Small screens (phones, 576px and below) */
@media (max-width: 576px) {
  .dashboard-container {
    padding: 12px;
  }

  .metrics-grid {
    grid-template-columns: 1fr; /* Single column on very small screens */
    gap: 12px;
  }

  .metric-card-body {
    padding: 14px;
    gap: 12px;
  }

  .metric-icon-wrapper {
    width: 44px;
    height: 44px;
  }

  .metric-value {
    font-size: 18px;
  }

  .section-title {
    font-size: 18px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-title-wrapper {
    gap: 8px;
  }

  .section-badge {
    align-self: flex-start;
  }

  .dashboard-section {
    margin-bottom: 28px;
  }
}

/* Extra small screens (320px and below) */
@media (max-width: 380px) {
  .dashboard-container {
    padding: 8px;
  }

  .metric-card-body {
    padding: 12px;
    gap: 10px;
  }

  .metric-icon-wrapper {
    width: 38px;
    height: 38px;
  }

  .metric-value {
    font-size: 16px;
  }

  .metric-label {
    font-size: 10px;
  }

  .section-title {
    font-size: 16px;
  }
}

/* Large screens (1200px and above) */
@media (min-width: 1200px) {
  .metrics-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
  }

  .dashboard-container {
    padding: 32px;
  }

  .metric-card-body {
    padding: 24px;
  }

  .metric-value {
    font-size: 28px;
  }
}

/* Print styles - optional */
@media print {
  .dashboard-container {
    padding: 0;
  }

  .metric-card {
    box-shadow: none;
    border: 1px solid #e0e0e0;
  }

  .metric-card:hover {
    transform: none;
  }

  .btn-outline-primary {
    display: none;
  }
}