* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
}

/* Fonts */
@font-face {
  font-family: 'Kumbh Sans';
  src: url('../fonts/KumbhSans-Regular.eot');
  src: url('../fonts/KumbhSans-Regular.eot?#iefix') format('embedded-opentype'),
      url('../fonts/KumbhSans-Regular.woff2') format('woff2'),
      url('../fonts/KumbhSans-Regular.woff') format('woff'),
      url('../fonts/KumbhSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}
 
body {
  font-family: 'Kumbh Sans' !important;
  background-color: #F5F6FA !important;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

ul,
ol {
  padding: 0;
  margin: 0;
}

/* Login page css */
.login_section .login_wrapper{
  box-shadow: 0px 8px 24px 0px #F5F6FA;
  padding: 55px;
  border-radius: 20px;
  max-width: 534px;
  width: 100%;
  background-color: #fff;
  text-align: center;
}
.login_section .login_wrapper .logo{
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}
.login_section .login_wrapper h2{
  font-size: 30px;
  font-weight: 600;
  color: #202224;
  line-height: 1.2;
}
.login_section .login_wrapper p{
  font-size: 16px;
  color: #0000008A;
  line-height: 1.2;
  font-weight: 400;
}
.login_section .login_wrapper form{
  margin-top: 30px;
}
.login_section .login_wrapper form .form_group{
  margin-bottom: 15px;
  text-align: start;
}
.login_section .login_wrapper form .form_group label{
  font-size: 16px;
  color: #202224;
  line-height: 1.2;
  font-weight: 400;
}
.login_section .login_wrapper form .form_group input{
  font-size: 16px;
  color: #202224;
  line-height: 1.2;
  font-weight: 400;
  border: 1px solid #0000001A;
  border-radius: 5px;
  padding: 10px 14px;
  width: 100%;
  height: 40px;
  background-color: #fff;
  outline: none;
}
.login_section .login_wrapper form .form_group input::placeholder{
  font-size: 14px;
  color: #0000008A;
  font-weight: 400;
}
.login_section .login_wrapper form .form_group input:focus{
  outline: none;
}
.login_section .login_wrapper form .form_group input:focus::placeholder{
  color: #0000008A;
}
.login_section .login_wrapper form .btn{
  width: 100%;
  padding: 10px;
  background: #4880FF;
  border: 1px solid #4880FF;
  box-shadow: 0px 1px 2px 0px #1018280D;
  border-radius: 5px;
  font-size: 16px;
  color: #fff;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
  margin-top: 15px;
}

.login_section .login_wrapper form .btn:hover{
  border: 1px solid #4880FF;
  background-color: transparent;
  color: #202224;
}

/* OTP inputs */
.login_section .login_wrapper .otp_group{
  display: flex;
  gap: 25px;
  justify-content: center;
  margin-top: 10px;
}
.login_section .login_wrapper .otp_group .otp-input{
  width: 48px;
  height: 48px;
  text-align: center;
  font-size: 20px;
  border: 1px solid #0000001A;
  border-radius: 8px;
  outline: none;
}
.login_section .login_wrapper .otp_group .otp-input:focus{
  border-color: #4880FF;
  box-shadow: 0px 0px 0px 3px rgba(72, 128, 255, 0.15);
}

/* Dashboard Styles */
.dashboard-container {
  /* display: flex; */
  min-height: 100vh;
  background-color: #F5F6FA;
}

/* Sidebar */
.sidebar {
  width: 280px;
  border-right: 1px solid #0000001A;
  background: #ffffff;
  color: #000000;
  display: flex;
  flex-direction: column;
  transition: width 0.3s ease, transform 0.3s ease;
  position: fixed;
  height: 100vh;
  z-index: 1000;
}

.sidebar.collapsed {
  width: 72px;
}

.sidebar-header {
  padding: 40px ;
  display: flex;
  justify-content: center;
}

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

.logo-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.logo-icon img{
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo-sub {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.8;
}

.hamburger-btn {
  background: none;
  border: none;
  color: #000000;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.3s ease;
}

.hamburger-btn span {
  width: 20px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
}

.hamburger-btn:hover span {
  background: rgba(255, 255, 255, 0.8);
}

.sidebar-nav {
  flex: 1;
  padding: 20px 0;
}

.nav-list {
  list-style: none;
  padding: 0 24px;
  margin: 0;
}

.nav-item {
  margin-bottom: 10px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  color: #000000;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 0 25px 25px 0;
}

.nav-link span{
  transition: opacity 0.2s ease, width 0.2s ease, margin 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.nav-item .nav-link {
  color: #0000008A;
  font-weight: 400;
  padding: 12px 20px;
  display: flex;
  gap: 18px;
  font-size: 16px;
  border-radius: 12px;
}

.nav-item .nav-link.active {
  background: #4880FF;
  color: #ffffff;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0px 8px 24px rgba(72, 128, 255, 0.35);
  position: relative;
}

.nav-item .nav-link.active svg, .nav-item .nav-link:hover svg{
  fill: #ffffff;
  stroke: #ffffff;
}

.nav-item .nav-link.active::before {
  position: absolute;
  content: "";
  top: 0;
  left: -24px;
  height: 100%;
  width: 6px;
  background: #4880FF;
  border-radius: 0 4px 4px 0;
}

.nav-item .nav-link:hover{
  background: #4880FF;
  color: #ffffff;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0px 8px 24px rgba(72, 128, 255, 0.35);
}
/* Collapsed active state: compact pill behind icon */
.sidebar.collapsed .nav-item .nav-link.active{
  padding: 10px 0;
  margin: 0 6px;
  border-radius: 10px;
}
.sidebar.collapsed .nav-item .nav-link{
  display: flex;
  gap: 0;
}

/* Ensure icons inside active link are white as well */
.nav-item .nav-link.active i {
  color: #ffffff;
}

.nav-link i {
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.sidebar-footer {
  padding:0  20px 15px;
}

.logout-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px ;
  background: none;
  border: none;
  color: #000000;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0 25px 25px 0;
  margin-right: 20px;
  width: 100%;
  text-align: left;
}

.logout-btn span{
  transition: opacity 0.2s ease, width 0.2s ease, margin 0.2s ease;
  white-space: nowrap;
}

.logout-btn i {
  font-size: 18px;
  width: 20px;
  text-align: center;
}

/* Main Content */
.main-content {
  margin-left: 280px;
  transition: all 0.3s ease;
  background: white;
  min-height: 100vh;
  overflow-y: hidden;
}

.sidebar.collapsed + .main-content {
  margin-left: 70px;
}

/* Collapsed state: show icons only */
.sidebar.collapsed .logo{
  justify-content: center;
}
.sidebar.collapsed .sidebar-header{
  padding: 24px 0;
}
.sidebar.collapsed .logo-icon{
  width: 36px;
  height: 36px;
}
.sidebar.collapsed .logo-icon img{
  width: 36px;
  height: 36px;
}
.sidebar.collapsed .nav-list{
  padding: 0 10px;
}
.sidebar.collapsed .nav-link{
  justify-content: center;
  padding: 10px 0;
  margin: 0 6px;
  border-radius: 8px;
}
.sidebar.collapsed .nav-link i{
  margin: 0;
  width: 22px;
  text-align: center;
}
.sidebar.collapsed .nav-link span{
  opacity: 0;
  width: 0;
  margin: 0;
  overflow: hidden;
}
.sidebar.collapsed .logout-btn{
  justify-content: center;
  padding: 12px 0;
  margin-right: 0;
}
.sidebar.collapsed .sidebar-footer{
  padding: 0 0 16px;
}
.sidebar.collapsed .logout-btn span{
  opacity: 0;
  width: 0;
  margin: 0;
  overflow: hidden;
}

/* Dashboard Header */
.dashboard-header {
  background: white;
  padding: 20px 30px;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Header hamburger styling on light background */
.dashboard-header .hamburger-btn {
  color: #374151;
}
.dashboard-header .hamburger-btn span {
  background: #374151;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.user-name {
  font-size: 16px;
  font-weight: 600;
  color: #1F2937;
  line-height: 1.2;
}

.user-role {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.2;
}

/* Dashboard Content */
.dashboard-content {
  padding: 20px;
  background: #F5F6FA;
  min-height: calc(100vh - 80px);
}

.dashboard-content .inner_dashboard {
  padding: 20px;
  background-color: #ffffff;
  border-radius: 5px;
}
.content-header {
  margin-bottom: 25px;
}

/* Improve header actions alignment */
.content-header{
  gap: 16px;
  flex-wrap: nowrap;
}
.table-actions{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.dashboard-content .inner_dashboard .content-title {
  font-size: 20px;
  font-weight: 500;
  color: #202224;
  margin: 0;
}

/* Table Container */
.table-container {
  overflow: hidden;
  margin-bottom: 20px;
}
table.companies-table {
  width: 100%;
}

/* Tab 3 Product Detail Table Container - Simple Scroll */
.table-container:has(#productDetailTable) {
  overflow-x: auto;
  max-height: 400px;
  overflow-y: auto;
  /* min-width: fit-content; */
}

/* Data Entry Page Styles */
.bfa-field {
  position: relative;
}

.bfa-field .remove-bfa {
  font-size: 12px;
  padding: 4px 8px;
}

#dataEntryTable input[type="number"] {
  text-align: center;
  font-size: 13px;
}

#dataEntryTable td {
  vertical-align: middle;
}


.companies-table thead {
  background: #F9FAFB;
}

.companies-table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: #202224;
  border-bottom: 1px solid #e6e6e6;
}

.companies-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #e6e6e6;
  vertical-align: middle;
}

/* Add Company - tabs and inputs to match design */
.ac-tabs .nav-link{
  background: #F2F4F7;
  color: #202224;
  padding: 6px 16px;
  border-radius: 6px;
}
.ac-tabs .nav-link.active{
  background: #4880FF;
  color: #fff;
}
/* Remove sidebar-style left bar for active state within Add Company tabs */
.ac-tabs .nav-link.active::before{ display: none !important; content: none !important; }

/* Centered tabs within soft container */
.tabs-center{
  display: flex;
  justify-content: center;
}
.tabs-center .ac-tabs{
  background: #F5F6FA;
  border-radius: 5px;
  padding: 10px;
  display: flex;
  gap: 20px;
}

.tabs-center .ac-tabs .nav-item{
  margin-bottom: 0;
}

.tabs-center .ac-tabs .nav-item button{
  background: #FFFFFF;
  border-radius: 5px;
  padding: 10px 20px;
  color: #0000008A;
  font-size: 16px;
  font-weight: 400;
}

.tabs-center .ac-tabs .nav-item button.active{
  background-color: #4880FF;
  color: #ffffff;
}

.tab-content .tab-pane form label{
  font-size: 16px;
  font-weight: 400;
  color: #202224;
}
.tab-content .tab-pane form input:focus{
  box-shadow: none;
}

.tab-content .tab-pane form input{
  border: 1px solid #0000001A;
  border-radius: 5px;
  width: 100%;
  max-width: 424px;
  padding: 10px 14px;
  font-size: 16px;
  color: #202224;
}

.tab-content .tab-pane form input::placeholder{
  font-size: 14px;
  font-weight: 400;
  color: #0000008A;
}

.tab-content .tab-pane form .upload-logo button{
  border: 1px solid #0000001A;
  border-radius: 5px;
  padding: 10px 14px;
  height: 40px;
}



/* Upload button with small icon chip */
.upload-icon{
  width: 24px;
  height: 24px;
  border: 1px solid #0000001A;
  border-radius: 4px;
}

.companies-table input.form-control.form-control-sm{
  height: 40px;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #0000001A
}

.companies-table input.form-control.form-control-sm:focus{
  border: 1px solid #4880FF;
  box-shadow: none;
}

.add_company_table table tr td {
  border-bottom: 0;
}

.addcompany_company_footer .btn-add-row{
  border: 1px solid #0000001A;
  color: #0000008A;
  font-size: 16px;
  font-weight: 500;
  padding: 5px 10px;
}

.addcompany_company_footer .btn-add-row:hover{
  background-color: #4880FF;
  color: #ffffff;
  border: 1px solid #4880FF;
}

.addcompany_company_footer button.btn-primary{
  background: #4880FF;
  border: 1px solid #4880FF;
  border-radius: 5px;
  padding: 10px 30px;
}
/* Upload logo inline control */
.btn-upload{
  height: 32px;
  padding: 0 12px;
  border: 1px solid #0000001A;
}

.companies-table tbody tr:hover {
  background: #F9FAFB;
}

/* Commission table actions */
.table-actions .btn{
  border: 1px solid #0000001A;
  height: 38px;
  padding: 0 14px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  color: #0000008A;
}
.table-actions .btn:hover{
  background-color: #4880FF;
  color: #ffffff;
  border: 1px solid #4880FF;
}
.table-actions .form-select,
.table-actions .form-control{
  height: 38px;
  border: 1px solid #0000001A;
   border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  color: #0000008A;
}
.table-actions .form-select{
  min-width: 160px;
}
.table-actions .form-control{
  width: 220px;
  max-width: 220px;
}

/* Primary button in actions (Edit data entry) */
.table-actions .btn.btn-primary{
  background-color: #4880FF;
  border-color: #4880FF;
  color: #ffffff;
  height: 38px;
  padding: 0 16px;
  border-radius: 6px;
}
.table-actions .btn.btn-primary:hover{
  background-color: #2f6cf7;
  border-color: #2f6cf7;
}

/* Commission totals footer */
.companies-table tfoot td{
  padding: 14px 20px;
  background: #fff;
  border-bottom: 0;
  border-top: 1px solid #e6e6e6;
}
.companies-table tfoot .text-muted{
  color: #6B7280;
  font-size: 12px;
}

.company-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.company-info span:first-child{
  background-color: #ECECED;
  border-radius: 50%;
  height: 36px;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-icon {
  color: #4880FF;
  font-size: 18px;
}

.companies-table td .action-link {
  color: #0000008A;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.more-actions {
  position: relative;
}

.more-actions .dropdown-menu {
  min-width: 76px;
  background-color: #ffffff;
  box-shadow: 0px 8px 24px 0px #0000001A;
  border: 0;
}

.more-actions .dropdown-menu a{
  color: #0000008A;
  font-size: 14px;
  font-weight: 400;
}
.more-btn {
  background: none;
  border: none;
  color: #6B7280;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.more-btn:hover {
  background: #F3F4F6;
  color: #374151;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 120px;
  z-index: 1000;
  display: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.dropdown-menu.show {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown positioning for last rows */
.dropdown-menu.dropdown-up {
  top: auto;
  bottom: 100%;
  margin-bottom: 4px;
  transform: translateY(10px);
}

.dropdown-menu.dropdown-up.show {
  transform: translateY(0);
}

.more-actions:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 8px 16px;
  color: #374151;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.dropdown-item:hover {
  background-color: #F3F4F6;
  color: #1F2937;
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  align-items: center;
  background: white;
  padding: 16px 20px;
  border-radius: 8px;
}

.pagination-info {
  font-size: 14px;
  color: #6B7280;
}

.pagination-controls {
  display: flex;
  gap: 30px;
}

.pagination-btn {
  border: 0;
  background: white;
  border-radius: 0;
  cursor: pointer;
  color: #202224;
}

.pagination-btn:hover {
  background: #F9FAFB;
  border-color: #9CA3AF;
  color: #374151;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  
  .sidebar.open {
    transform: translateX(0);
  }
  
  .main-content {
    margin-left: 0;
  }
  
  .dashboard-content {
    padding: 20px 15px;
  }
  
  .companies-table {
    font-size: 12px;
  }
  
  .companies-table th,
  .companies-table td {
    padding: 12px 8px;
  }
  .content-header{ flex-wrap: wrap; }
  .table-actions{ flex-wrap: wrap; }
  .table-actions .form-control{ width: 100%; max-width: 100%; }
  
  /* Tab 3 responsive adjustments */
  #productDetailTable {
    min-width: 600px; /* Smaller minimum width on mobile */
    font-size: 11px;
  }
  
  #productDetailTable th,
  #productDetailTable td {
    padding: 8px 4px;
  }
  
  /* Adjust column widths for mobile */
  #productDetailTable th:first-child,
  #productDetailTable td:first-child {
    width: 80px;
    min-width: 80px;
  }
  
  #productDetailTable th:nth-child(2),
  #productDetailTable td:nth-child(2) {
    width: 80px;
    min-width: 80px;
  }
  
  #productDetailTable th:nth-child(3),
  #productDetailTable td:nth-child(3) {
    width: 100px;
    min-width: 100px;
  }
  
  #productDetailTable th:nth-child(n+4),
  #productDetailTable td:nth-child(n+4) {
    width: 70px;
    min-width: 70px;
  }
  
  .table-scroll-indicator {
    font-size: 10px;
    padding: 6px 8px;
  }
}

/* Sales Data page css */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.export-btn {
    background: #fff;
    border: 1px solid #0000001A;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    color: #0000008A;
    cursor: pointer;
    white-space: nowrap;
    min-width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 10px;
}

.export-btn:hover {
    background: #f8f9fa;
    border-color: #007bff;
}

.export-btn i {
    font-size: 16px;
}

/* Table actions styling */
.table-actions {
    gap: 12px !important;
}

.table-actions .btn {
    white-space: nowrap;
}

.table-actions .form-select {
    white-space: nowrap;
}

.table-actions .date-picker {
    white-space: nowrap;
}

/* Expiry & Damage Page Styling - Image 1 Design */
.expiry-damage-container {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.data-entry-form {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.expiry-damage-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    table-layout: fixed;
}

.expiry-damage-table th,
.expiry-damage-table td {
    width: 20%;
}

.expiry-damage-table th:last-child,
.expiry-damage-table td:last-child {
    width: 60px;
    text-align: center;
}

.action-cell {
    text-align: center;
    vertical-align: middle;
}

.remove-row {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.remove-row:hover {
    transform: scale(1.1);
}

.remove-row svg {
    transition: all 0.2s ease;
}

.remove-row:hover svg rect {
    fill: #ff1a1f;
}

.remove-form-btn {
    background: #ff383c;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.remove-form-btn:hover {
    background: #ff1a1f;
    transform: translateY(-1px);
}

.remove-form-btn svg {
    width: 16px;
    height: 16px;
}



.image-preview-item {
    display: inline-block;
    text-align: center;
    margin: 10px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.image-preview-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.image-preview-item div {
    font-size: 12px;
    margin-top: 5px;
    color: #666;
    word-break: break-all;
}

.expiry-damage-table th {
    background: #f8f9fa;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e9ecef;
    font-size: 14px;
}

.expiry-damage-table td {
    padding: 12px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.expiry-damage-table .form-control {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    width: 100%;
    background: white;
    transition: border-color 0.2s ease;
    min-width: 120px;
}

.expiry-damage-table .form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.reference-no-cell {
    background: #f8f9fa;
    font-weight: 500;
    color: #333;
    min-width: 120px;
}

.date-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    position: relative;
}

.date-input-wrapper .date-input {
    background: transparent;
    border: none;
    padding: 0;
    font-weight: 500;
    color: #333;
    width: 100%;
    min-width: 120px;
}

.date-input-wrapper .date-input:focus {
    outline: none;
    box-shadow: none;
}

.date-input-wrapper i {
    color: #666;
    font-size: 14px;
    position: absolute;
    right: 12px;
    pointer-events: none;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.action-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.action-btn i {
    font-size: 14px;
}

.add-reference-section {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}

.add-reference-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-reference-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

/* Header styling for Image 1 */
.content-header {
    margin-bottom: 30px;
}

.content-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.header-controls {
    gap: 15px;
}

.export-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.export-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.date-picker {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-picker input {
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    width: 60px;
}

.date-picker img {
    width: 23px;
    height: 23px;
    opacity: 0.6;
}


.date-picker {
    position: relative;
    display: flex;
    align-items: center;
}

.date-picker img {
  position: absolute;
  right: 5px;
  top: 8px;
  z-index: 0;
}

.date-picker input {
    background: transparent;
    border: 1px solid #0000001A;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    color: #0000008A;
    width: 80px;
    cursor: pointer;
    z-index: 999;
}

.date-picker i {
    position: absolute;
    right: 10px;
    color: #666;
    font-size: 14px;
    pointer-events: none;
}

/* Calendar Popup Styles */
.calendar-popup {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    min-width: 220px;
    display: none;
    margin-top: 5px;
}

.calendar-popup.show {
    display: block;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}

.nav-btn {
    background: none;
    border: none;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-btn:hover {
    background: #f5f5f5;
}

.current-year {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.calendar-body {
    padding: 16px;
}

.month-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.month-item {
    padding: 8px 12px;
    text-align: center;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.month-item:hover {
    background: #f5f5f5;
}

.month-item.selected {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
}

.calendar-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #eee;
}

.footer-btn {
    background: none;
    border: none;
    color: #000000;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.footer-btn:hover {
    background: #f5f5f5;
}

.sales-table-container {
    background: #fff;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.sales-data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}


.sales-data-table th:first-child{
  border-bottom: 0;
}

.sales-data-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    border-bottom: 2px solid #e9ecef;
}

.sales-data-table td {
    padding: 15px 20px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.sales-data-table td:first-child{
  border-bottom: 0;
}


.depot-group .depot-name {
    color: #333;
    font-weight: 700;
    font-size: 15px;
}

.depot-data {
    background: #fff;
}

.depot-data td:first-child {
  color: #202224;
  font-size: 14px;
  font-weight: 400 !important;
}

.depot-data td {
    padding: 12px 20px;
    font-size: 14px;
}

.separator-row td {
    height: 2px;
    padding: 0;
    background: #333;
    border: none;
}

.separator-row td:first-child {
    border-left: none;
}

.separator-row td:last-child {
    border-right: none;
}

/* Responsive adjustments for sales data */
@media (max-width: 768px) {
    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .header-controls {
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
        justify-content: flex-end;
    }
    
    .export-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .date-picker input {
        width: 70px;
        padding: 6px 30px 6px 10px;
    }
    
    .calendar-popup {
        right: 0;
        left: auto;
        min-width: 200px;
    }
    
    .sales-data-table {
        font-size: 12px;
    }
    
    .sales-data-table th,
    .sales-data-table td {
        padding: 10px 12px;
    }
}

/* Depot Dropdown Styles */
.depot-dropdown-container {
  position: relative;
  width: 100%;
}

.depot-search {
  cursor: pointer;
}

.depot-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  max-height: 200px;
  overflow: hidden;
}

.depot-search-box {
  padding: 8px;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
}

.depot-search-box input {
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 4px 8px;
  font-size: 12px;
}

.depot-options {
  max-height: 150px;
  overflow-y: auto;
}

.depot-option {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 12px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
}

.depot-option:hover {
  background-color: #f8f9fa;
}

.depot-option:last-child {
  border-bottom: none;
}

.depot-option.selected {
  background-color: #007bff;
  color: white;
}

.depot-option.highlighted {
  background-color: #e3f2fd;
}

/* Sales vs PD page css */
.sales-vs-pd-table-container {
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.sales-vs-pd-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.sales-vs-pd-table tbody tr:last-child td{
  border-bottom: 0 ;
}

.sales-vs-pd-table th {
    padding: 12px 15px;
    text-align: center;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    border: 1px solid #e9ecef;
}

.sales-vs-pd-table th:first-child {
    text-align: left;
    vertical-align: middle;
}

.sales-vs-pd-table th:nth-child(2) {
    text-align: left;
    vertical-align: middle;
}

.sales-vs-pd-table thead tr:first-child th {
  border-bottom: 1px solid #e9ecef;
  border-top: 0;
  font-size: 14px;
  padding: 12px 15px;
  border-left: 0;
  vertical-align: baseline;
}

.sales-vs-pd-table thead tr:last-child th {
    border-bottom: 1px solid #e9ecef;
    font-size: 12px;
    padding: 8px 15px;
    font-weight: 500;
}

.sales-vs-pd-table td {
    padding: 10px 15px;
    color: #555;
    border: 1px solid #e9ecef;
    text-align: center;
    font-size: 14px;
}

.sales-vs-pd-table td:first-child {
    text-align: left;
    font-weight: 600;
    vertical-align: sub;
    border-left: 0;
    border-right: 00;
    border-bottom: 0;
}

.sales-vs-pd-table td:nth-child(2) {
    text-align: left;
    vertical-align: middle;
}

.depot-group .depot-name {
    color: #333;
    font-weight: 700;
    font-size: 15px;
    vertical-align: middle;
    text-align: center;
}

.depot-data {
    background: #fff;
}

.separator-row td {
    height: 3px;
    padding: 0;
    background: #333 !important;
    border: none !important;
}

.separator-row td:first-child {
    border-left: none;
}

.separator-row td:last-child {
    border-right: none;
}

/* Responsive adjustments for sales vs pd */
@media (max-width: 1200px) {
    .sales-vs-pd-table {
        font-size: 12px;
    }
    
    .sales-vs-pd-table th,
    .sales-vs-pd-table td {
        padding: 8px 6px;
    }
}

/* Depot Dropdown Styles */
.depot-dropdown-container {
  position: relative;
  width: 100%;
}

.depot-search {
  cursor: pointer;
}

.depot-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  max-height: 200px;
  overflow: hidden;
}

.depot-search-box {
  padding: 8px;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
}

.depot-search-box input {
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 4px 8px;
  font-size: 12px;
}

.depot-options {
  max-height: 150px;
  overflow-y: auto;
}

.depot-option {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 12px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
}

.depot-option:hover {
  background-color: #f8f9fa;
}

.depot-option:last-child {
  border-bottom: none;
}

.depot-option.selected {
  background-color: #007bff;
  color: white;
}

.depot-option.highlighted {
  background-color: #e3f2fd;
}

@media (max-width: 768px) {
    .sales-vs-pd-table-container {
        overflow-x: auto;
    }
    
    .sales-vs-pd-table {
        min-width: 800px;
        font-size: 11px;
    }
    
    .sales-vs-pd-table th,
    .sales-vs-pd-table td {
        padding: 6px 4px;
    }
}

/* Depot Dropdown Styles */
.depot-dropdown-container {
  position: relative;
  width: 100%;
}

.depot-search {
  cursor: pointer;
}

.depot-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  max-height: 200px;
  overflow: hidden;
}

.depot-search-box {
  padding: 8px;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
}

.depot-search-box input {
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 4px 8px;
  font-size: 12px;
}

.depot-options {
  max-height: 150px;
  overflow-y: auto;
}

.depot-option {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 12px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
}

.depot-option:hover {
  background-color: #f8f9fa;
}

.depot-option:last-child {
  border-bottom: none;
}

.depot-option.selected {
  background-color: #007bff;
  color: white;
}

.depot-option.highlighted {
  background-color: #e3f2fd;
}

/* Expiry & Damage page css */
.expiry-damage-container {
    background: #fff;
    overflow: hidden;
    margin-top: 20px;
}

.data-entry-form {
    padding: 0;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
}

.expiry-damage-table {
    width: auto;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}
.expiry-damage-table table{
  border: 1px solid #e9ecef;
}

.expiry-damage-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid #e9ecef;
}

.expiry-damage-table th:last-child {
    width: 210px;
    text-align: center;
}

.expiry-damage-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.expiry-damage-table td:last-child {
    text-align: center;
    width: 50px;
}

.reference-no-cell {
    
    font-weight: 500;
    color: #333;
}


.expiry-damage-table .form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    width: 100%;
    background: #fff;
}

.expiry-damage-table .form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.date-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.date-input-wrapper span {
    flex: 1;
    font-weight: 500;
    color: #333;
}

.date-input-wrapper i {
    color: #666;
    font-size: 14px;
    margin-left: 8px;
}

.delete-row-btn {
    background: #dc3545;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

.delete-row-btn:hover {
    background: #c82333;
}

.delete-row-btn i {
    font-size: 12px;
}

.form-actions {
  display: flex;
  gap: 30px;
  margin: 20px;
  justify-content: unset;
  align-items: center;
}

.depot-section {
  display: flex;
  align-items: center;
}

.depot-section .depot-select {
  min-width: 150px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  background: #fff;
  color: #333;
}

.depot-section .depot-select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.action-btn {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    /* margin-left: 20%; */
}

.action-btn:hover {
    background: #f8f9fa;
    border-color: #007bff;
}
.expiry-damage-container > div.data-entry-form > div > button.action-btn.upload-btn {
  margin-left: auto;
}

.add-reference-section {
  text-align: left;
  padding: 20px 10px;
  border-top: 1px solid #e9ecef;
  display: flex;
  gap: 14px;
}

.add-reference-btn {
    background: none;
    border: 1px solid #0000001A;
    color: #0000008A;
    padding: 5px 10px 5px 10px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}

.add-reference-btn:hover {
    color: #0056b3;
}

/* Responsive adjustments for expiry & damage */
@media (max-width: 768px) {
    .expiry-damage-table {
        font-size: 12px;
    }
    
    .expiry-damage-table th,
    .expiry-damage-table td {
        padding: 8px 6px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .action-btn {
        justify-content: center;
    }
}

/* Depot Dropdown Styles */
.depot-dropdown-container {
  position: relative;
  width: 100%;
}

.depot-search {
  cursor: pointer;
}

.depot-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  max-height: 200px;
  overflow: hidden;
}

.depot-search-box {
  padding: 8px;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
}

.depot-search-box input {
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 4px 8px;
  font-size: 12px;
}

.depot-options {
  max-height: 150px;
  overflow-y: auto;
}

.depot-option {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 12px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
}

.depot-option:hover {
  background-color: #f8f9fa;
}

.depot-option:last-child {
  border-bottom: none;
}

.depot-option.selected {
  background-color: #007bff;
  color: white;
}

.depot-option.highlighted {
  background-color: #e3f2fd;
}

/* ADD BFA Field Styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    display: block;
}

.form-group .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-group .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.form-group .form-control::placeholder {
    color: #6c757d;
    font-style: italic;
}

/* OTP page css */

/* Improved Depot Dropdown Styles */
.depot-dropdown-container {
  position: relative;
  width: 100%;
}

.depot-search {
  cursor: pointer;
  background: white;
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 14px;
  transition: all 0.2s ease;
  width: 100%;
}

.depot-search:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  outline: none;
}

.depot-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ced4da;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  max-height: 250px;
  overflow: visible;
  margin-top: 2px;
  min-width: 200px;
}

.depot-search-box {
  padding: 10px;
  border-bottom: 1px solid #e9ecef;
  background: #f8f9fa;
  border-radius: 6px 6px 0 0;
}

.depot-search-box input {
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 13px;
  width: 100%;
  background: white;
  transition: border-color 0.2s ease;
}

.depot-search-box input:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  outline: none;
}

.depot-options {
  max-height: 180px;
  overflow-y: auto;
  background: white;
  position: relative;
}

.depot-options::-webkit-scrollbar {
  width: 6px;
}

.depot-options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.depot-options::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.depot-options::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.depot-option {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 13px;
  color: #495057;
  border-bottom: 1px solid #f8f9fa;
  transition: all 0.2s ease;
  position: relative;
}

.depot-option:hover {
  background-color: #f8f9fa;
  color: #212529;
}

.depot-option:last-child {
  border-bottom: none;
  border-radius: 0 0 6px 6px;
}

.depot-option.selected {
  background-color: #007bff;
  color: white;
}

.depot-option.highlighted {
  background-color: #e3f2fd;
  color: #1976d2;
  font-weight: 500;
}

.depot-option:active {
  background-color: #0056b3;
  color: white;
}

/* Depot Select Styling */
.depot-select {
  background: white;
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #212529;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 40px;
  width: 100%;
  min-width: 180px;
  min-height: 42px;
  line-height: 1.5;
  vertical-align: middle;
  display: flex;
  align-items: center;
}

.depot-select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  outline: none;
  background-color: #fff;
}

.depot-select:hover {
  border-color: #007bff;
  background-color: #f8f9fa;
}

.depot-select option {
  padding: 12px 15px;
  color: #212529;
  font-size: 14px;
  font-weight: 400;
  background-color: white;
  line-height: 1.5;
  height: auto;
  min-height: 36px;
}

.depot-select option:hover {
  background-color: #e9ecef;
  color: #212529;
}

.depot-select option:checked {
  background-color: #007bff;
  color: white;
  font-weight: 500;
}

.depot-select option:focus {
  background-color: #e9ecef;
  color: #212529;
}

/* Cloned Reference Container Styles */
.cloned-reference-container {
  /* margin-bottom: 30px;
  padding: 20px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  background-color: #f8f9fa; */
  position: relative;
}

.cloned-reference-container .expiry-damage-form-content-wrapper {
  background-color: white;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.remove-form-btn {
  position: relative;
  top: 33px;
  left: 98%;
  background-color: #dc3545 !important;
  color: white !important;
  border: none;
  padding: 8px 12px;
  border-radius: 100%;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 10;
  height: 33px;
  width: 35px;
}

.remove-form-btn:hover {
  background-color: #c82333 !important;
}

.remove-form-btn i {
  font-size: 12px;
}

/* Image Preview Styles */
.image-preview-container {
  margin-top: 15px;
  padding: 15px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  background-color: #f8f9fa;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
}

.image-preview-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.image-preview-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.remove-image-btn {
    position: absolute;
    top: 0px;
    right: 1px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 15px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.remove-image-btn:hover {
  opacity: 1;
}


.inner_dashboard #tab3 #tab3Form .companies-table th{
  min-width: 125px;
}

.tab-content .tab-pane form input[type=radio] {
    width: 10px;
    height: 10px;
    background-size: 19px;
    border-radius: 50%;
    padding: 8px;
}

#commission-page .table-container .companies-table tr th{
  min-width: 200px;
}



