.rastuarant_fileUpload {
  background-color: #32e2c647;
}
.rastuarant_fileUpload i{
  font-size: 40px;
}
table{
  font-size: 13px !important;
}
tbody tr{
  vertical-align: middle;
}
.actives{
  color: #4154f1;
  border-left: 5px solid #192de9 !important;
  border-radius: 0px;
  background: #192ee92d;
}
.actives:hover{
  background: #192ee92d !important;
}
.collapsed{
  border-left: 5px solid transparent !important;
}
.svg-icon{
  fill: #4154f1 !important;
}

.bx{ cursor: pointer; }
.overlay {
  position: absolute;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 16%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-container {
  text-align: center;
}
.toast{
  border: 2px solid white;
  box-shadow: none !important;
}
.toast-body-suceess{
  background-color:#a0eca0;
  border: 2px solid #a0eca0;
  color: white;
}
.toast-body-danger{
  background-color:#ec6b6b;
  border: 2px solid #ec6b6b;
  color: white;
}
.toast-body-warning{
  background-color:#d2b453;
  border: 2px solid #d2b453;
  color: white;
}
.form-control{
  border-radius: 0px !important;
}
.bootstrap-tagsinput .tag {
  color: #f8f8f8;
  background: #5757cb;
  padding: 2px 4px;
}
.bootstrap-tagsinput {
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  display: inline-block;
  padding: 4px 6px;
  color: #555;
  vertical-align: middle;
  border-radius: 4px;
  line-height: 28px;
  cursor: text;
  border-radius: 0px;
  width: 100%;
}
svg{
  cursor: pointer;
}
span.bx.bxs-toggle-left, span.bx.bxs-toggle-right {
  font-size: 22px !important;
}
span.bx.bxs-toggle-right {
  color: #1d6dfa;
}
span.bx.bx-check, span.bx.bx-x{
  font-size: 21px;
}

.custom_tags {

/* Brands Component Styles */
.brands-component {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.brands-component .card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.08);
}

.brands-component .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.brands-component .table {
  font-size: 14px;
}

.brands-component .table th {
  font-weight: 600;
  color: #495057;
  border-bottom: 2px solid #e9ecef;
  padding: 1rem 0.75rem;
}

.brands-component .table td {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid #f8f9fa;
  vertical-align: middle;
}

.brands-component .table tbody tr:hover {
  background-color: #f8f9fa;
}

.brands-component .brand-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.brands-component .form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.brands-component .form-switch .form-check-input {
  width: 3rem;
  height: 1.5rem;
  margin-top: 0;
}

.brands-component .form-switch .form-check-input:checked {
  background-color: #198754;
  border-color: #198754;
}

.brands-component .btn {
  font-weight: 500;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
}

.brands-component .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.brands-component .btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

.brands-component .modal-content {
  border-radius: 12px;
  border: none;
}

.brands-component .modal-header {
  border-bottom: 1px solid #e9ecef;
  padding: 1.5rem 1.5rem 1rem;
}

.brands-component .modal-body {
  padding: 1.5rem;
}

.brands-component .modal-footer {
  border-top: 1px solid #e9ecef;
  padding: 1rem 1.5rem 1.5rem;
}

.brands-component .form-label {
  color: #495057;
  margin-bottom: 0.5rem;
}

.brands-component .form-control,
.brands-component .form-select {
  border-radius: 8px;
  border: 1px solid #ced4da;
  padding: 0.75rem 1rem;
  transition: all 0.2s ease;
}

.brands-component .form-control:focus,
.brands-component .form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.brands-component .input-group-text {
  border-radius: 8px 0 0 8px;
  border: 1px solid #ced4da;
  background-color: #f8f9fa;
}

.brands-component .input-group .form-control {
  border-radius: 0 8px 8px 0;
}

.brands-component .badge {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
}

.brands-component .pagination {
  margin-bottom: 0;
}

.brands-component .page-link {
  border-radius: 6px;
  margin: 0 2px;
  border: 1px solid #dee2e6;
  color: #0d6efd;
  padding: 0.5rem 0.75rem;
}

.brands-component .page-link:hover {
  background-color: #e9ecef;
  border-color: #dee2e6;
  color: #0a58ca;
}

.brands-component .page-item.active .page-link {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .brands-component .d-flex.justify-content-between {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem;
  }

  .brands-component .col-md-3 {
    margin-bottom: 1rem;
  }

    .brands-component .table-responsive {
    font-size: 12px;
  }

    .brands-component .brand-avatar {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

    .brands-component .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
  }
}

/* Loading states */
.brands-component .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.brands-component .form-control:disabled {
  background-color: #e9ecef;
  opacity: 0.6;
}

/* Animation for stats cards */
.brands-component .card {
  animation: fadeInUp 0.6s ease-out;
}

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

/* Hover effects for interactive elements */
.brands-component .table tbody tr {
  transition: all 0.2s ease;
}

.brands-component .table tbody tr:hover {
  background-color: #f8f9fa;
  transform: scale(1.01);
}

.brands-component .btn-outline-primary:hover,
.brands-component .btn-outline-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Custom scrollbar for table */
.brands-component .table-responsive::-webkit-scrollbar {
  height: 8px;
}

.brands-component .table-responsive::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.brands-component .table-responsive::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.brands-component .table-responsive::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Mobile Sidebar Fixes - Override conflicting styles */
@media (max-width: 1199px) {
  .sidebar {
    left: -280px !important; /* Override the -300px from main style.css */
    width: 280px !important;
    position: fixed !important;
  }

    .sidebar.show {
    left: 0 !important;
  }

    #main {
    margin-left: 0 !important;
    width: 100% !important;
  }

    /* Ensure sidebar is above other elements on mobile */
  .sidebar {
    z-index: 1001 !important;
  }
}

@media (min-width: 1200px) {
  #main {
    margin-left: 280px !important;
    transition: margin-left 0.3s ease;
  }

    .sidebar.toggled {
    left: -280px !important;
  }

    #main.toggled {
    margin-left: 0 !important;
  }
}

@media (max-width: 768px) {
  .sidebar {
    width: 100% !important;
    max-width: 320px !important;
  }

    .sidebar.show {
    left: 0 !important;
  }

    /* Mobile overlay styles */
  .sidebar-overlay {
    z-index: 1000 !important;
  }

    .sidebar-overlay.show {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Ensure proper z-index hierarchy */
.header {
  z-index: 1002 !important;
}

.sidebar {
  z-index: 1001 !important;
}

.sidebar-overlay {
  z-index: 1000 !important;
}

/* Fix for mobile touch interactions */
@media (max-width: 1199px) {
  .sidebar {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
  }

    /* Prevent body scroll when sidebar is open on mobile */
  body.sidebar-open {
    overflow: hidden;
  }
}

    /* Order Component Styles */

    .order-card {
        transition: all 0.3s ease;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .order-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

    .order-card.border-primary {
        border-left: 4px solid #0d6efd !important;
    }

    .order-card.border-info {
        border-left: 4px solid #0dcaf0 !important;
    }

    .order-card.border-success {
        border-left: 4px solid #198754 !important;
    }

    .order-card.border-danger {
        border-left: 4px solid #dc3545 !important;
    }

    .order-card.border-dark {
        border-left: 4px solid #212529 !important;
    }

    .order-card.border-secondary {
        border-left: 4px solid #6c757d !important;
    }

    .order-card .card-header {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-bottom: 1px solid #dee2e6;
    }

    .order-card .card-footer {
        background: transparent;
        border-top: 1px solid #dee2e6;
    }

    /* Status Tabs Styling */

    #orderStatusTabs .nav-link {
        border: none;
        border-radius: 0;
        padding: 12px 20px;
        font-weight: 500;
        color: #6c757d;
        transition: all 0.3s ease;
    }

    #orderStatusTabs .nav-link:hover {
        color: #495057;
        background-color: #f8f9fa;
    }

    .orderStatusTabs.nav-link.active {
        color: #0d6efd;
        background-color: #e7f1ff !important;
        border-bottom: 3px solid #0d6efd;
        font-weight: 600;
        box-shadow: 0 2px 4px rgba(13, 110, 253, 0.1);
    }

    #orderStatusTabs .nav-link.active:hover {
        background-color: #d1ecf1;
        color: #0d6efd;
    }

    #orderStatusTabs .nav-link .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }

    /* Order Card Content Styling */

    .order-card .card-body {
        padding: 1.25rem;
    }

    .order-card .badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .order-card code {
        background-color: #f8f9fa;
        padding: 0.2rem 0.4rem;
        border-radius: 0.25rem;
        font-size: 0.875rem;
    }

    /* Action Buttons */

    .order-card .btn {
        border-radius: 8px;
        font-weight: 500;
        transition: all 0.2s ease;
    }

    .order-card .btn:hover {
        transform: translateY(-1px);
    }

    .order-card .btn-success {
        background: linear-gradient(135deg, #198754 0%, #20c997 100%);
        border: none;
    }

    .order-card .btn-outline-danger {
        border-color: #dc3545;
        color: #dc3545;
    }

    .order-card .btn-outline-danger:hover {
        background-color: #dc3545;
        color: white;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .order-card {
            margin-bottom: 1rem;
        }

        #orderStatusTabs .nav-link {
            padding: 8px 12px;
            font-size: 0.875rem;
        }

        .order-card .card-body {
            padding: 1rem;
        }
    }
}

/* Loading states */
.order-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success animation */
@keyframes orderAccepted {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.order-card.accepted {
    animation: orderAccepted 0.5s ease;
}

/* Empty state styling */
.text-center.py-5 {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin: 2rem 0;
}

.text-center.py-5 .bx {
    color: #6c757d;
    opacity: 0.7;
}

/* Logo Upload Styles */
.upload-placeholder {
    padding: 20px;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.upload-placeholder:hover {
    border-color: #4154f1;
    background-color: #f0f2ff;
}

.upload-placeholder i {
    color: #6c757d;
    margin-bottom: 10px;
}

.img-preview {
    max-height: 150px;
    max-width: 200px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.aggregator-logo {
    max-height: 40px;
    max-width: 60px;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.avatar-sm {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.avatar-title {
    font-size: 16px;
    font-weight: 500;
}
