
:root {
  --primary-color: #4f46e5;
  --primary-dark: #4338ca;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --text-primary-light: #1f2937;
  --text-secondary-light: #6b7280;
  --border-light: #E5E7EB;
  --success-bg: #d1fae5;
  --success-text: #065f46;
  --input-border: #d1d5db;
  --bg-dark: #111827;
  --bg-darker: #1f2937;
  --text-primary-dark: #f9fafb;
  --text-secondary-dark: #d1d5db;
  --border-dark: #374151;
  --input-bg-dark: #374151;
  --table-bg-dark: #566c8a;
  --danger: #ffd6d6;
  --border-danger: #dea7a7;
  --warning: #fff3cd;
  --dark-mode-hover: #797b7e;
  --bg-card-light: #F0F4FF;
  --dark-border: #334155;
}
body {
  background-color: var(--bg-light);
  color: var(--text-primary-light);
  transition: background-color 0.3s, color 0.3s;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", sans-serif;
}
.header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: #4f46e5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}
.logo-text h2 {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}
.logo-text p {
  font-size: 12px;
  color: #6b7280;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.user-section {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  margin-left: 16px;
}
.avatar {
  width: 32px;
  height: 32px;
  background: #4f46e5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}
.notification-badge {
  position: relative;
  width: 20px;
  height: 20px;
}
.badge {
  background: #ef4444;
  color: #fff;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}
.icon-badge{
  top: -4px;
  right: -4px;
  position: absolute;
}
.nav-tabs {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 24px;
  display: flex;
  gap: 2px;
}
.nav-item {
  padding: 12px 12px;
  border-bottom: 3px solid #fff0;
  cursor: pointer;
  font-size: 14px;
  color: #6b7280;
  transition: all 0.3s;
  white-space: nowrap;
}
.user-section {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s;
  position: relative;
}
.user-section:hover {
  background-color: var(--hover-bg);
}
.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
}
.user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.user-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}
.user-role {
  font-size: 12px;
  color: var(--text-secondary);
}
.user-icon {
  font-size: 20px;
  color: var(--text-secondary);
  transition: transform 0.3s;
}
.user-section.active .user-icon {
  transform: rotate(180deg);
}
.nav-item.active {
  color: #4f46e5;
  border-bottom-color: #4f46e5;
}
.container {
  display: flex;
  gap: 0;
  height: calc(100vh - 110px);
}
.sidebar {
  width: 267px;
  background: #fff;
  border-right: 1px solid #e5e7eb;
  padding: 16px;
  overflow-y: auto;
  transition: transform 0.3s ease, width 0.3s ease;
}
.sidebar.hidden {
  transform: translateX(-100%);
  width: 0;
  border-right: none;
}
.sidebar-item {
  padding: 12px 16px;
  margin-bottom: 8px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #374151;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-item.active {
  background: #4f46e5;
  color: #fff;
}
.sidebar-item:hover {
  background: #f3f4f6;
}
.sidebar-item.active:hover {
  background: #4338ca;
}
.sidebar-badge {
  background: #e5e7eb;
  color: #6b7280;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.sidebar-item.active .sidebar-badge {
  background: rgb(255 255 255 / 0.3);
  color: #fff;
}
.sidebar-label {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 8px;
  padding: 0 16px;
}
.main-content {
  margin: auto;
  width: 100%;
  max-width: 80%;
  background: white;
  padding: 24px;
  transition: flex 0.3s ease;
}
.dashboard-header {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.dashboard-title h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}
.dashboard-title p {
  font-size: 14px;
  color: #6b7280;
}
.time-range {
  display: flex;
  align-items: center;
  gap: 8px;
}
.time-range label {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}
.time-range select {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.card-title {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
}
.card-icon {
  width: 24px;
  height: 24px;
  background: #f0f4ff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.metric {
  margin-bottom: 16px;
}
.metric-label {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.metric-value {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}
.progress-bar {
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: #22c55e;
  border-radius: 3px;
}
.metric-highlight {
  color: #22c55e;
  font-weight: 600;
}
.section-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
}
.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 16px;
}
.chart-container {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.chart-placeholder {
  color: #9ca3af;
  font-size: 14px;
  text-align: center;
}
.icon-info {
  width: 16px;
  height: 16px;
  background: #d1d5db;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  cursor: help;
}
.page-section {
  display: none;
}
.page-section.active {
  display: block;
}
.empty-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
}
.empty-page h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}
.empty-page p {
  font-size: 14px;
  color: #6b7280;
}
.dropdown-menu {
  position: absolute;
  top: 60px;
  right: 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
  min-width: 280px;
  z-index: 1000;
  display: none;
}
.dropdown-menu.active {
  display: block;
}
.dropdown-header {
  padding: 16px;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 12px;
}
.dropdown-avatar {
  width: 44px;
  height: 44px;
  background: #4f46e5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.dropdown-user-info h3 {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}
.dropdown-user-info p {
  font-size: 12px;
  color: #6b7280;
}
.dropdown-item {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: #374151;
  transition: background 0.2s;
  border-bottom: 1px solid #f3f4f6;
}
.dropdown-item:last-child {
  border-bottom: none;
}
.dropdown-item:hover {
  background: #f9fafb;
}
.dropdown-item.sign-out {
  color: #ef4444;
}
.dropdown-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: #6b7280;
  padding: 4px 8px;
  margin-right: 12px;
}
.hamburger-btn.active {
  color: #4f46e5;
}
@media (max-width: 1024px) {
  .hamburger-btn {
    display: block;
  }
}
.btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-cancel {
  background-color: #fff;
  color: #666;
  border: 1px solid #ddd;
}
body.dark-mode .btn-cancel {
  background-color: #2d2d3d;
  color: #ccc;
  border-color: #444;
}
.btn-cancel:hover {
  background-color: #f5f5f5;
}
body.dark-mode .btn-cancel:hover {
  background-color: #3d3d4d;
}
.btn-primary {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 12px rgb(74 144 226 / 0.3);
}
.btn-primary:hover {
  box-shadow: 0 6px 16px rgb(74 144 226 / 0.4);
  transform: translateY(-2px);
}
.btn-primary:active {
  transform: translateY(0);
}
.form-input,
.form-select {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: #333;
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.error-form-select{
    border: 1px solid #e74c3c;

}
body.dark-mode .form-input,
body.dark-mode .form-select {
  background-color: var(--input-bg-dark);
  color: var(--text-primary-dark);
  border-color: var(--border-dark);
}
.form-input {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: #333;
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
  .disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
body.dark-mode .form-input {
  background-color: var(--input-bg-dark);
  color: var(--text-primary-dark);
  border-color: var(--border-dark);
}
.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgb(79 70 229 / 0.1);
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgb(79 70 229 / 0.1);
}
body.dark-mode {
  background-color: var(--bg-darker);
}
body.dark-mode .header {
  background: #111827;
  border-bottom-color: #374151;
}
body.dark-mode .logo-text h2,
body.dark-mode .dashboard-title h1,
body.dark-mode .card-title,
body.dark-mode .section-title,
body.dark-mode .empty-page h2 {
  color: #f3f4f6;
}
body.dark-mode .logo-text p,
body.dark-mode .dashboard-title p,
body.dark-mode .metric-label,
body.dark-mode .time-range label,
body.dark-mode .empty-page p,
body.dark-mode .chart-placeholder,
body.dark-mode .sidebar-label {
  color: #9ca3af;
}
body.dark-mode .nav-tabs {
  background: #111827;
  border-bottom-color: #374151;
}
body.dark-mode .nav-item {
  color: #9ca3af;
}
body.dark-mode .nav-item.active {
  color: #60a5fa;
  border-bottom-color: #60a5fa;
}
body.dark-mode .sidebar {
  background: #111827;
  border-right-color: #374151;
}
body.dark-mode .sidebar-item {
  color: #e5e7eb;
}
body.dark-mode .sidebar-item:hover {
  background: #374151;
}
body.dark-mode .sidebar-item.active {
  background: #1f46cc;
}
body.dark-mode .sidebar-item.active:hover {
  background: #1f37aa;
}
body.dark-mode .sidebar-badge {
  background: #374151;
  color: #d1d5db;
}
body.dark-mode .main-content {
  background: #1f2937;
}
body.dark-mode .card {
  background: #111827;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.3);
}
body.dark-mode .card-icon {
  background: #1f3a8a;
}
body.dark-mode .metric-value {
  color: #f3f4f6;
}
body.dark-mode .progress-bar {
  background: #374151;
}
body.dark-mode .chart-container {
  background: #111827;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.3);
}
body.dark-mode .time-range select {
  background: #1f2937;
  border-color: #374151;
  color: #f3f4f6;
}
body.dark-mode .dropdown-menu {
  background: #111827;
  border-color: #374151;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.5);
}
body.dark-mode .dropdown-header {
  border-bottom-color: #374151;
}
body.dark-mode .dropdown-user-info h3 {
  color: #f3f4f6;
}
body.dark-mode .dropdown-user-info p {
  color: #9ca3af;
}
body.dark-mode .dropdown-item {
  color: #e5e7eb;
  border-bottom-color: #374151;
}
body.dark-mode .dropdown-item:hover {
  background: #1f2937;
}
body.dark-mode .hamburger-btn {
  color: #9ca3af;
}
body.dark-mode .hamburger-btn.active {
  color: #60a5fa;
}
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 4px 8px;
  transition: transform 0.2s;
}
.theme-toggle:hover {
  transform: scale(1.1);
}
.material-icons {
  font-family: "Material Icons";
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary-light);
}
body.dark-mode .form-label {
  color: var(--text-primary-dark);
}
body.dark-mode .filter-section {
  background: var(--bg-dark);
  border: 1px solid var(--bg-dark);
}
body.dark-mode .filter-label {
  color: var(--bg-white);
}
body.dark-mode .table-wrapper {
  background-color: var(--bg-dark);
}
body.dark-mode .table-wrapper p {
  color: var(--bg-white);
}
body.dark-mode .staff-info h3 {
  color: var(--bg-white);
}
body.dark-mode .department-info h4 {
  color: var(--bg-white);
}
body.dark-mode .hire-date {
  color: var(--bg-white);
}
body.dark-mode tbody tr:hover {
  background-color: #6a6d71;
}
body.dark-mode .table-wrapper thead {
  background: var(--bg-dark);
}
body.dark-mode td {
  border-bottom: 1px solid var(--table-bg-dark);
}
body.dark-mode .table-wrapper {
  border: 1px solid var(--bg-dark);
}
body.dark-mode .pagination-wrapper {
  background-color: var(--bg-dark);
  border-top: 1px solid var(--table-bg-dark);
}
body.dark-mode .pagination-wrapper span {
  color: var(--bg-white);
}
body.dark-mode .table-wrapper th {
  color: var(--bg-white);
}
body.dark-mode .material-icons {
  color: var(--bg-white) !important;
}
body.dark-mode .search-input,
body.dark-mode .filter-select {
  background-color: var(--input-bg-dark);
  color: var(--text-primary-dark);
  border-color: var(--border-dark);
}
body.dark-mode .user-info {
  color: var(--bg-white);
}
.form-error {
font-size: 0.75rem;
color: #e74c3c;
margin-top: 0.375rem;
display: flex;
align-items: center;
gap: 0.25rem;
}
body.dark-mode .form-error {
  color: #ff6b6b;
}
  .form-error .material-icons {
  font-size: 0.875rem;
}
.error-form-input {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: #333;
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.error-form-input {
    border-color: #e74c3c;
}
.error-form-input:focus {
    border-color: #e74c3c;
}
.btn-icon {
    background-color: var(--bg-white);
    color: var(--text-primary-light);
    border: 1px solid var(--border-light);
    width: 100%;
    justify-content: center;
}

.btn-icon:hover {
    background-color: var(--bg-light);
}

.btn-danger {
  background-color: var(--danger);
  color: var(--status-error);
  border: 1px solid var(--border-danger);
  width: 100%;
  justify-content: center;
}

.btn-danger:hover {
  background-color: #FCA5A5;
}

body.dark-mode .dark-txt{
color: var(--bg-light);
}
body.dark-mode .dark-txt-no-hover{
color: var(--bg-light);
}
body.dark-mode :hover.dark-txt{
 background-color: var(--dark-mode-hover);
}
 .card {
            background-color: var(--bg-white);
            border: 1px solid var(--border-light);
            border-radius: 12px;
            padding: 24px;
        }

      

        .tab-nav {
            display: flex;
            gap: 24px;
            border-bottom: 1px solid var(--border-light);
            margin-bottom: 24px;
        }

        .tab-item {
            padding: 12px 0;
            cursor: pointer;
            color: var(--text-secondary-light);
            font-weight: 500;
            border-bottom: 2px solid transparent;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .tab-item.active {
            color: var(--primary-color);
            border-bottom-color: var(--primary-color);
        }

        .info-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            margin-bottom: 16px;
        }

        .info-item {
            display: flex;
            flex-direction: column;
        }

        .info-label {
            font-size: 13px;
            color: var(--text-secondary-light);
            margin-bottom: 4px;
            font-weight: 500;
        }

        .info-value {
            font-size: 14px;
            color: var(--text-primary-light);
            font-weight: 500;
        }

        .info-value-link {
            color: var(--primary-color);
            text-decoration: none;
            cursor: pointer;
        }

        .info-value-link:hover {
            text-decoration: underline;
        }

      
        .stat-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 0;
            /* border-bottom: 1px solid var(--border-light); */
        }
        .stat-item-stat{
          border-bottom: 1px solid var(--border-light);
          padding: 16px 0;
        }

        .stat-item:last-child {
            border-bottom: none;
        }

        .stat-label {
            color: var(--text-secondary-light);
            font-size: 14px;
        }

        .stat-value {
            color: var(--text-primary-light);
            font-weight: 600;
            font-size: 14px;
        }

        .stat-badge {
            background-color: #FBBF24;
            color: #92400E;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
        }

        .progress-bar {
            width: 100%;
            height: 6px;
            background-color: var(--border-light);
            border-radius: 3px;
            overflow: hidden;
            margin-top: 4px;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #4F46E5, #7C3AED);
            border-radius: 3px;
        }

        .member-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 0;
            border-bottom: 1px solid var(--border-light);
        }

        .member-item:last-child {
            border-bottom: none;
        }

        .member-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: linear-gradient(135deg, #4F46E5, #7C3AED);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 12px;
        }

        .member-info {
            display: flex;
            flex-direction: column;
        }

        .member-name {
            font-size: 14px;
            font-weight: 500;
            color: var(--text-primary-light);
        }

        .member-role {
            font-size: 12px;
            color: var(--text-secondary-light);
        }

        .project-card {
            background-color: var(--bg-card-light);
            border: 1px solid var(--border-light);
            border-radius: 12px;
            padding: 20px;
            display: flex;
            align-items: center;
            gap: 16px;
            transition: all 0.3s;
            cursor: pointer;
        }

        body.dark-mode .project-card {
            background-color: var(--bg-card-dark);
            border-color: var(--border-dark);
        }

        .project-card:hover {
            box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
            transform: translateY(-2px);
        }

        .project-icon {
            width: 56px;
            height: 56px;
            background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            flex-shrink: 0;
        }

        .project-content {
            flex: 1;
        }

        .project-label {
            font-size: 12px;
            font-weight: 600;
            color: var(--primary-color);
            letter-spacing: 0.5px;
            margin-bottom: 4px;
        }

        .project-title {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-primary-light);
            margin-bottom: 2px;
        }

        body.dark-mode .project-title {
            color: var(--text-primary-dark);
        }

        .project-code {
            font-size: 14px;
            color: var(--text-secondary-light);
        }

        body.dark-mode .project-code {
            color: var(--text-secondary-dark);
        }
.checkbox{
  width: 16px !important;
}
.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltiptext {
  visibility: hidden;
  width: 530px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}
.tooltip .material-icons{
  font-size: 13px;
}
.multi-select-container {
    position: relative;
}

.multi-select-trigger {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background-color: var(--bg-light);
    color: var(--text-primary-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    min-height: 44px;
}

body.dark-mode .multi-select-trigger {
    background-color: var(--bg-secondary-dark);
    border-color: var(--border-dark);
    color: var(--text-primary-dark);
}

.multi-select-trigger:hover {
    border-color: var(--primary-color);
}

.multi-select-trigger.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.multi-select-content {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.multi-select-placeholder {
    color: var(--text-secondary-light);
}

body.dark-mode .multi-select-placeholder {
    color: var(--text-secondary-dark);
}

.selected-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.selected-tag button {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.selected-tag button:hover {
    opacity: 1;
}

.multi-select-icon {
    display: flex;
    align-items: center;
    color: var(--text-secondary-light);
    transition: transform 0.3s ease;
}

body.dark-mode .multi-select-icon {
    color: var(--text-secondary-dark);
}

.multi-select-icon.active {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.multi-select-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
    z-index: 50;
    max-height: 300px;
    overflow-y: auto;
    animation: slideDown 0.2s ease;
}

body.dark-mode .multi-select-dropdown {
    background-color: var(--bg-secondary-dark);
    border-color: var(--border-dark);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.multi-select-option {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid var(--border-light);
}

body.dark-mode .multi-select-option {
    border-color: var(--border-dark);
}

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

.multi-select-option:hover {
    background-color: var(--bg-secondary-light);
}

body.dark-mode .multi-select-option:hover {
    background-color: var(--bg-dark);
}

.multi-select-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.multi-select-option label {
    flex: 1;
    cursor: pointer;
    color: var(--text-primary-light);
}

body.dark-mode .multi-select-option label {
    color: var(--text-primary-dark);
}

.multi-select-search {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    background-color: var(--bg-light);
    z-index: 10;
}

body.dark-mode .multi-select-search {
    background-color: var(--bg-secondary-dark);
    border-color: var(--border-dark);
}

.multi-select-search input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background-color: var(--bg-secondary-light);
    color: var(--text-primary-light);
    font-size: 14px;
    transition: all 0.2s;
}

body.dark-mode .multi-select-search input {
    background-color: var(--bg-dark);
    border-color: var(--border-dark);
    color: var(--text-primary-dark);
}

.multi-select-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}


        body.dark-mode .profile-card {
            background-color: #2d2d3d;
            border-color: #444;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

  

        .profile-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .profile-avatar {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: linear-gradient(135deg, #1ba098 0%, #0d9488 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.75rem;
            font-weight: 600;
            flex-shrink: 0;
            box-shadow: 0 2px 8px rgba(27, 160, 152, 0.3);
        }

        .profile-info h3 {
            font-size: 1.125rem;
            font-weight: 700;
            color: #000;
            margin-bottom: 0.375rem;
        }

        body.dark-mode .profile-info h3 {
            color: #fff;
        }

        .profile-badges {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
        }

   .profile-subtitle {
            font-size: 0.875rem;
            color: #666;
        }

        body.dark-mode .profile-subtitle {
            color: #999;
        }

        .profile-divider {
            height: 1px;
            background-color: #e5e5e5;
            margin: 1rem 0;
        }

        body.dark-mode .profile-divider {
            background-color: #444;
        }

        .profile-actions {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }


        .expenses-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 24px;
            border-bottom: 1px solid var(--border-light);
        }

        .header-title {
            font-size: 20px;
            font-weight: 600;
            color: var(--text-primary-light);
        }

        .header-user {
            color: var(--text-secondary-light);
            font-size: 14px;
        }

