:root {
    --body-bg-color: #e7ecf1;
    --main_color: #fbdbdb;
    --btn-bg_color: #f9d5d5;
    --btn-bg-active: #f7baba;
}


/* Side Nav customs css */
/* Sidebar */
/* .sidebar {
    height: 100vh;
    padding-top: 1rem;
    background: white;
    border-right: 1px solid #e6e9f0;
    min-width: 230px;
    margin-top: 55px;
} */
.sidebar {
    position: fixed;      /* Fixes sidebar */
    top: 55px;            /* Keeps margin from top (instead of margin-top) */
    left: 0;
    height: calc(100vh - 55px); /* Adjust height minus top header */
    width: 230px;         /* Fixed width */
    padding-top: 1rem;
    background: white;
    border-right: 1px solid #e6e9f0;
    z-index: 1000;        /* Keeps it above other content */
}

.sidebar .brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1rem 1rem 1rem;
    border-bottom: 1px solid #e6e9f0;
    margin-bottom: 1rem;
}

.sidebar .brand-icon {
    background-color: #2563eb;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar .brand-icon i {
    color: white;
    font-size: 1.3rem;
}

.sidebar .brand-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #111827;
    line-height: 1.1;
}

.sidebar .brand-subtitle {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Sidebar nav links */
.sidebar .nav-link {
    font-weight: 600;
    color: #374151;
    padding: 0.625rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 0.625rem;
    margin-bottom: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 1rem;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
    background-color: var(--main_color);
    /* color: #fbdbdb; */
}

.sidebar .nav-link i {
    font-size: 1.2rem;
}

/* header nav css */
/* User profile */
.header_nav{
    border-bottom: 1px solid #dee2e6;
    background-color: var(--main_color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #ddd;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    user-select: none;
}

.user-info small {
    display: block;
    color: #9ca3af;
    font-weight: 400;
    font-size: 0.75rem;
    margin-top: 0;
}

.user-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e6e9f0;
}

.header_nav-icon {
    /* background-color: #2563eb; */
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_nav-icon i {
    color: white;
    font-size: 1.3rem;
}

.header_nav-icon img {
    width: 40px;
    border-radius: 6px;
}

.header_nav-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #111827;
    line-height: 1.1;
}

.header_nav-subtitle {
    font-size: 0.85rem;
    color: #6b7280;
}

.content {
    padding: 1rem;
    flex-grow: 1;
    min-width: 0;
    background-color: var(--body-bg-color);
    margin-top: 55px;          /* pushes below fixed header */
    margin-left: 230px;        /* pushes right of fixed sidebar */
}

h1 {
    margin: 0 0 5px 0;
    font-size: 22px;
}

p.description {
    margin: 0 0 18px 0;
    color: #666;
    font-size: 14px;
}

.add-btn{
    background-color: var(--btn-bg_color);
}

.add-btn:hover{
    background-color: var(--btn-bg-active);
}

a{
    text-decoration: none !important
}

i{
  cursor: pointer;
}

/*  main content header */
  /* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e6e9f0;
    padding-bottom: 1rem;
    /* margin-bottom: 1.5rem; */
  }

  .header-left {
    display: flex;
    flex-direction: column;
  }

  .header-left h2 {
    font-weight: 700;
    font-size: 1.375rem;
    color: #111827;
    margin-bottom: 0.2rem;
  }

  .header-left p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
  }

  /* Search and filters */
  .filters {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
  }
  .search-input {
    flex-grow: 1;
    min-width: 250px;
  }

  /* Project card */
  .project-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.05);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    flex-grow: 1;
  }

  .project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
  }

.project-title {
    font-weight: 700;
    font-size: 15px !important;
    color: #111827;
    margin-top: 24px;
    min-height: 35px;
    max-height: 35px;
}

  .badge-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    user-select: none;
    white-space: nowrap;
  }

  .badge-active {
    background-color: #dcfce7;
    color: #22c55e;
    float: inline-end;
  }

  .badge-completed {
    background-color: #dbeafe;
    color: #3b82f6;
  }

  .project-desc {
    color: #6b7280;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
  }

  /* Progress bar */
  .progress-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: #374151;
  }

  .progress-values {
    display: flex;
    justify-content: space-between;
    font-weight: 400;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.1rem;
  }

  /* Badges & icons for due, employees, remaining */
  .info-list {
    margin-top: 0.7rem;
    font-size: 0.9rem;
    color: #374151;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .info-item i {
    font-size: 1.05rem;
    color: #6b7280;
    min-width: 1.15rem;
    text-align: center;
  }

  .overdue-text {
    color: #dc2626;
    font-weight: 600;
  }

  .due-date {
    color: #374151;
  }

  .due-wrapper {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    font-weight: 600;
  }

  .due-wrapper .bi-calendar3 {
    color: #6b7280;
  }


  /* Made in Bolt badge */
  .bolt-badge {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
    font-weight: 600;
    padding: 0.3rem 0.7rem 0.3rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: #111827;
    user-select: none;
  }

  .bolt-badge svg {
    width: 18px;
    height: 18px;
    fill: #000;
  }

  /* Responsive grid for projects */
  /* .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem 1.5rem;
  } */

  .steward{
    background: #0d6efd;
    color: #fff;
    padding: 0px 14px;
    width: fit-content;
  }
  .steward:hover{
    background: #0b5ed7;
    color: #fff;
  }
  .total_active_time{
    background-color: #b1f2ff;
    margin-left: auto;
    padding: 7px;
    border: 1px solid #89bbc5;
    font-size: 13px;
  }

  .select2-container .select2-selection--single {
      height: 35px !important;
  }

  .select2-container--default .select2-selection--single .select2-selection__rendered {
      line-height: 34px !important;
  }

  tbody tr td{
    vertical-align: middle !important;
    font-size: 12px;
  }
  thead tr th{
    vertical-align: middle !important;
    font-size: 14px;
  }