    :root {
      --brand-red: #9b1111;
      --brand-red-dark: #7a0b0b;
      --brand-gold: #f5b921;
      --cream-bg: #faf7f2;
	   --sidebar-bg: #3b0d0c;
      --sidebar-hover: rgba(255, 255, 255, 0.08);
      --sidebar-active: linear-gradient(90deg, rgba(185, 35, 35, 0.95) 0%, rgba(125, 16, 16, 0.9) 100%);
      --card-shadow: 0 4px 16px rgba(34, 24, 18, 0.04);
      --border-light: #ece7e0;
    }
	

    * {
      box-sizing: border-box;
    }

    body {
      font-family: 'Poppins', sans-serif;
      margin: 0;
      padding: 0;
      min-height: 100vh;
      background-color: var(--cream-bg);
      overflow-x: hidden;
	   background-color: #f6f4f0;
      color: #242424;
      overflow-x: hidden;
    }

    .main-wrapper {
      min-height: 100vh;
      position: relative;
      display: flex;
      flex-wrap: wrap;
    }

    /* ================= LEFT PANEL ================= */
    .left-panel {
      position: relative;
      background: 
        linear-gradient(180deg, rgba(236, 91, 18, 0.72) 0%, rgba(36, 15, 6, 0.78) 55%, rgba(25, 8, 3, 0.92) 100%),
        url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
      color: #fff;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 2.5rem 3rem 1.5rem 3rem;
      z-index: 2;
    }

    /* Curved Golden Border Divider on Desktop */
    @media (min-width: 992px) {
      .left-panel {
        width: 56%;
        min-height: 100vh;
        padding-right: 5rem;
      }
      .right-panel {
        width: 44%;
        min-height: 100vh;
      }
      .curved-divider {
        position: absolute;
        top: 0;
        right: -1px;
        height: 100%;
        width: 110px;
        z-index: 5;
        pointer-events: none;
      }
    }

    @media (max-width: 991.98px) {
      .left-panel, .right-panel {
        width: 100%;
      }
      .left-panel {
        padding: 2rem 1.5rem 2.5rem 1.5rem;
        border-bottom: 5px solid var(--brand-gold);
      }
      .curved-divider {
        display: none;
      }
    }

    /* Brand Header */
    .brand-logo-wrap {
      text-align: center;
      margin-top: 0.5rem;
    }

    .chef-hat-svg {
      width: 95px;
      height: auto;
      margin-bottom: -8px;
      filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
    }

    .brand-title {
      font-family: 'Lobster Two', cursive;
      font-size: clamp(2.4rem, 4vw, 3.6rem);
      font-weight: 700;
      color: #ffffff;
      text-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
      margin: 0;
      line-height: 1.1;
      position: relative;
      display: inline-block;
    }

    .pantry-underline {
      display: block;
      width: 135px;
      height: 12px;
      margin: -2px auto 6px auto;
    }

    .brand-subtitle {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      font-size: clamp(0.95rem, 1.4vw, 1.2rem);
      font-weight: 400;
      color: #f3e9dc;
      letter-spacing: 0.5px;
      margin-bottom: 1rem;
    }

    .brand-subtitle::before,
    .brand-subtitle::after {
      content: "";
      height: 1px;
      width: 32px;
      background-color: rgba(255, 255, 255, 0.55);
    }

    .rms-ribbon {
      background: linear-gradient(90deg, transparent 0%, rgba(155, 17, 17, 0.92) 20%, rgba(155, 17, 17, 0.92) 80%, transparent 100%);
      padding: 0.45rem 2rem;
      font-size: clamp(0.95rem, 1.3vw, 1.15rem);
      font-weight: 500;
      letter-spacing: 0.6px;
      color: #fff;
      margin: 0 auto 1.5rem auto;
      max-width: 460px;
      text-align: center;
    }

    /* Feature Tiles */
    .feature-grid {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 1.5rem;
    }

    .feature-box {
      width: 78px;
      height: 76px;
      background: rgba(38, 22, 14, 0.62);
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 12px;
      backdrop-filter: blur(4px);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: transform 0.25s ease, border-color 0.25s ease;
    }

    .feature-box:hover {
      transform: translateY(-3px);
      border-color: var(--brand-gold);
    }

    .feature-box i {
      font-size: 1.45rem;
      color: #ffffff;
      margin-bottom: 4px;
    }

    .feature-box span {
      font-size: 0.72rem;
      color: #f1e6d8;
      font-weight: 400;
    }

    /* Bottom Skyline & Food Showcase */
    .bottom-showcase {
      position: relative;
      margin-top: auto;
      padding-top: 1rem;
    }

    .skyline-art {
      width: 100%;
      max-width: 440px;
      margin: 0 auto -12px auto;
      display: block;
      opacity: 0.85;
    }

    .dishes-row {
      display: flex;
      justify-content: center;
      align-items: flex-end;
      gap: 14px;
      position: relative;
      z-index: 2;
    }

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

    .dish-img {
      object-fit: cover;
      border-radius: 50%;
      border: 4px solid #8c4a27;
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.65);
      background-color: #3d1e0d;
    }

    .dish-biryani {
      width: 155px;
      height: 155px;
    }

    .dish-fish {
      width: 118px;
      height: 118px;
    }

    .dish-rosogolla {
      width: 105px;
      height: 105px;
    }

    @media (max-width: 575.98px) {
      .dish-biryani { width: 110px; height: 110px; }
      .dish-fish { width: 88px; height: 88px; }
      .dish-rosogolla { width: 80px; height: 80px; }
      .feature-box { width: 64px; height: 66px; }
    }

    /* ================= RIGHT PANEL ================= */
    .right-panel {
      background-color: var(--cream-bg);
      background-image: radial-gradient(#e7dfd3 0.7px, transparent 0.7px);
      background-size: 18px 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem 1.25rem;
      position: relative;
      z-index: 3;
    }

    .login-card {
      width: 100%;
      max-width: 440px;
      background: #ffffff;
      border-radius: 22px;
      padding: 2.4rem 2.2rem 1.4rem 2.2rem;
      box-shadow: 0 15px 40px rgba(62, 39, 24, 0.08);
      border: 1px solid rgba(0, 0, 0, 0.04);
      position: relative;
      overflow: hidden;
    }

    .login-header {
      text-align: center;
      margin-bottom: 1.6rem;
    }

    .login-title-row {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .login-title-icon {
      font-size: 1.75rem;
      color: var(--brand-red);
    }

    .login-title {
      font-size: 1.55rem;
      font-weight: 700;
      color: #1f1f1f;
      margin: 0;
    }

    .title-dash {
      width: 34px;
      height: 3px;
      background-color: var(--brand-red);
      border-radius: 2px;
      margin: 6px auto 12px auto;
    }

    .login-subtext {
      font-size: 0.86rem;
      color: #666666;
      margin: 0;
    }

    /* Form Controls */
    .custom-input-group {
      position: relative;
      margin-bottom: 1rem;
    }

    .custom-input-group .input-icon-left {
      position: absolute;
      left: 15px;
      top: 50%;
      transform: translateY(-50%);
      color: #6c757d;
      font-size: 1.1rem;
      z-index: 4;
      pointer-events: none;
    }

    .custom-input-group .form-control,
    .custom-input-group .form-select {
      height: 50px;
      padding-left: 44px;
      padding-right: 40px;
      border-radius: 10px;
      border: 1px solid #d5d8dc;
      font-size: 0.92rem;
      color: #2c2c2c;
      background-color: #fff;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .custom-input-group .form-control:focus,
    .custom-input-group .form-select:focus {
      border-color: var(--brand-red);
      box-shadow: 0 0 0 0.2rem rgba(155, 17, 17, 0.12);
    }

    .toggle-password-btn {
      position: absolute;
      right: 14px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: #6c757d;
      font-size: 1.1rem;
      cursor: pointer;
      z-index: 4;
      padding: 0;
    }

    .toggle-password-btn:hover {
      color: var(--brand-red);
    }

    .form-check-input:checked {
      background-color: var(--brand-red);
      border-color: var(--brand-red);
    }

    .forgot-link {
      color: var(--brand-red);
      font-size: 0.85rem;
      font-weight: 500;
      text-decoration: none;
    }

    .forgot-link:hover {
      text-decoration: underline;
      color: var(--brand-red-dark);
    }

    .btn-login {
      width: 100%;
      height: 50px;
      background: linear-gradient(180deg, #ab1616 0%, #8a0c0c 100%);
      border: none;
      border-radius: 25px;
      color: #ffffff;
      font-size: 1.05rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      box-shadow: 0 6px 16px rgba(155, 17, 17, 0.28);
      transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
      margin-top: 1.35rem;
    }

    .btn-login:hover {
      background: linear-gradient(180deg, #961111 0%, #730808 100%);
      color: #ffffff;
      transform: translateY(-1px);
      box-shadow: 0 8px 20px rgba(155, 17, 17, 0.36);
    }

    .card-bottom-skyline {
      margin-top: 1.4rem;
      opacity: 0.28;
      width: 100%;
      display: block;
    }
.sidebar {
      width: 255px;
      min-height: 100vh;
      background: linear-gradient(180deg, #420f0e 0%, #2d0807 100%);
      color: #f4ebe6;
      display: flex;
      flex-direction: column;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1045;
      transition: transform 0.3s ease;
    }

    .sidebar-brand {
      padding: 1.35rem 1.25rem 1rem;
      text-align: center;
      border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .sidebar-brand-title {
      font-family: 'Lobster Two', cursive;
      font-size: 1.85rem;
      color: #fff;
      line-height: 1.05;
      margin: 2px 0 0;
    }

    .sidebar-brand-sub {
      font-size: 0.7rem;
      color: #dec9bc;
      letter-spacing: 0.5px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      margin-top: 4px;
    }

    .sidebar-brand-sub::before,
    .sidebar-brand-sub::after {
      content: "";
      width: 16px;
      height: 1px;
      background: rgba(255, 255, 255, 0.4);
    }

    /* Navigation Menu & Submenu Dropdowns */
    .sidebar-nav {
      padding: 0.85rem 0.75rem;
      flex-grow: 1;
      overflow-y: auto;
    }

    .nav-item-btn {
      width: 100%;
      background: transparent;
      border: none;
      color: #e9dcd6;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.65rem 0.9rem;
      border-radius: 10px;
      font-size: 0.87rem;
      font-weight: 400;
      text-decoration: none;
      margin-bottom: 4px;
      transition: all 0.2s ease;
      cursor: pointer;
    }

    .nav-item-btn:hover {
      background: var(--sidebar-hover);
      color: #fff;
    }

    .nav-item-btn.active {
      background: var(--sidebar-active);
      color: #fff;
      font-weight: 500;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
    }

    .nav-item-left {
      display: flex;
      align-items: center;
      gap: 11px;
    }

    .nav-item-left i {
      font-size: 1.05rem;
      width: 20px;
      text-align: center;
    }

    .nav-arrow {
      font-size: 0.72rem;
      transition: transform 0.25s ease;
      opacity: 0.75;
    }

    .nav-item-btn[aria-expanded="true"] .nav-arrow {
      transform: rotate(90deg);
    }

    .submenu-list {
      list-style: none;
      padding: 2px 0 6px 2.35rem;
      margin: 0;
    }

    .submenu-list li a {
      display: block;
      padding: 0.38rem 0.65rem;
      font-size: 0.8rem;
      color: #cfb9ae;
      text-decoration: none;
      border-radius: 6px;
      transition: color 0.2s, background 0.2s;
    }

    .submenu-list li a:hover {
      color: #fff;
      background: rgba(255, 255, 255, 0.06);
    }

    /* Sidebar Footer Art & Tagline */
    .sidebar-footer {
      padding: 0.5rem 1rem 1.25rem;
      text-align: center;
    }

    .sidebar-tagline {
      font-family: 'Caveat', cursive;
      font-size: 1.38rem;
      line-height: 1.15;
      color: #d6b69c;
      transform: rotate(-5deg);
      margin-top: 0.45rem;
    }

    /* ================= MAIN LAYOUT ================= */
    .main-content {
      margin-left: 255px;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      transition: margin-left 0.3s ease;
    }

    /* Top Header */
    .top-navbar {
      background: #ffffff;
      border-bottom: 1px solid var(--border-light);
      padding: 0.75rem 1.5rem;
      position: sticky;
      top: 0;
      z-index: 1020;
    }

    .branch-pill {
      background: #fdf6ec;
      border: 1px solid #efd8b8;
      border-radius: 10px;
      padding: 0.35rem 0.75rem;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.84rem;
      font-weight: 500;
      color: #5c2a16;
    }

    .branch-pill select {
      border: none;
      background: transparent;
      font-weight: 600;
      color: var(--brand-red);
      outline: none;
      cursor: pointer;
      padding-right: 4px;
    }

    .header-meta-box {
      font-size: 0.8rem;
      color: #555;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0.35rem 0.75rem;
      border-radius: 8px;
      background: #faf8f5;
      border: 1px solid #eee9e2;
    }

    .user-profile-trigger {
      display: flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      padding: 4px 8px;
      border-radius: 10px;
      transition: background 0.2s;
    }

    .user-profile-trigger:hover {
      background: #f5f2ed;
    }

    .user-avatar {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid #e7d8c9;
    }

    /* ================= STAT CARDS ================= */
    .stat-card {
      border: 1px solid rgba(0, 0, 0, 0.04);
      border-radius: 14px;
      padding: 1rem 1.15rem;
      height: 100%;
      box-shadow: var(--card-shadow);
      transition: transform 0.2s ease;
    }

    .stat-card:hover {
      transform: translateY(-2px);
    }

    .stat-orders { background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%); }
    .stat-sales  { background: linear-gradient(135deg, #f2fbf6 0%, #ffffff 100%); }
    .stat-tables { background: linear-gradient(135deg, #f3f7ff 0%, #ffffff 100%); }
    .stat-kot    { background: linear-gradient(135deg, #fff9ef 0%, #ffffff 100%); }
    .stat-guests { background: linear-gradient(135deg, #f7f4ff 0%, #ffffff 100%); }

    .stat-icon-circle {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.05rem;
    }

    .stat-value {
      font-size: 1.5rem;
      font-weight: 700;
      margin: 0.55rem 0 0.25rem;
      color: #1f1f1f;
    }

    /* ================= DASHBOARD PANELS ================= */
    .dash-panel {
      background: #ffffff;
      border-radius: 16px;
      padding: 1.25rem;
      border: 1px solid var(--border-light);
      box-shadow: var(--card-shadow);
      height: 100%;
    }

    .panel-title {
      font-size: 0.98rem;
      font-weight: 600;
      color: #222;
      margin: 0;
    }

    /* Quick Action Tiles */
    .quick-action-btn {
      border: 1px solid transparent;
      border-radius: 12px;
      padding: 0.9rem 0.5rem;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 6px;
      font-size: 0.8rem;
      font-weight: 500;
      color: #2b2b2b;
      width: 100%;
      transition: all 0.2s ease;
    }

    .quick-action-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 12px rgba(0, 0, 0, 0.06);
    }

    .qa-new-order { background: #fdf3f3; border-color: #f6dada; }
    .qa-view-kot  { background: #fef8ee; border-color: #f7e6c9; }
    .qa-scan      { background: #f2f6fe; border-color: #dce6fb; }
    .qa-bill      { background: #f5f2fe; border-color: #e4dcfb; }

    /* Top Selling Items */
    .top-item-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.55rem 0;
      border-bottom: 1px solid #f2eee9;
    }

    .top-item-row:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    .top-item-img {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      object-fit: cover;
    }

    /* Table Status Tiles */
    .table-tile {
      border-radius: 12px;
      padding: 0.65rem 0.4rem;
      text-align: center;
      border: 1px solid transparent;
      transition: transform 0.15s ease;
      cursor: pointer;
    }

    .table-tile:hover {
      transform: scale(1.03);
    }

    .table-available {
      background: #eefaf3;
      border-color: #cdecd9;
      color: #16794c;
    }

    .table-occupied {
      background: #fdf1f1;
      border-color: #f5d3d3;
      color: #b42323;
    }

    .table-reserved {
      background: #f3f1fd;
      border-color: #dcd6f7;
      color: #5338b8;
    }

    /* Promo Banner */
    .promo-banner {
      border-radius: 14px;
      background: linear-gradient(90deg, #320b0a 0%, #5e1714 55%, #2b0a09 100%);
      color: #fff;
      padding: 0.85rem 1.25rem;
      position: relative;
      overflow: hidden;
      margin-top: 1rem;
    }

    .promo-title {
      font-family: 'Lobster Two', cursive;
      font-size: 1.25rem;
      color: #f7c96b;
      margin: 0;
    }

    /* Recent Activity */
    .activity-item {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      padding: 0.6rem 0;
      border-bottom: 1px solid #f2eee9;
      gap: 10px;
    }

    .activity-item:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    .activity-badge {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 0.9rem;
    }

    /* Responsive Sidebar Off-canvas Behavior */
    .sidebar-backdrop {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.45);
      z-index: 1040;
    }

    @media (max-width: 991.98px) {
      .sidebar {
        transform: translateX(-100%);
      }
      .sidebar.show {
        transform: translateX(0);
      }
      .sidebar-backdrop.show {
        display: block;
      }
      .main-content {
        margin-left: 0;
      }
    }
	
	.page-header-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.btn-outline-soft {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #374151;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 10px;
  padding: 0.48rem 1rem;
  transition: all 0.2s ease;
}

.btn-outline-soft:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
}

/* Inner White Card */
.im-card {
  background: #ffffff;
  border: 1px solid #e6e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(17, 24, 39, 0.03);
  height: 100%;
}

/* Left Menu Categories */
.cat-add-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #374151;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: 0.2s;
}

.cat-add-btn:hover {
  background: #eef2ff;
  color: #4f46e5;
  border-color: #c7d2fe;
}

.cat-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.55rem;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  margin-bottom: 4px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.cat-list-item:hover {
  background: #f5f7ff;
  color: #3730a3;
}

.cat-list-item.active {
  background: #eceeff;
  color: #4338ca;
  font-weight: 600;
}

.cat-count-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  padding: 2px 8px;
  border-radius: 20px;
}

.cat-list-item.active .cat-count-badge {
  background: #d8dcff;
  color: #3730a3;
}

/* Center Table Controls */
.im-search-box {
  position: relative;
}

.im-search-box i {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.im-search-box input {
  padding-left: 36px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-size: 0.85rem;
  height: 39px;
}

.im-filter-select {
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-size: 0.84rem;
  height: 39px;
  color: #374151;
}

.im-table thead th {
  background: #f4f6fa;
  color: #374151;
  font-size: 0.8rem;
  font-weight: 600;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.75rem 0.65rem;
  white-space: nowrap;
}

.im-table tbody td {
  padding: 0.65rem 0.65rem;
  vertical-align: middle;
  font-size: 0.64rem;
  color: #1f2937;
  border-bottom: 1px solid #f1f5f9;
}

.im-table tbody tr:hover {
  background-color: #fafbff;
}

.im-thumb {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
  flex-shrink: 0;
}

/* Green Toggle Switch */
.im-switch .form-check-input {
  width: 2.35em;
  height: 1.25em;
  cursor: pointer;
}

.im-switch .form-check-input:checked {
  background-color: #3d9956;
  border-color: #3d9956;
}

/* Action Icon Buttons */
.im-action-btn {
  background: transparent;
  border: none;
  padding: 4px 5px;
  color: #6b7280;
  font-size: 0.92rem;
  border-radius: 6px;
  transition: 0.15s;
}

.im-action-btn:hover {
  background: #f3f4f6;
  color: #111827;
}

.im-action-btn.delete:hover {
  background: #fef2f2;
  color: #dc2626;
}

/* Pagination */
.im-pagination .page-link {
  border: none;
  color: #4b5563;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 8px;
  margin: 0 2px;
  padding: 0.35rem 0.68rem;
}

.im-pagination .page-item.active .page-link {
  background-color: #4338ca;
  color: #ffffff;
}

/* Right Drawer Form Tabs & Inputs */
.im-form-tabs {
  border-bottom: 1px solid #e5e7eb;
  gap: 14px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.im-form-tabs .nav-link {
  border: none;
  border-bottom: 2px solid transparent;
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5rem 0.15rem;
  white-space: nowrap;
  background: transparent;
}

.im-form-tabs .nav-link.active {
  color: #4338ca;
  border-bottom-color: #4338ca;
  font-weight: 600;
}

.im-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
}

.im-input {
  border-radius: 9px;
  border: 1px solid #e2e8f0;
  font-size: 0.74rem;
  padding: 0.45rem 0.75rem;
}

.im-input:focus {
  border-color: #4338ca;
  box-shadow: 0 0 0 0.18rem rgba(67, 56, 202, 0.12);
}

/* Image Preview & Upload Box */
.im-preview-wrap {
  position: relative;
  width: 100%;
  height: 105px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.im-preview-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.im-remove-img {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.75);
  color: #fff;
  border: none;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.im-upload-box {
  height: 105px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  background: #fafbff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.im-upload-box:hover {
  border-color: #4338ca;
  background: #f3f5ff;
}

.im-indigo-check .form-check-input:checked {
  background-color: #4338ca;
  border-color: #4338ca;
}

.btn-indigo {
  background: #4338ca;
  border-color: #4338ca;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 10px;
  padding: 0.5rem 1.25rem;
}

.btn-indigo:hover {
  background: #3730a3;
  border-color: #3730a3;
  color: #ffffff;
}