.smart-invoice-yellow {
  color: #e48a03;
}

.login-button {
  background: linear-gradient(to right, #fde68a, #f59e0b);
  transition: background-color 0.2s;
}

.login-button:hover {
  background-color: #ffdb4d;
}

/* Custom CSS for transitions and animations */
.transition-0\.4s {
  transition-duration: 0.4s;
}

.settings-menu {
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
}

#settings-dropdown-toggle-desktop:checked ~ .settings-menu
 {
  max-height: 500px;
}

#settings-dropdown-toggle-desktop:checked ~ label .settings-arrow
{
  transform: rotate(180deg);
}

/* Mobile menu transitions */
#menu-container {
  transition: opacity 0.3s ease;
}

#mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

#menu-toggle:checked ~ #menu-container {
  display: block;
  opacity: 1;
}

#menu-toggle:checked ~ #menu-container #mobile-menu {
  transform: translateX(0);
}

/* Login button gradient */
.login-button {
  background: linear-gradient(to top, #ffdd55, #ffc107);
}

/* Hide mobile menu by default */
#menu-container {
  display: none;
  opacity: 0;
}

/* Sidebar toggle animation */
.sidebar-toggler svg {
  transition: transform 0.3s ease;
}

/* Collapsed sidebar styles */
.sidebar-collapsed {
  width: 80px !important;
}

.sidebar-collapsed .sidebar-content {
  opacity: 0;
  pointer-events: none;
}

.sidebar-collapsed .logo-text {
  display: none;
}

.sidebar-collapsed .sidebar-toggler {
  right: -12px;
}

.sidebar-collapsed .sidebar-toggler svg {
  transform: rotate(180deg);
}

/* Expanded main content when sidebar is collapsed */
.main-content-expanded {
  margin-left: 300px;
  width: 100%;
}

/* User dropdown styles */
.user-dropdown {
  position: relative;
}

.user-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  width: 200px;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 50;
  border: 1px solid #e5e7eb;
}

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

.user-dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: #374151;
  transition: all 0.2s ease;
  cursor: pointer;
}

.user-dropdown-item:hover {
  background-color: #f9fafb;
}

.user-dropdown-item:first-child {
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
}

.user-dropdown-item:last-child {
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
}

.user-dropdown-divider {
  height: 1px;
  background-color: #e5e7eb;
  margin: 0.25rem 0;
}

.user-dropdown-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  color: #6b7280;
}

.input-field {
  border: 1px solid #e5e7eb;
}

.img-box img {
  max-height: 130px;
  max-width: 100%;
  margin: auto;
}

/* Custom Styles for icon appearance and alignment*/
.status-icon {
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  display: inline-block;
}
.success {
  color: #4caf50;
} /* Standard Green */
.failure {
  color: #f44336;
} /* Standard Red */

.action-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  margin-right: 4px;
  font-size: 12px;
  cursor: pointer;
  color: #2bb723;
  transition: background-color 0.2s;
}

.action-icon2 {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  margin-right: 4px;
  font-size: 12px;
  cursor: pointer;
  color: #ffbb33;
  transition: background-color 0.2s;
}
.action-icon:hover {
  background-color: #e0e0e0;
}
.action-icon.edit {
  color: #1377e2;
}
.action-icon.delete {
  color: #f44336;
}

/* Responsive table styles */
@media (max-width: 768px) {
  .table-container {
    overflow-x: auto;
  }

  .mobile-card {
    display: block;
  }

  .mobile-card .card-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .mobile-card .card-row:last-child {
    border-bottom: none;
  }

  .mobile-card .card-label {
    font-weight: 600;
    color: #6b7280;
  }

  .mobile-card .card-value {
    text-align: right;
  }
}

/* Filter controls responsive */
@media (max-width: 1024px) {
  .filter-controls {
    flex-direction: column;
    gap: 12px;
  }

  .filter-controls > div {
    width: 100%;
  }
}

/* Custom style for the mobile card action dropdown menu */
.mobile-action-menu {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 120px;
}

/* Custom style for general filter menus */
.mobile-filter-menu {
  border-radius: 12px; /* Smoother corners matching the app style */
}

/* Date Picker specific styling to match iPhone 16 - 16.png */
.date-picker-menu {
  width: 300px;
  padding: 16px;
  text-align: center;
}
.date-picker-menu .calendar-day {
  width: 14.28%; /* 1/7th for calendar grid */
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: #4a5568;
}

.mycss {
  
    color: #1377e2;
}

/* Mobile menu transitions */
#sidebar-container {
  transition: opacity 0.3s ease;
}

#sidebar-toggle:checked ~ #sidebar-container {
  display: block;
  opacity: 1;
}

#sidebar-toggle:checked ~ #sidebar-container #mobile-menu {
  transform: translateX(0);
}
        
        /* Date Picker specific styling to match iPhone 16 - 16.png */
        .date-picker-menu {
            width: 300px;
            padding: 16px;
            text-align: center;
        }
        .date-picker-menu .calendar-day {
            width: 14.28%; /* 1/7th for calendar grid */
            height: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            color: #4a5568;
        }

        .nav-pills .nav-link {
            border-radius: .25rem
        }

        .nav-pills .nav-link.active,.nav-pills .show>.nav-link {
            color: #fff;
            padding-left: 25px !important;
            background: linear-gradient(to right, #fde68a, #f59e0b);
            --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
            --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
            box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000) 0 0 #0000, var(--tw-shadow);

        }

        .nav-fill .nav-item,.nav-fill>.nav-link {
            flex: 1 1 auto;
            text-align: center
        }

        .nav-justified .nav-item,.nav-justified>.nav-link {
            flex-basis: 0;
            flex-grow: 1;
            text-align: center
        }

        .bottom-menu .active {
            color: #f59e0b;
        }

       