@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

/* ============ PREMIUM ADMIN PANEL TOKENS ============ */
:root {
  --purple-50:  #fbf9f6;
  --purple-100: #f4e6dc;
  --purple-200: #ecd8cc;
  --purple-500: #df8854;
  --purple-600: #b85d2a;
  --purple-700: #a34e20;
  --purple-800: #8c4017;
  --purple-900: #6f310f;
  --radius-card: 16px;
  --shadow-card: 0 1px 3px rgba(184,93,42,.04), 0 4px 16px rgba(45,35,28,.05);
  --shadow-card-hover: 0 8px 30px rgba(184,93,42,.12);
  --transition-base: 0.25s cubic-bezier(.4,0,.2,1);
}

body {
  font-family: "Inter", "Public Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-color: #f7f5f2;
  color: #1f1c1a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ecd8cc; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #df8854; }

/* ---- Gradient text utility ---- */
.gradient-text, .gradient-bg-text {
  background: linear-gradient(135deg, #b85d2a, #df8854);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-bg {
  background: linear-gradient(135deg, #b85d2a 0%, #c86d3b 100%);
}

/* ---- Smooth transitions everywhere ---- */
*, *::before, *::after { transition-property: background-color, border-color, color, box-shadow, transform, opacity; transition-duration: 0.2s; transition-timing-function: cubic-bezier(.4,0,.2,1); }

/* ---- Premium table enhancements ---- */
table tbody tr { transition: all var(--transition-base); }
table tbody tr:hover { background-color: var(--purple-50) !important; }
table thead th { letter-spacing: 0.05em; text-transform: uppercase; font-size: 11px !important; }
table tbody td { font-size: 13px; padding-top: 14px !important; padding-bottom: 14px !important; }

/* ---- Premium card lift ---- */
.card-lift { transition: all var(--transition-base); }
.card-lift:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }

/* ---- Buttons ---- */
button { cursor: pointer; transition: all var(--transition-base); }
button:active:not(:disabled) { transform: scale(0.97); }

/* Global font-face */
@font-face {
  font-family: "Gilroy";
  src: url("/assets/fonts/gilroy/Gilroy-Medium.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src: url("/assets/fonts/gilroy/Gilroy-MediumItalic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

.logo-text {
  background: linear-gradient(135deg, #b85d2a 0%, #df8854 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

a {
  text-decoration: none;
}
.yellowbol {
  position: fixed;
  left: 56%;
  top: 22%;
}
.bluebol {
  position: fixed;
  right: 0%;
  bottom: 0%;
}

/* Background image */
.Login_left {
  background-image: url("/assets/images/loginbg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.Login_left_text {
  font-family: "Gilroy", sans-serif;
  font-weight: 400;
  left: 20%;
  top: 36%;
}

.loginavtar {
  width: 14%;
  position: absolute;
  left: 41%;
  bottom: 1%;
}

.loginavtar2 {
  width: 18%;
  position: absolute;
  left: 37%;
  bottom: 3%;
}

.LoginLogo {
  width: 204px;
  margin: auto;
}

.bg-blue-m {
  background-color: #b85d2a;
}

.text-blue-m {
  color: #b85d2a;
}

/* Global search input with icon padding */
.search-input {
  padding-left: 42px !important;
}

/* Universal icon container alignment */
.input-icon-wrapper {
  position: relative;
  width: 100%;
}


.text-dark-600 {
  color: #4b5563;
}

.text-\[\#212b26\] {
  color: #212b26;
}

.text-\[\#000\] {
  color: #000;
}

.Top_tabbar {
  background-color: #edf1f3;
}

.form-box {
  width: 100%;
}

/* .form-group {
  position: relative;
  margin-bottom: 20px;
  font-family: sans-serif;
}

.form-group input {
  width: 100%;
  padding: 14px 15px 12px 15px;
  font-size: 16px;
  border: 1px solid #919eab;
  border: 1px solid rgba(145, 158, 171, 0.32);
  border-radius: 8px;
  background-color: #fff;
  color: #0f1634;
  font-weight: 500;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus {
  border-color: #919eab;
}
.form-group select {
  width: 100%;
  padding: 14px 15px 12px 15px;
  font-size: 16px;
  border: 1px solid #919eab;
  border: 1px solid rgba(145, 158, 171, 0.32);
  border-radius: 8px;
  background-color: #fff;
  color: #0f1634;
  font-weight: 500;
  outline: none;
  transition: border-color 0.3s;
}

.form-group select:focus {
  border-color: #919eab;
}
.form-group textarea {
  width: 100%;
  padding: 14px 15px 12px 15px;
  font-size: 16px;
  border: 1px solid #919eab;
  border: 1px solid rgba(145, 158, 171, 0.32);
  border-radius: 8px;
  background-color: #fff;
  color: #0f1634;
  font-weight: 500;
  outline: none;
  transition: border-color 0.3s;
}

.form-group textarea:focus {
  border-color: #919eab;
}

.form-group label {
  position: absolute;
  left: 10px;
  top: 13px;
  background-color: #fff;
  padding: 0 5px;
  color: #919eab;
  font-size: 16px;
  font-weight: normal;
  pointer-events: none;
  transition: all 0.3s ease;
} */

.eye-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: #9ca3af;
}

.eye-icon:hover {
  color: #4b5563;
}

/* Label float up when input is focused or has value */
/* .form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label {
  top: -6px;
  left: 8px;
  font-size: 11px;
  opacity: 1;
  z-index: 1;
}
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -6px;
  left: 8px;
  font-size: 11px;
  opacity: 1;
  z-index: 1;
}
.form-group select:focus ~ label,
.form-group select:not(:placeholder-shown) ~ label {
  top: -6px;
  left: 8px;
  font-size: 11px;
  opacity: 1;
  z-index: 1;
} */

.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 14px;
  font-size: 13px;
  border: 1.5px solid #ece6de;
  border-radius: 10px;
  background-color: #fff;
  color: #1f1c1a;
  font-weight: 400;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  appearance: none;
  letter-spacing: 0.01em;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #b85d2a;
  box-shadow: 0 0 0 3px rgba(184, 93, 42, 0.12);
  background-color: #fdfaf7;
}

.form-group label {
  position: absolute;
  top: 50%;
  left: 13px;
  transform: translateY(-50%);
  font-size: 14px;
  color: #8c847d;
  font-weight: 400;
  pointer-events: none;
  transition: all 0.3s ease;
  background-color: #fff;
  padding: 0 5px;
}

.form-group textarea ~ label {
  top: 10px;
  transform: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label {
  top: -6px;
  left: 8px;
  font-size: 11px;
  color: #b85d2a;
  opacity: 1;
  z-index: 1;
  transform: none;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.form-group input:invalid,
.form-group textarea:invalid,
.form-group select:invalid {
  border-color: #dfd7ce;
}

.form-group select:invalid ~ label {
  color: #8c847d;
}
.hleLogo {
  width: 12%;
}
/* Dropdown wrapper */
.dropdown-wrapper {
  position: relative;
}

/* Dropdown menu */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 120%;
  max-height: 300px;
  background-color: #fff;
  border: 0px solid #ccc;
  border-radius: 8px;
  box-shadow: 0px 12px 24px -4px rgba(145, 158, 171, 0.12),
    0px 0px 2px 0px rgba(145, 158, 171, 0.2);

  overflow: hidden;
  z-index: 1000;
}
.dropdown.hidden {
  display: none;
}

/* Dropdown search input */
.dropdown-search {
  padding: 8px;
  border-bottom: 0px solid #ddd;
}

.dropdown-search input {
  width: 100%;
  padding: 8px 10px;
  font-size: 16px;
  border: 0px solid #ccc;
  border-radius: 6px;
  font-weight: 300;
  color: #919eab;
  outline: none;
  background-color: #edf1f3;
}

/* Dropdown list items */
#countryList {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 180px;
  overflow-y: auto;
}
.floating-animation {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}
#countryList li {
  padding: 10px 15px;
  cursor: pointer;
  color: #919eab;
  font-size: 13px;
  font-weight: 400;
  /* color: #333; */
}

#countryList li:hover {
  background-color: #f0f0f0;
}

/* Show dropdown when active */
.dropdown.show {
  display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .min-h-screen {
    flex-direction: column;
  }

  .Login_left {
    min-height: 40vh;
    flex: none;
    position: relative;
  }

  .Login_left_text {
    position: static;
    padding: 2rem;
    text-align: center;
    left: auto;
    top: auto;
  }

  .Login_left_text h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .Login_left_text p {
    font-size: 1rem;
    max-width: 100%;
  }

  .loginavtar,
  .loginavtar2 {
    display: none;
  }

  .flex-1:nth-child(2) {
    /* padding: 1rem; */
    /* min-height: 60vh; */
  }

  .LoginLogo {
    width: 150px;
  }

  .text-3xl {
    font-size: 1.5rem;
  }

  .form-group input {
    padding: 12px 15px;
    font-size: 14px;
  }

  .form-group label {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .Login_left {
    min-height: 35vh;
  }
  .Other_Login {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
  .manulmb {
    margin-bottom: 1rem !important;
  }
  .Login_left_text {
    padding: 0rem;
    margin: auto;
    left: 27%;
    top: 28%;
  }

  .Login_left_text h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem !important;
  } /* Hide sidebar text and arrow by default */
  .sidebar-text {
    display: none;
  }

  /* When sidebar is expanded or mobile-open, show them */
  .sidebar.expanded .sidebar-text,
  .sidebar.mobile-open .sidebar-text {
    display: inline !important;
  }

  .Login_left_text p {
    font-size: 0.875rem;
    line-height: 1rem;
  }

  .flex-1:nth-child(2) {
    /* padding: 0.75rem; */
  }

  .LoginLogo {
    width: 120px;
  }

  .form-group input {
    padding: 10px 12px;
    font-size: 14px;
  }
}

/* Larger screens - maintain exact desktop design */
@media (min-width: 769px) {
  .w-full.md\:w-\[32\%\] {
    width: 32% !important;
  }

  .w-full.md\:w-\[65\%\] {
    width: 65% !important;
  }

  .w-full.md\:w-\[15\%\] {
    width: 15% !important;
  }
}

/* ============================================================
   LAYOUT CSS VARIABLES
   Single source of truth for sidebar dimensions.
   Both the sidebar width AND the content margins reference
   the same variable — they can NEVER desync at any zoom level.
   ============================================================ */
:root {
  --sidebar-expanded-width: 250px;
  --sidebar-collapsed-width: 72px;
  --sidebar-current-width: var(--sidebar-expanded-width);
}

body.sidebar-collapsed {
  --sidebar-current-width: var(--sidebar-collapsed-width);
}

@media (max-width: 767px) {
  :root {
    --sidebar-current-width: 0px;
  }
  body.sidebar-collapsed {
    --sidebar-current-width: 0px;
  }
}

/* Main content area — always offset by exactly the dynamic sidebar width */
.main-content {
  margin-left: var(--sidebar-current-width);
  min-width: 0;         /* prevents flex children from overflowing */
  overflow-x: hidden;   /* prevents horizontal scroll caused by sidebar */
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Top header bar — same offset as main content */
.tophed {
  margin-left: var(--sidebar-current-width);
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.step-item {
  border: 2px solid #ecd8cc;
  background-color: #fdfaf7;
  box-shadow: 0 2px 8px rgba(184, 93, 42, 0.1);
}
.step-item.active {
  background: linear-gradient(135deg, #b85d2a 0%, #c86d3b 100%);
  color: white;
  border-color: #b85d2a;
  box-shadow: 0 4px 12px rgba(184, 93, 42, 0.35);
}
.step-item.completed {
  background-color: #f5ebe2;
  color: #b85d2a;
  border-color: #df8854;
}
.step-item.inactive {
  background-color: #fdfaf7;
  color: #a89e95;
  border-color: #ecd8cc;
}
.step-connector {
  height: 3px;
  background: linear-gradient(90deg, #b85d2a, #df8854);
  border-radius: 2px;
}
.search-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(184, 93, 42, 0.2);
  border-color: #b85d2a;
}
.hledropdown-menu {
  display: none;
  position: absolute;
  right: 80%;
  top: 20%;
  background: white;
  border-radius: 8px;
  box-shadow: -20px 20px 40px -4px rgba(145, 158, 171, 0.24),
    0px 0px 2px 0px rgba(145, 158, 171, 0.24);
  z-index: 10;
  width: 120px;
  /* min-width: 10rem; */
  z-index: 9;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.bg-hle {
  background: linear-gradient(135deg, #b85d2a 0%, #c86d3b 50%, #df8854 100%) !important;
}
.bg-hlehover {
  color: #b85d2a !important;
  background: rgba(184, 93, 42, 0.08) !important;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .sidebar {
    width: var(--sidebar-expanded-width);
    transform: translateX(-100%);
  }
  .sidebar.mobile-open {
    width: var(--sidebar-expanded-width);
    transform: translateX(0);
  }
  /* On mobile, sidebar slides over content — no margin needed */
  .main-content {
    margin-left: 0 !important;
    width: 100% !important;
  }
  .main-content.expanded,
  .main-content.mobile-shifted {
    margin-left: 0 !important;
  }
  .tophed {
    margin-left: 0 !important;
  }
  .tophed.expanded,
  .tophed.mobile-shifted {
    margin-left: 0 !important;
  }
  .hledropdown-menu {
    right: 0;
    left: auto;
  }
  .hleLogo {
    width: 29%;
    margin-left: 36%;
  }
}

@media (max-width: 640px) {
  .step-item {
    width: 2.5rem;
    height: 2.5rem;
  }
  .step-connector {
    height: 1px;
  }
}

/* Mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 40;
}
.mobile-overlay.active {
  display: block;
}

.Dashbird_card {
  box-shadow: 0px 12px 24px -4px rgba(145, 158, 171, 0.12),
    0px 0px 2px 0px rgba(145, 158, 171, 0.2);
}

/* preview */
.tree {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  overflow-x: scroll;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.tree ul {
  padding-left: 20px;
  position: relative;

  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.tree li {
  text-align: center;
  list-style-type: none;
  position: relative;
  padding: 5px 0 5px 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
}

.tree li::before,
.tree li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 50%;
  border-left: 2px dashed #919eab;
  width: 20px;
  height: 50%;
}
.tree li::after {
  bottom: auto;
  top: 50%;
  border-top: 2px dashed #919eab;
}
.tree li:only-child::after,
.tree li:only-child::before {
  display: none;
}

.tree li:only-child {
  padding-left: 0;
}

.tree li:first-child::before,
.tree li:last-child::after {
  border: 0 none;
}
.tree li:last-child::before {
  border-bottom: 2px dashed #919eab;
  border-radius: 0 0 5px 0;
  -webkit-border-radius: 0 0 5px 0;
  -moz-border-radius: 0 0 5px 0;
}
.tree li:first-child::after {
  border-radius: 0 0 0 5px;
  -webkit-border-radius: 0 0 0 5px;
  -moz-border-radius: 0 0 0 5px;
}

.tree ul ul::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  border-top: 2px dashed #919eab;
  width: 20px;
  height: 0;
}

.tree li a {
  border: 0px solid #919eab;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  /* font-family: arial, verdana, tahoma; */
  /* display: inline-block; */
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;

  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;

  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
}

.tree li a:hover,
.tree li a:hover + ul li a {
  background: #b3d0e5;
  color: #000;
  border: 0px solid #94a0b4;
}
.tree li a:hover + ul li::after,
.tree li a:hover + ul li::before,
.tree li a:hover + ul::before,
.tree li a:hover + ul ul::before {
  border-color: #94a0b4;
}
@media (max-width: 480px) {
  .tree li a {
    align-items: center;
    padding: 4px 7px;
    text-decoration: none;
    font-size: 9px;
    font-weight: 400;
  }
}

.QapActive:hover {
  color: #b85d2a;
  background: rgba(184, 93, 42, 0.08);
  border-radius: 7px;
  transition: all 0.2s ease;
}
.FolderActive {
  color: #b85d2a;
  background: rgba(184, 93, 42, 0.12);
  border-radius: 7px;
  border-left: 3px solid #b85d2a;
}
/* Show dropdown when active */
.dropdown.show {
  display: block;
}

.custom-checkbox {
  width: 20px;
  height: 20px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* background-color: #f3f4f6; */
  border: 1px solid #d1d5db;
  border-radius: 7px;
  cursor: pointer;
  padding: 7px;
  position: relative;
  transition: all 0.2s ease;
}

.custom-checkbox:checked {
  background-color: #b85d2a;
  border-color: #b85d2a;
}

.custom-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox:hover {
  border-color: #b85d2a;
}

.custom-checkbox:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(184, 93, 42, 0.2);
}
select > option {
  font-size: 16px !important;
}

.worlOrderCard {
  box-shadow: 0px 21.97px 43.95px -4.39px rgba(145, 158, 171, 0.16);
}

.folder-icon {
  width: 20px;
  height: 20px;
  color: #b85d2a;
}

.drag-active {
  border-color: #b85d2a !important;
  background-color: #fdfaf7 !important;
}

.template-item:hover {
  background-color: rgba(184, 93, 42, 0.08);
  border: 1px solid #b85d2a;
}

.more-btn:hover {
  background-color: #f3f4f6;
}

.browse-btn:hover {
  background-color: #dbeafe;
}

.remove-btn:hover {
  color: #dc2626;
  background-color: #fef2f2;
}

.popup-menu {
  display: none;
  position: absolute;
  left: 155%;
  top: 0;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  z-index: 50;
  min-width: 300px;
  max-height: 45vh;
  overflow-y: auto;
  padding: 8px;
  margin-left: 8px;
  /* box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); */
}

.popup-menu.show {
  display: block;
}

/* Responsive positioning for smaller screens */
@media (max-width: 1024px) {
  .popup-menu {
    left: auto;
    right: 0;
    margin-left: 0;
    margin-right: 8px;
  }
}

@media (max-width: 768px) {
  .popup-menu {
    left: auto;
    right: -50px;
    min-width: 280px;
    max-width: 90vw;
  }
}

@media (max-width: 480px) {
  .popup-menu {
    left: -200px;
    right: auto;
    min-width: 250px;
    max-width: 85vw;
  }
}


.popup-menu.show {
  display: block;
}

.popup-menu-item {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  color: #374151;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.popup-menu-item:hover {
  background-color: #f9fafb;
}

.popup-menu-item svg {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.menu-container {
  /* position: relative; */
}

/* Right Side Panel */
.right-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 350px;
  height: 100vh;
  background: white;
  border-left: 1px solid #e5e7eb;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease-in-out;
  z-index: 1000;
  overflow-y: auto;
}

.right-panel.open {
  right: 0;
}

.panel-header {
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

.panel-content {
  padding: 20px;
}

.tree-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
}

.tree-item:hover {
  color: #1f2937;
}

.tree-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  color: #6b7280;
}

.tree-toggle {
  width: 16px;
  height: 16px;
  margin-right: 4px;
  cursor: pointer;
  color: #6b7280;
}

.tree-children {
  margin-left: 20px;
}

.close-panel {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
}

.close-panel:hover {
  color: #374151;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}
