/* Bezaleel Pastel Pink Theme */

/* ── Navbar ── */
.navbar {
  background-color: #c06080 !important;
  border-bottom: 2px solid #e8a0b4 !important;
}
.navbar .navbar-brand,
.navbar a.nav-link,
.navbar .help-links a,
.navbar-expand .navbar-nav .nav-link,
.nav-notifications-btn,
.navbar svg {
  color: #fff0f4 !important;
  fill: #fff0f4 !important;
}
.navbar .search-bar input {
  background: #d4789a !important;
  color: #fff0f4 !important;
  border-color: #e0a0b8 !important;
}
.navbar .search-bar input::placeholder { color: #f5ccd8 !important; }

/* ── Sidebar ── */
.layout-side-section,
.desk-sidebar,
.standard-sidebar {
  background-color: #b05070 !important;
}
.desk-sidebar .standard-sidebar-label,
.desk-sidebar .sidebar-group-label {
  color: #f5ccd8 !important;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-left: 10px;
}

/* ── List sidebar filter buttons (Assigned To, Created By, Tags dropdowns) ── */
.layout-side-section .list-sidebar-button {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}
.layout-side-section .list-sidebar-button:hover {
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}
.layout-side-section .list-sidebar-button .ellipsis {
  color: #ffffff !important;
}

/* ── List filter sidebar labels ── */
.list-sidebar label,
.list-sidebar h5,
.list-sidebar span:not(.select2-selection__rendered),
.list-sidebar .list-tags-label,
.list-sidebar .sidebar-section-head,
.list-sidebar .text-muted,
.layout-side-section label,
.layout-side-section h5,
.layout-side-section .sidebar-label,
.layout-side-section .text-muted,
.layout-side-section .sidebar-action a,
.layout-side-section a.add-group-by,
.layout-side-section a.list-tag-preview {
  color: #ffe0ea !important;
}

.desk-sidebar .standard-sidebar-item > a,
.desk-sidebar .sidebar-item > a {
  color: #ffe0ea !important;
  border-radius: 6px;
  padding: 6px 10px;
  text-decoration: none !important;
}
.desk-sidebar .standard-sidebar-item:hover > a,
.desk-sidebar .sidebar-item:hover > a {
  background-color: #c8607e !important;
  color: #ffffff !important;
}
.desk-sidebar .standard-sidebar-item.selected > a,
.desk-sidebar .sidebar-item.selected > a {
  background-color: #e8a0b4 !important;
  color: #5a1a2e !important;
  font-weight: 500;
}
.desk-sidebar .standard-sidebar-item svg,
.desk-sidebar .sidebar-item svg { opacity: 0.8; }
.desk-sidebar .standard-sidebar-item.selected svg,
.desk-sidebar .sidebar-item.selected svg { opacity: 1; }

/* ── Main content background with flower image ── */
.layout-main-section,
.page-container,
.page-content {
  background-color: #fff5f7 !important;
}
body {
  background-image: url('/assets/pink-flower.avif') !important;
  background-size: cover !important;
  background-attachment: fixed !important;
  background-position: center !important;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(255, 245, 247, 0.50);
  pointer-events: none;
  z-index: 0;
}
.page-head {
  z-index: 1025 !important;
  background-color: rgba(255, 245, 247, 0.85) !important;
  border-bottom: 1px solid #f5ccd8 !important;
  position: relative;
  z-index: 1;
}
.layout-main-section,
.page-container,
.page-content,
.page-wrapper {
  background: transparent !important;
  position: relative;
  z-index: 1;
}
.frappe-card,
.widget-card,
.number-widget-box,
.shortcut-widget-box,
.links-widget-box,
.workspace-section,
.list-row-container,
.list-row,
.form-layout {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(4px);
}

/* ── Workspace section headers ── */
.workspace-section-title,
.widget-group .widget-group-title {
  border-left: 3px solid #c06080;
  padding-left: 8px !important;
  color: #7a2040 !important;
}

/* ── Workspace shortcut/link items ── */
.workspace-shortcut-items a,
.shortcut-widget-box a,
.widget-body a,
.link-item a,
.report-links a,
.shortcuts a {
  color: #7a2040 !important;
  text-decoration: none !important;
}
.workspace-shortcut-items a:hover,
.shortcut-widget-box a:hover,
.widget-body a:hover,
.link-item a:hover,
.report-links a:hover,
.shortcuts a:hover {
  color: #c06080 !important;
}

/* ── Breadcrumb links ── */
.breadcrumb-container a,
.page-head .breadcrumb a {
  color: #c06080 !important;
}

/* ── Navbar breadcrumb ── */
.navbar .breadcrumb a,
.navbar .breadcrumb-container a,
.page-head-content .breadcrumb a {
  color: #fff0f4 !important;
}

/* ── Form sidebar (Assigned To, Attachments, Tags, Share) ── */
body .layout-side-section * {
  color: #ffe0ea !important;
}
body .layout-side-section *:hover {
  color: #ffffff !important;
}
/* Restore dropdown/input text */
body .layout-side-section input,
body .layout-side-section select,
body .layout-side-section .select2-selection__rendered {
  color: #2c3e50 !important;
}

/* ── Buttons ── */
.btn-primary {
  background-color: #c06080 !important;
  border-color: #a84e6a !important;
  color: #fff !important;
}
.btn-primary:hover { background-color: #a84e6a !important; }

/* ── Accents ── */
.indicator.blue,
.badge.bg-primary { background-color: #c06080 !important; }
.form-tabs .nav-link.active {
  border-bottom-color: #c06080 !important;
  color: #c06080 !important;
}

/* ── Form section headers ── */
.section-head {
  border-left: 3px solid #e8a0b4 !important;
  padding-left: 8px !important;
  color: #7a2040 !important;
}

/* ── Card/widget containers ── */
.widget-card,
.number-widget-box,
.shortcut-widget-box,
.links-widget-box {
  background: #ffffff !important;
  border: 1px solid #f5ccd8 !important;
  border-radius: 6px !important;
}

/* ── Fix page-head banner offset ── */
/* ERPNext sets top: var(--navbar-height) on .page-head for fixed navbars,
   but our navbar is position:relative so this pushes the banner off-screen */
:root { --navbar-height: 0px !important; }

/* ── Fix grid row expanded overlay (ghosted white backdrop) ── */
.modal-backdrop.grid-form {
  background-color: rgba(0, 0, 0, 0.5) !important;
}

/* ── Fix grid row expand overlay ── */
.modal-backdrop.grid-form {
  background-color: transparent !important;
  opacity: 1 !important;
}
.freeze-message-container {
  display: none !important;
}

/* ── Fix page-head dropdowns hidden behind sticky navbar ── */
.page-head .dropdown-menu {
  z-index: 1030 !important;
}
