#notification-holder {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

#notification-holder:hover {
  background-color: #2ecc7054;
  border-radius: 100vw;
}

#notification-holder > img {
  width: 2rem;
  height: 2rem;
}

/* Notification count badge */
.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--notification-color, #e6a721);
  color: #fff;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0 4px;
  border: 2px solid #fff;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#notification-holder.show-notif::after {
  content: "";
  position: absolute;
  top: 0;
  left: 60%;
  background-color: var(--notification-color);
  width: 0.75rem;
  height: 0.75rem;
  border: 1px solid #fff;
  border-radius: 100vw;
  display: none; /* Hide the old indicator, use badge instead */
}

#notification-popup {
  display: none;
  position: fixed !important;
  background-color: #fff;
  border: 1px solid #b9b9b9;
  border-radius: 0.5rem;
  z-index: 2147483647 !important; /* Maximum z-index value */
  min-width: 20rem;
  max-width: 24rem;
  max-height: 25rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  overflow: visible !important;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  isolation: isolate !important; /* Create new stacking context */
  contain: layout style paint !important; /* Isolate rendering */
  transform: translateZ(0) !important; /* Force hardware acceleration and new stacking context */
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
}

.nav-icons #notification-popup {
  position: fixed !important;
  z-index: 2147483647 !important;
  isolation: isolate !important;
}

#notification-popup.show {
  display: flex !important;
  flex-direction: column !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: fixed !important;
  z-index: 2147483647 !important; /* Maximum z-index value */
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: auto !important;
  transform: translateZ(0) !important; /* Force hardware acceleration */
  will-change: transform !important;
  isolation: isolate !important;
  contain: layout style paint !important;
  overflow: visible !important;
  overflow-y: auto !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
}

/* Popup header */
#notification-popup-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
  background-color: #f8f9fa;
}

#notification-popup-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #222;
}

#mark-all-read {
  background: none;
  border: none;
  color: var(--primary-color, #075d46);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.2s;
}

#mark-all-read:hover {
  background-color: #e0e0e0;
}

/* Notification list container */
#notification-popup > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
}

#notification-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.notification-item {
  position: relative;
  margin: 0;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
  border-bottom: 1px solid #f0f0f0;
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item:hover {
  background-color: #f5f5f5;
}

.notification-item.unread {
  background-color: #f0f7ff;
  border-left: 3px solid var(--notification-color, #e6a721);
}

.notification-item.show-indicator::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 1rem;
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--notification-color);
  border-radius: 100vw;
}

.notification-item p {
  margin: 0;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
  color: #333;
  font-size: 0.9rem;
}

.notification-item .item-created-at {
  font-size: 0.75rem;
  color: #8b8b8b;
  margin-top: 0.25rem;
  display: block;
}

#notification-loading,
#notification-empty {
  padding: 1rem;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
}

/* Mobile responsive styles for notification popup */
@media (max-width: 767px) {
  #notification-popup {
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 64px !important;
    min-width: unset;
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100vh - 72px - 64px) !important;
    min-height: unset;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: 1px solid #b9b9b9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2147483647 !important;
  }
  
  #notification-popup.show {
    position: fixed !important;
    z-index: 2147483647 !important;
    isolation: isolate !important;
    transform: translateZ(0) !important;
  }

  #notification-popup-header {
    padding: 0.75rem 1rem;
  }

  #notification-popup-header h3 {
    font-size: 0.95rem;
  }

  #mark-all-read {
    font-size: 0.8rem;
    padding: 0.2rem 0.4rem;
  }

  .notification-item {
    padding: 0.75rem 1rem;
  }

  .notification-item p {
    width: calc(100% - 2rem);
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
  }

  .notification-item .item-created-at {
    font-size: 0.7rem;
    margin-top: 0.25rem;
    display: block;
  }

  .notification-item.show-indicator::after {
    right: 0.75rem;
    top: 50%;
  }

  .notification-badge {
    min-width: 16px;
    height: 16px;
    font-size: 0.65rem;
    top: -2px;
    right: -2px;
  }
}
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --background-color: #f7efef;
  --foreground-color: #222222;
  --mute-primary-color: #496b6c;
  --primary-color: #075d46;
  --primary-light-color: #36a587;
  --primary-hover-color: #084131;
  --notification-color: #e6a721;
  --header-bg-color: #fffbfb;
  --success-bg-color: #f0faf7;
  --success-text-color: #30c491;
  --danger-bg-color: #fdf1f0;
  --danger-text-color: #dc383c;
  --gray-bg-color: #dbdbdb;
  --gray-text-color: #868686;
  --gray-color: #bdc3c7;
  --text-mute-color: #666666;
  --profile-dark-bg: #3a6963;
  --profile-bg: #dde9e0;
  --profile-dark-text-color: #246d6d;
  --profile-text-color: #84b4ad;
}

body {
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(to bottom, #d5e9ec, #f3f3c5);
  display: flex;
  justify-content: center;
  height: 100vh;
  height: 100svh;
  width: 100%;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}

input[type="password"]::-webkit-textfield-decoration-container,
input[type="password"]::-webkit-clear-button,
input[type="password"]::-webkit-inner-spin-button,
input[type="password"]::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
}

input[type="password"]::-webkit-credentials-auto-fill-button {
  visibility: hidden;
  display: none !important;
}

/* General layout */
.flex {
  display: flex;
}

.avatar {
  border-radius: 100vw;
  object-fit: cover;
  object-position: center;
}

.text-mute {
  color: var(--text-mute-color);
}

a {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:active {
  scale: 0.9;
}

ul {
  list-style: none;
}

h1 {
  color: var(--primary-color);
}

button {
  all: unset;
  cursor: pointer;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5em 0.75em;
  border-radius: 0.3rem;
  color: #fff;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

button:hover {
  background-color: var(--primary-hover-color);
}

button.edit,
button.delete,
button.view {
  padding: unset;
}

.btn-secondary {
  background: #cfcfcf;
  color: #6b6b6b;
}

.btn-secondary:hover {
  background: #c4c4c4;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  padding: 0 1em;
  background: var(--header-bg-color);
  z-index: 100 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: visible !important;
  isolation: auto !important;
  transform: none !important;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 101;
  overflow: visible !important;
  isolation: auto;
}

.nav-icons .icon-btn {
  margin-right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
}

.nav-icons #notification-holder {
  cursor: pointer;
  pointer-events: auto !important;
  position: relative;
  z-index: 100;
}

.nav-icons #notification-holder img {
  pointer-events: auto;
}

.nav-icons #notification-popup {
  pointer-events: auto;
}

.nav-icons .search-container {
  display: none;
}

.top-nav .search-container {
  display: none;
}

.top-nav h1 {
  text-transform: capitalize;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-container input {
  width: 100%;
  max-width: 220px;
  padding: 8px 12px;
  border-radius: 0.3rem;
  border: 1px solid #ccc;
}

.search-container input:focus {
  outline: 1px solid var(--primary-color);
}

input[type="date"] {
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #333;
  background-color: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

input[type="date"]:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(47, 109, 102, 0.2);
}

input[type="date"]:hover {
  border-color: var(--primary-color);
}

main {
  margin-top: 72px;
  margin-bottom: 72px;
  overflow-y: auto;
  width: 100%;
  padding: 0 1.5em;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.bottom-nav {
  display: none;
  justify-content: space-around;
  align-items: center;
  background: #fff;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid #ddd;
  z-index: 100;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--mute-primary-color);
  transition: color 0.2s ease;
  flex: 1;
  min-width: 0;
}

.bottom-nav a svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.bottom-nav a span {
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.bottom-nav a.active {
  color: var(--primary-color);
}

.bottom-nav a.active svg {
  color: var(--primary-color);
}

/* Sidebar Base Styles */
.sidebar {
  display: none;
  width: 80px;
  background: linear-gradient(180deg, #0f4a49 0%, #0a3a39 100%);
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0 !important;
  right: auto !important;
  bottom: 0;
  z-index: 99;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
  margin-left: 0 !important;
  margin-right: auto !important;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar.expanded {
  width: 280px;
  align-items: flex-start;
}

.sidebar-logo {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 1.25rem;
  position: relative;
  margin-bottom: 2rem;
  min-height: 60px;
  gap: 0.75rem;
}

.sidebar-logo > img {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 12px;
  background-color: white;
  padding: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  object-fit: contain;
  flex-shrink: 0;
}

.sidebar-logo > img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sidebar:not(.expanded) .sidebar-logo {
  justify-content: center;
  padding: 0 0.5rem;
  margin-bottom: 1rem;
  gap: 0.5rem;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

.sidebar.expanded #toggleSidebar {
  rotate: 0deg;
  right: -12px;
}

#toggleSidebar {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  font-size: 1.25rem;
  font-weight: 600;
  top: 50%;
  transform: translateY(-50%);
  right: -16px;
  z-index: 100;
  border-radius: 50%;
  rotate: 180deg;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#toggleSidebar:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#toggleSidebar:active {
  transform: translateY(-50%) scale(0.95);
}

.sidebar:not(.expanded) #toggleSidebar {
  position: static;
  right: auto;
  top: auto;
  transform: none;
  margin-top: 0.5rem;
  margin-bottom: 0;
  align-self: center;
  width: 32px;
  height: 32px;
}

.sidebar:not(.expanded) #toggleSidebar:hover {
  transform: scale(1.1);
}

.sidebar-nav {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0.25rem 0;
  overflow-y: auto;
  overflow-x: hidden;
  align-items: stretch;
  min-width: 0;
}

.sidebar:not(.expanded) .sidebar-nav,
.sidebar:not(.expanded) .sidebar-nav ul {
  align-items: center;
}

.sidebar-nav::-webkit-scrollbar {
  width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}

.sidebar-nav li {
  width: 100%;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem;
  padding-left: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  gap: 1rem;
  transition: all 0.2s ease;
  text-decoration: none;
  border-radius: 0 25px 25px 0;
  margin-right: 0.75rem;
  min-height: auto;
  box-sizing: border-box;
}

.sidebar-nav a .nav-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  max-width: 32px;
  max-height: 32px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-nav a:hover .nav-icon,
.sidebar-nav a.active .nav-icon {
  color: #fff;
  transform: scale(1.1);
}

.nav-text {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  letter-spacing: 0.3px;
  transform: translateX(-10px);
  flex: 1;
  line-height: 1.4;
}

/* When Expanded */
.sidebar.expanded .nav-text {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  display: inline;
}

.sidebar:not(.expanded) .nav-text {
  display: none;
}

.sidebar:not(.expanded) .sidebar-nav a,
.sidebar:not(.expanded) #logoutBtn {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0.75rem 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: 48px !important;
  align-self: center !important;
  border-radius: 0 !important;
  text-align: center !important;
}

.sidebar:not(.expanded) .sidebar-nav a .nav-icon,
.sidebar:not(.expanded) .sidebar-nav a svg,
.sidebar:not(.expanded) .sidebar-nav a img {
  display: block !important;
  margin: 0 auto !important;
  width: 32px;
  height: 32px;
}

.sidebar:not(.expanded) .sidebar-nav a:hover .nav-icon,
.sidebar:not(.expanded) .sidebar-nav a.active .nav-icon {
  transform: none !important;
}

.sidebar:not(.expanded) .sidebar-nav a.active {
  border-left: none !important;
}
.sidebar-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.sidebar.expanded .sidebar-nav a:hover {
  transform: translateX(4px);
}

.sidebar:not(.expanded) .sidebar-nav a:hover {
  transform: none;
  background-color: rgba(255, 255, 255, 0.15);
}

.sidebar-nav a.active {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
  color: #fff;
  font-weight: 600;
  border-left: 3px solid #fff;
  padding-left: calc(1.5rem - 3px);
  margin-right: 0.75rem;
}

.sidebar:not(.expanded) .sidebar-nav a.active {
  border-left: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.75rem 0;
  padding-left: 0;
  padding-right: 0;
  margin: 0;
  justify-content: center;
  align-items: center;
}

.sidebar:not(.expanded) .sidebar-nav a {
  position: relative !important;
  overflow: visible !important;
}

/* Collapsed tooltip using the anchor's title attribute */
.sidebar:not(.expanded) .sidebar-nav a::after {
  content: attr(title);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  color: #0f4a49;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  pointer-events: none;
  z-index: 100;
}

.sidebar:not(.expanded) .sidebar-nav a::before {
  content: "";
  position: absolute;
  left: calc(100% + 6px);
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 6px solid #ffffff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  pointer-events: none;
  z-index: 100;
}

.sidebar:not(.expanded) .sidebar-nav a:hover::after,
.sidebar:not(.expanded) .sidebar-nav a:focus::after,
.sidebar:not(.expanded) .sidebar-nav a:hover::before,
.sidebar:not(.expanded) .sidebar-nav a:focus::before {
  opacity: 1;
  visibility: visible;
}

.sidebar-nav a.active .nav-icon {
  color: #fff;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}


/* Mobile: Show bottom nav, hide sidebar */
@media (max-width: 767px) {
  .sidebar {
    display: none !important;
  }

  .bottom-nav {
    display: flex !important;
  }

  .top-nav {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }

  main {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    margin-bottom: 64px !important;
    padding-bottom: 1rem;
  }
}

/* Desktop Responsive Styles */
@media (min-width: 768px) {
  .top-nav {
    left: 280px;
    right: 0;
    padding: 0 2rem;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .top-nav h1 {
    font-size: 1.5rem;
  }

  .sidebar {
    display: flex;
    left: 0 !important;
    right: auto !important;
  }

  .bottom-nav {
    display: none !important;
  }

  main {
    margin-top: 72px;
    margin-bottom: 0;
    margin-left: 280px;
    margin-right: 0;
    padding: 2rem 3rem;
    height: calc(100vh - 72px);
    max-width: calc(100% - 280px);
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1), max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

/* Sidebar Collapsed State - handled by JavaScript */

@media (min-width: 1024px) {
  main {
    padding: 2.5rem 4rem;
  }
}

/* modal */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.modal-container.show {
  display: flex;
}

.modal {
  background: #fff;
  width: 80%;
  max-width: 500px;
  border-radius: 0.3rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.2s ease-in-out;
}

.modal header {
  background: var(--primary-color);
  color: #fff;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

form {
  padding: 1rem;
}

.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.5rem;
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  font-size: 1rem;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

textarea {
  resize: vertical;
  min-height: 80px;
  max-height: 200px;
}

.action-container {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}

.cancel-btn,
.submit-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

.cancel-btn {
  background: #ccc;
  color: #333;
}

.cancel-btn:hover {
  background: #b3b3b3;
}

.submit-btn {
  background: var(--primary-color);
  color: #fff;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}