/* =========================
   Slider — FULL WIDTH
   ========================= */
.header_slider {
  background: #fff;
  padding: 30px 15px;
  border-bottom: 1px solid #e9ecef;
}

.slider-header {
  margin-bottom: 20px;
}

.slider-title {
  font-size: 24px;
  font-weight: 700;
  color: #23242a;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

/* =========================
   Nav Overlay
   ========================= */
.nav-overlay {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-top-h);
  height: calc(100vh - var(--header-top-h));
  background: rgba(0, 0, 0, 0.55);
  z-index: var(--z-overlay);
}

.nav-overlay.active {
  display: block;
}

/* =========================
   Profile Modal
   ========================= */
.eg-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: var(--z-modal);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.eg-modal-overlay.is-open {
  display: block;
}

.eg-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: calc(var(--z-modal) + 1);
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  background: #1e1f24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.eg-modal.is-open {
  display: block;
}

.eg-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.eg-modal__title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.eg-modal__title i {
  color: #49b545;
}

.eg-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
}

.eg-modal__close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.eg-modal__body {
  padding: 20px;
  color: #e5e7eb;
}

/* Style the login form inside modal */
.eg-modal__body #logform {
  width: 100%;
}

.eg-modal__body #logform ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eg-modal__body #logform .lfield {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eg-modal__body #logform label {
  color: #9ca3af;
  font-size: 13px;
  font-weight: 600;
}

.eg-modal__body #logform label a {
  color: #49b545;
}

.eg-modal__body #logform input[type="text"],
.eg-modal__body #logform input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.eg-modal__body #logform input[type="text"]:focus,
.eg-modal__body #logform input[type="password"]:focus {
  border-color: #49b545;
  box-shadow: 0 0 0 3px rgba(73, 181, 69, 0.15);
}

.eg-modal__body #logform input[type="checkbox"] {
  accent-color: #49b545;
}

.eg-modal__body #logform .lfchek {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.eg-modal__body #logform .lfchek label {
  color: #d1d5db;
  font-weight: 400;
}

.eg-modal__body .btn_bl {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.eg-modal__body .btn_bl li {
  flex: 1;
}

.eg-modal__body .btn_bl a.btn,
.eg-modal__body .btn_bl button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
  text-transform: uppercase;
}

.eg-modal__body .btn_bl a.btn.color-6 {
  background: #49b545;
  color: #fff;
}

.eg-modal__body .btn_bl a.btn.color-6:hover {
  background: #5cc55f;
}

.eg-modal__body .btn_bl button.color-2 {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.eg-modal__body .btn_bl button.color-2:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Logged-in user panel in modal */
.eg-modal__body .ava_bl {
  text-align: center;
  margin-bottom: 16px;
}

.eg-modal__body .ava_bl img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #49b545;
  object-fit: cover;
}

.eg-modal__body .user_nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.eg-modal__body .user_nav li {
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.eg-modal__body .user_nav li:hover {
  background: rgba(255, 255, 255, 0.06);
}

.eg-modal__body .user_nav a {
  color: #e5e7eb;
  font-weight: 500;
}

.eg-modal__body .user_nav a:hover {
  color: #49b545;
  text-decoration: none;
}

