/**
 * Theme 4 — Soft Blue / Gold (din mockup panou user)
 * Activ doar când body.theme-v4 (theme_version = 4).
 * Nu atinge logo-ul; culorile vin din --color-primary / --color-secondary
 * (recomandat: #5B86B7 / #BAA782).
 */

body.theme-v4 {
  --theme4-bg: #e8ecf5;
  --theme4-bg-soft: #f3f5fa;
  --theme4-navy: #1d2d44;
  --theme4-muted: #8e9aaf;
  --theme4-gold: var(--color-secondary, #baa782);
  --theme4-blue-top: #6a92c0;
  --theme4-blue-mid: var(--color-primary, #5b86b7);
  --theme4-blue-bot: #4a74a2;
  --theme4-radius: 14px;
  --theme4-radius-pill: 999px;
  background: linear-gradient(180deg, var(--theme4-bg-soft) 0%, var(--theme4-bg) 100%);
  color: var(--theme4-navy);
}

/* ── Hamburger: 3 linii gold, fără fundal albastru ── */
body.theme-v4 .header-area .menu-toggler {
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  position: relative;
}

body.theme-v4 .header-area .menu-toggler span {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2.5px;
  margin-left: -11px;
  background-color: var(--color-secondary, #baa782) !important;
  background: var(--color-secondary, #baa782) !important;
  border-radius: 4px;
  transition: transform 200ms ease, top 200ms ease, opacity 160ms ease;
}

body.theme-v4 .header-area .menu-toggler span:nth-child(1) {
  top: 10px !important;
}

body.theme-v4 .header-area .menu-toggler span:nth-child(2) {
  top: 17px !important;
}

body.theme-v4 .header-area .menu-toggler span:nth-child(3) {
  top: 24px !important;
}

body.theme-v4 .header-area .menu-toggler.active span:nth-child(1) {
  top: 17px !important;
  transform: rotateZ(45deg);
}

body.theme-v4 .header-area .menu-toggler.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

body.theme-v4 .header-area .menu-toggler.active span:nth-child(3) {
  top: 17px !important;
  transform: rotateZ(-45deg);
}

body.theme-v4 .header-area.header-2.is-sticky .menu-toggler span {
  background: var(--theme4-gold) !important;
}

/* Header / butoane globale */
body.theme-v4 .header-area {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(8px);
}

body.theme-v4 .btn-primary,
body.theme-v4 .btn.btn-primary,
body.theme-v4 a.btn-primary {
  background: linear-gradient(180deg, var(--theme4-blue-top) 0%, var(--theme4-blue-mid) 55%, var(--theme4-blue-bot) 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(74, 116, 162, 0.28);
}

body.theme-v4 .btn-primary:hover,
body.theme-v4 .btn.btn-primary:hover {
  filter: brightness(1.05);
}

body.theme-v4 .btn-outline,
body.theme-v4 .btn.btn-outline {
  border-color: var(--theme4-gold) !important;
  color: var(--theme4-navy) !important;
  background: #fff !important;
  border-radius: 12px;
}

/* ── Panou user (mockup) ── */
body.theme-v4 .user-dashboard {
  background: transparent;
}

body.theme-v4 .user-dashboard .widget.p-20.radius-md {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 8px 4px !important;
}

body.theme-v4 .user-dashboard .noebi-user-aside {
  background: transparent !important;
  box-shadow: none !important;
  color: var(--theme4-navy) !important;
  padding-top: 8px !important;
}

body.theme-v4 .user-dashboard .noebi-user-aside .noebi-user-photo {
  width: 96px;
  height: 96px;
  flex-basis: 96px;
  border: 3px solid var(--theme4-gold) !important;
  box-shadow: 0 4px 14px rgba(29, 45, 68, 0.12);
}

body.theme-v4 .user-dashboard .noebi-user-aside h5 {
  color: var(--theme4-navy) !important;
  font-size: 1.15rem !important;
}

body.theme-v4 .user-dashboard .noebi-user-aside > p,
body.theme-v4 .user-dashboard .noebi-user-aside p {
  color: var(--theme4-muted) !important;
  opacity: 1 !important;
}

body.theme-v4 .user-dashboard .noebi-user-aside .noebi-user-hello__btn,
body.theme-v4 .user-dashboard .noebi-user-hello__btn {
  background: #fff !important;
  color: var(--theme4-navy) !important;
  border: 1.5px solid var(--theme4-gold) !important;
  border-radius: var(--theme4-radius-pill) !important;
  box-shadow: 0 2px 8px rgba(186, 167, 130, 0.25);
}

body.theme-v4 .user-dashboard .noebi-user-aside .noebi-user-hello__btn i,
body.theme-v4 .user-dashboard .noebi-user-hello__btn .fal {
  color: var(--theme4-gold) !important;
}

/* Grid butoane: albastru + icon gold + text alb */
body.theme-v4 .user-dashboard .widget .row.g-2 > [class*="col-6"] > a.d-flex,
body.theme-v4 .user-dashboard .widget .row.g-2 > .col-6 > a {
  background: linear-gradient(180deg, var(--theme4-blue-top) 0%, var(--theme4-blue-mid) 50%, var(--theme4-blue-bot) 100%) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: var(--theme4-radius) !important;
  height: 108px !important;
  box-shadow: 0 8px 18px rgba(74, 116, 162, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

body.theme-v4 .user-dashboard .widget .row.g-2 > [class*="col-6"] > a:hover,
body.theme-v4 .user-dashboard .widget .row.g-2 > .col-6 > a:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(74, 116, 162, 0.34);
  color: #fff !important;
}

body.theme-v4 .user-dashboard .widget .row.g-2 > [class*="col-6"] > a i,
body.theme-v4 .user-dashboard .widget .row.g-2 > .col-6 > a i {
  color: var(--theme4-gold) !important;
  font-size: 28px !important;
  font-weight: 300;
}

body.theme-v4 .user-dashboard .widget .row.g-2 > [class*="col-6"] > a span,
body.theme-v4 .user-dashboard .widget .row.g-2 > .col-6 > a span {
  color: #fff !important;
  font-weight: 600 !important;
}

body.theme-v4 .user-dashboard .widget .row.g-2 > [class*="col-6"] > a span[style*="background"],
body.theme-v4 .user-dashboard .widget .row.g-2 > .col-6 > a span[style*="background"] {
  background: var(--theme4-gold) !important;
  color: var(--theme4-navy) !important;
}


/* Schimbă parola — alb + icon gold */
body.theme-v4 .user-dashboard .widget .row.g-2 > .col-12 > a:not([href*="logout"]):not(.btn-outline-danger) {
  background: #fff !important;
  color: var(--theme4-navy) !important;
  border: 1px solid rgba(186, 167, 130, 0.45) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(29, 45, 68, 0.06);
  min-height: 52px;
}

body.theme-v4 .user-dashboard .widget .row.g-2 > .col-12 > a:not([href*="logout"]):not(.btn-outline-danger) i {
  color: var(--theme4-gold) !important;
}

/* Deconectare — albastru full */
body.theme-v4 .user-dashboard .widget .row.g-2 > .col-12 > a[href*="logout"],
body.theme-v4 .user-dashboard .widget .row.g-2 > .col-12 > a.btn-outline-danger {
  background: linear-gradient(180deg, var(--theme4-blue-top) 0%, var(--theme4-blue-mid) 55%, var(--theme4-blue-bot) 100%) !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(74, 116, 162, 0.28);
}

body.theme-v4 .user-dashboard .widget .row.g-2 > .col-12 > a[href*="logout"] i,
body.theme-v4 .user-dashboard .widget .row.g-2 > .col-12 > a.btn-outline-danger i {
  color: #fff !important;
}

/* Banner welcome din dashboard content */
body.theme-v4 .user-dashboard .welcome-card.noebi-user-hello {
  background: transparent !important;
  color: var(--theme4-navy) !important;
  box-shadow: none !important;
  border: 0 !important;
}

body.theme-v4 .user-dashboard .welcome-card.noebi-user-hello h5,
body.theme-v4 .user-dashboard .welcome-card.noebi-user-hello p {
  color: var(--theme4-navy) !important;
}

body.theme-v4 .user-dashboard .welcome-card.noebi-user-hello p {
  color: var(--theme4-muted) !important;
  opacity: 1 !important;
}

body.theme-v4 .user-dashboard .welcome-card.noebi-user-hello .noebi-user-photo {
  border: 3px solid var(--theme4-gold) !important;
}

body.theme-v4 .user-dashboard .card.card-box {
  background: linear-gradient(180deg, var(--theme4-blue-top) 0%, var(--theme4-blue-mid) 50%, var(--theme4-blue-bot) 100%) !important;
  border: 0 !important;
  border-radius: var(--theme4-radius) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(74, 116, 162, 0.28);
}

body.theme-v4 .user-dashboard .card.card-box .card-icon,
body.theme-v4 .user-dashboard .card.card-box .card-icon i,
body.theme-v4 .user-dashboard .card.card-box h3,
body.theme-v4 .user-dashboard .card.card-box h3 i {
  color: var(--theme4-gold) !important;
}

body.theme-v4 .user-dashboard .card.card-box p,
body.theme-v4 .user-dashboard .card.card-box .card-info p {
  color: #fff !important;
}

body.theme-v4 .user-dashboard .card.card-box[style*="FFF3CD"],
body.theme-v4 .user-dashboard .card.card-box[style*="F8D7DA"] {
  background: #fff !important;
  color: var(--theme4-navy) !important;
  border: 1px solid rgba(186, 167, 130, 0.4) !important;
}

body.theme-v4 .user-dashboard .card.card-box[style*="FFF3CD"] .card-icon,
body.theme-v4 .user-dashboard .card.card-box[style*="FFF3CD"] .card-icon i,
body.theme-v4 .user-dashboard .card.card-box[style*="FFF3CD"] h3,
body.theme-v4 .user-dashboard .card.card-box[style*="FFF3CD"] p,
body.theme-v4 .user-dashboard .card.card-box[style*="F8D7DA"] .card-icon,
body.theme-v4 .user-dashboard .card.card-box[style*="F8D7DA"] .card-icon i,
body.theme-v4 .user-dashboard .card.card-box[style*="F8D7DA"] h3,
body.theme-v4 .user-dashboard .card.card-box[style*="F8D7DA"] p {
  color: var(--theme4-navy) !important;
}

body.theme-v4 .user-dashboard .card.card-box[style*="FFF3CD"] .card-icon i,
body.theme-v4 .user-dashboard .card.card-box[style*="F8D7DA"] .card-icon i {
  color: var(--theme4-gold) !important;
}

body.theme-v4 .user-dashboard a[href*="logout"] .card.card-box {
  background: linear-gradient(180deg, var(--theme4-blue-top) 0%, var(--theme4-blue-mid) 50%, var(--theme4-blue-bot) 100%) !important;
  border: 0 !important;
}

body.theme-v4 .user-dashboard a[href*="logout"] .card.card-box .card-icon,
body.theme-v4 .user-dashboard a[href*="logout"] .card.card-box .card-icon i,
body.theme-v4 .user-dashboard a[href*="logout"] .card.card-box h3,
body.theme-v4 .user-dashboard a[href*="logout"] .card.card-box h3 i,
body.theme-v4 .user-dashboard a[href*="logout"] .card.card-box p {
  color: #fff !important;
}

body.theme-v4 .user-dashboard a[href*="logout"] .card.card-box .card-icon i {
  color: var(--theme4-gold) !important;
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL — client / vendor / staff (butoane, select, input)
   ═══════════════════════════════════════════════════════════ */

body.theme-v4 {
  --bs-primary: var(--theme4-blue-mid);
  --primary: var(--theme4-blue-mid);
}

/* Butoane — toate variantele de acțiune */
body.theme-v4 .btn-primary,
body.theme-v4 .btn.btn-primary,
body.theme-v4 a.btn-primary,
body.theme-v4 button.btn-primary,
body.theme-v4 input.btn-primary,
body.theme-v4 .btn-info,
body.theme-v4 .btn.btn-info,
body.theme-v4 .btn-secondary,
body.theme-v4 .btn.btn-secondary,
body.theme-v4 .btn-default,
body.theme-v4 .btn.btn-default,
body.theme-v4 .btn-round.btn-primary,
body.theme-v4 .btn-border.btn-primary,
body.theme-v4 .main-panel .btn-primary,
body.theme-v4 .card .btn-primary,
body.theme-v4 .modal .btn-primary,
body.theme-v4 .dropdown-item.active,
body.theme-v4 .dropdown-item:active {
  background: linear-gradient(180deg, var(--theme4-blue-top) 0%, var(--theme4-blue-mid) 55%, var(--theme4-blue-bot) 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(74, 116, 162, 0.25);
}

body.theme-v4 .btn-primary:hover,
body.theme-v4 .btn-primary:focus,
body.theme-v4 .btn-primary:active,
body.theme-v4 .btn-primary:not(:disabled):not(.disabled):active,
body.theme-v4 .btn-primary:disabled,
body.theme-v4 .btn-info:hover,
body.theme-v4 .btn-info:focus,
body.theme-v4 .btn-secondary:hover,
body.theme-v4 .btn-secondary:focus,
body.theme-v4 .btn-default:hover {
  background: linear-gradient(180deg, #7aa0cc 0%, var(--theme4-blue-mid) 55%, #3f6894 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
  filter: brightness(1.03);
}

body.theme-v4 .btn-outline-primary,
body.theme-v4 .btn-outline-info,
body.theme-v4 .btn-border {
  background: #fff !important;
  color: var(--theme4-navy) !important;
  border: 1.5px solid var(--theme4-gold) !important;
  box-shadow: none;
}

body.theme-v4 .btn-outline-primary:hover,
body.theme-v4 .btn-outline-info:hover,
body.theme-v4 .btn-border:hover {
  background: rgba(91, 134, 183, 0.08) !important;
  color: var(--theme4-navy) !important;
  border-color: var(--theme4-blue-mid) !important;
}

body.theme-v4 .btn-success {
  background: linear-gradient(180deg, #6a92c0 0%, #5b86b7 55%, #4a74a2 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
}

body.theme-v4 .btn-link,
body.theme-v4 a.text-primary,
body.theme-v4 .text-primary {
  color: var(--theme4-blue-mid) !important;
}

body.theme-v4 a:hover.text-primary,
body.theme-v4 .btn-link:hover {
  color: var(--theme4-blue-bot) !important;
}

/* Input + select nativ */
body.theme-v4 .form-control,
body.theme-v4 select.form-control,
body.theme-v4 textarea.form-control,
body.theme-v4 .form-select,
body.theme-v4 input[type="text"],
body.theme-v4 input[type="email"],
body.theme-v4 input[type="password"],
body.theme-v4 input[type="number"],
body.theme-v4 input[type="search"],
body.theme-v4 input[type="tel"],
body.theme-v4 input[type="url"],
body.theme-v4 input[type="date"],
body.theme-v4 input[type="time"],
body.theme-v4 select {
  border-color: #d5dde8 !important;
  border-radius: 10px !important;
  color: var(--theme4-navy) !important;
  background-color: #fff !important;
}

body.theme-v4 .form-control:focus,
body.theme-v4 select.form-control:focus,
body.theme-v4 textarea.form-control:focus,
body.theme-v4 .form-select:focus,
body.theme-v4 input:focus,
body.theme-v4 select:focus {
  border-color: var(--theme4-blue-mid) !important;
  box-shadow: 0 0 0 0.15rem rgba(91, 134, 183, 0.28) !important;
}

/* Select2 */
body.theme-v4 .select2-container--default .select2-selection--single,
body.theme-v4 .select2-container--default .select2-selection--multiple {
  border-color: #d5dde8 !important;
  border-radius: 10px !important;
  min-height: 38px;
  background: #fff !important;
}

body.theme-v4 .select2-container--default.select2-container--focus .select2-selection--single,
body.theme-v4 .select2-container--default.select2-container--open .select2-selection--single,
body.theme-v4 .select2-container--default.select2-container--focus .select2-selection--multiple,
body.theme-v4 .select2-container--default.select2-container--open .select2-selection--multiple {
  border-color: var(--theme4-blue-mid) !important;
  box-shadow: 0 0 0 0.15rem rgba(91, 134, 183, 0.22);
}

body.theme-v4 .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: var(--theme4-gold) transparent transparent transparent !important;
}

body.theme-v4 .select2-container--default .select2-results__option--highlighted[aria-selected],
body.theme-v4 .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--theme4-blue-mid) !important;
  color: #fff !important;
}

body.theme-v4 .select2-container--default .select2-results__option[aria-selected="true"] {
  background: rgba(91, 134, 183, 0.12) !important;
  color: var(--theme4-navy) !important;
}

body.theme-v4 .select2-dropdown {
  border-color: #d5dde8 !important;
  border-radius: 10px !important;
  overflow: hidden;
}

/* Nice Select */
body.theme-v4 .nice-select,
body.theme-v4 .niceselect {
  border-color: #d5dde8 !important;
  border-radius: 10px !important;
  color: var(--theme4-navy) !important;
}

body.theme-v4 .nice-select:active,
body.theme-v4 .nice-select.open,
body.theme-v4 .nice-select:focus {
  border-color: var(--theme4-blue-mid) !important;
}

body.theme-v4 .nice-select .option.selected,
body.theme-v4 .nice-select .option.focus,
body.theme-v4 .nice-select .option:hover {
  background: rgba(91, 134, 183, 0.12) !important;
  color: var(--theme4-navy) !important;
}

/* Checkbox / radio / switch */
body.theme-v4 .custom-control-input:checked ~ .custom-control-label::before,
body.theme-v4 .form-check-input:checked,
body.theme-v4 input[type="checkbox"]:checked,
body.theme-v4 input[type="radio"]:checked {
  background-color: var(--theme4-blue-mid) !important;
  border-color: var(--theme4-blue-mid) !important;
}

body.theme-v4 .custom-switch .custom-control-input:checked ~ .custom-control-label::before,
body.theme-v4 .form-switch .form-check-input:checked {
  background-color: var(--theme4-blue-mid) !important;
  border-color: var(--theme4-blue-mid) !important;
}

/* Badge / pagination / tabs / progress */
body.theme-v4 .badge-primary,
body.theme-v4 .badge.bg-primary,
body.theme-v4 .bg-primary {
  background: var(--theme4-blue-mid) !important;
  color: #fff !important;
}

body.theme-v4 .page-item.active .page-link,
body.theme-v4 .pagination > .active > a,
body.theme-v4 .pagination > .active > span {
  background: var(--theme4-blue-mid) !important;
  border-color: var(--theme4-blue-mid) !important;
  color: #fff !important;
}

body.theme-v4 .page-link {
  color: var(--theme4-blue-mid) !important;
}

body.theme-v4 .page-link:hover {
  color: var(--theme4-blue-bot) !important;
  background: rgba(91, 134, 183, 0.08) !important;
}

body.theme-v4 .nav-pills .nav-link.active,
body.theme-v4 .nav-tabs .nav-link.active,
body.theme-v4 .nav-pills .show > .nav-link {
  background: var(--theme4-blue-mid) !important;
  color: #fff !important;
  border-color: var(--theme4-blue-mid) !important;
}

body.theme-v4 .progress-bar {
  background: linear-gradient(90deg, var(--theme4-blue-top), var(--theme4-blue-bot)) !important;
}

/* Sidebar Atlantis (vendor / staff) */
body.theme-v4 .sidebar .nav > .nav-item.active > a,
body.theme-v4 .sidebar .nav > .nav-item a:hover,
body.theme-v4 .sidebar .nav-collapse li a:hover,
body.theme-v4 .sidebar .nav-collapse li a.active {
  color: var(--theme4-blue-mid) !important;
}

body.theme-v4 .sidebar .nav > .nav-item.active > a:before,
body.theme-v4 .sidebar .nav > .nav-item a::before {
  background: var(--theme4-blue-mid) !important;
}

body.theme-v4 .sidebar .nav > .nav-item.active > a p,
body.theme-v4 .sidebar .nav > .nav-item.active > a i,
body.theme-v4 .sidebar .nav > .nav-item a:hover p,
body.theme-v4 .sidebar .nav > .nav-item a:hover i {
  color: var(--theme4-blue-mid) !important;
}

body.theme-v4 .logo-header .btn-toggle,
body.theme-v4 .navbar-header .btn-toggle,
body.theme-v4 .topbar-toggler,
body.theme-v4 .sidenav-toggler {
  color: var(--theme4-gold) !important;
}

body.theme-v4 .logo-header .btn-toggle span,
body.theme-v4 .navbar-header .btn-toggle span,
body.theme-v4 .sidenav-toggler span,
body.theme-v4 .topbar-toggler .navbar-toggler-icon,
body.theme-v4 .btn-toggle .icon-bar,
body.theme-v4 .navbar-toggler .icon-bar {
  background: var(--theme4-gold) !important;
}

/* Bottom nav mobile vendor/staff */
body.theme-v4 .fixed-bottom a.active,
body.theme-v4 .fixed-bottom a:hover {
  color: var(--theme4-blue-mid) !important;
}

body.theme-v4 .fixed-bottom a.active i,
body.theme-v4 .fixed-bottom a:hover i {
  color: var(--theme4-gold) !important;
}

/* Card headers / table accents */
body.theme-v4 .card-title,
body.theme-v4 .page-title,
body.theme-v4 .main-panel .card .card-header .card-title {
  color: var(--theme4-navy) !important;
}

body.theme-v4 .table thead th {
  color: var(--theme4-navy) !important;
}

body.theme-v4 .table-hover tbody tr:hover {
  background-color: rgba(91, 134, 183, 0.06) !important;
}

/* Frontend client — butoane / filtre generale */
body.theme-v4 .btn-gradient,
body.theme-v4 .theme-btn,
body.theme-v4 .main-btn,
body.theme-v4 .default-btn {
  background: linear-gradient(180deg, var(--theme4-blue-top) 0%, var(--theme4-blue-mid) 55%, var(--theme4-blue-bot) 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
}

body.theme-v4 .swiper-pagination-bullet-active,
body.theme-v4 .owl-dot.active span {
  background: var(--theme4-blue-mid) !important;
}

body.theme-v4 .tag,
body.theme-v4 .category-btn.active,
body.theme-v4 .filter-btn.active {
  background: var(--theme4-blue-mid) !important;
  color: #fff !important;
  border-color: var(--theme4-blue-mid) !important;
}

/* ═══════════════════════════════════════════════════════════
   REMAP ROȘU BRAND → ALBASTRU (calendar / dashboard / stats / tot)
   Acoperă #E5004F #FF0037 #C4185A și variabilele --nb2 / --t2-brand / --roz
   ═══════════════════════════════════════════════════════════ */

html:has(body.theme-v4) {
  --color-primary: #5b86b7;
  --color-secondary: #baa782;
  --color-primary-rgb: 91, 134, 183;
  --nb2: #5b86b7;
  --nb2-soft: #e8eef5;
  --t2-brand: #5b86b7;
  --roz: #5b86b7;
}

body.theme-v4 {
  /* Valori fixe — NU var(--theme4-gold/--theme4-blue-mid): erau ciclu cu --theme4-gold */
  --color-primary: #5b86b7 !important;
  --color-secondary: #baa782 !important;
  --color-primary-rgb: 91, 134, 183 !important;
  --nb2: #5b86b7 !important;
  --nb2-soft: #e8eef5 !important;
  --t2-brand: #5b86b7 !important;
  --roz: #5b86b7 !important;
  --p-brand: #5b86b7 !important;
  --p-soft: #e8eef5 !important;
  --sp-brand: #5b86b7 !important;
  --sp-brand-soft: #e8eef5 !important;
  --dn-rosu: #5b86b7 !important;
  --nb-roz: #5b86b7 !important;
}

/* Calendar Tema 2 */
html.nb-cal-t2 body.theme-v4,
body.theme-v4 {
  --nb2: #5b86b7;
  --nb2-soft: #e8eef5;
}

html.nb-cal-t2 body.theme-v4 #mobileAddAppointmentBtn,
body.theme-v4 #mobileAddAppointmentBtn {
  background: linear-gradient(135deg, var(--theme4-blue-top), var(--theme4-blue-bot)) !important;
  box-shadow: 0 8px 24px rgba(74, 116, 162, 0.4) !important;
}

html.nb-cal-t2 body.theme-v4 .sidenav-toggler i,
html.nb-cal-t2 body.theme-v4 .sidenav-toggler .icon-menu,
body.theme-v4 .sidenav-toggler i,
body.theme-v4 .sidenav-toggler .icon-menu {
  color: var(--theme4-gold) !important;
}

body.theme-v4 .nb2-pill.today,
body.theme-v4 .nb2-wday.on,
body.theme-v4 .nb2-primary,
body.theme-v4 #nb2Add,
body.theme-v4 .nb2-schip.on {
  background: var(--theme4-blue-mid) !important;
  border-color: var(--theme4-blue-mid) !important;
  color: #fff !important;
}

body.theme-v4 .nb2-title:hover,
body.theme-v4 .nb2-next .t,
body.theme-v4 .nb2-pill.today {
  color: var(--theme4-blue-mid) !important;
}

body.theme-v4 .nb2-pill.today {
  color: var(--theme4-blue-mid) !important;
  background: var(--theme4-bg-soft) !important;
  border-color: #b7c9de !important;
}

body.theme-v4 .nb2-schip.on {
  color: var(--theme4-blue-mid) !important;
  background: #fff !important;
}

/* FullCalendar */
body.theme-v4 .fc .fc-button-primary,
body.theme-v4 .fc-button-primary {
  background-color: var(--theme4-blue-mid) !important;
  border-color: var(--theme4-blue-mid) !important;
  color: #fff !important;
}

body.theme-v4 .fc .fc-button-primary:not(:disabled):active,
body.theme-v4 .fc .fc-button-primary:not(:disabled).fc-button-active,
body.theme-v4 .fc .fc-button-primary:hover {
  background-color: var(--theme4-blue-bot) !important;
  border-color: var(--theme4-blue-bot) !important;
}

body.theme-v4 .fc .fc-daygrid-day.fc-day-today,
body.theme-v4 .fc .fc-timegrid-col.fc-day-today {
  background: rgba(91, 134, 183, 0.1) !important;
}

body.theme-v4 .fc .fc-highlight {
  background: rgba(91, 134, 183, 0.18) !important;
}

body.theme-v4 .fc-theme-standard td,
body.theme-v4 .fc-theme-standard th {
  border-color: #dce3ee !important;
}

/* Dashboard theme2 */
body.theme-v4 .t2-chip,
body.theme-v4 .t2-av,
body.theme-v4 .t2-av {
  background: var(--theme4-blue-mid) !important;
}

body.theme-v4 .t2-wrap {
  --t2-brand: #5b86b7 !important;
}

/* Statistici / rapoarte */
body.theme-v4 .rap,
body.theme-v4 .rap * {
  --roz: #5b86b7 !important;
}

body.theme-v4 .rap i[style*="background"],
body.theme-v4 .rap [style*="background:#E5004F"],
body.theme-v4 .rap [style*="background: #E5004F"],
body.theme-v4 .rap [style*="background:#e5004f"] {
  background: var(--theme4-blue-mid) !important;
  background-color: var(--theme4-blue-mid) !important;
}

/* Icon / text / border cu roșu inline */
body.theme-v4 [style*="color:#E5004F"],
body.theme-v4 [style*="color: #E5004F"],
body.theme-v4 [style*="color:#e5004f"],
body.theme-v4 [style*="color: #e5004f"],
body.theme-v4 [style*="color:#FF0037"],
body.theme-v4 [style*="color: #FF0037"],
body.theme-v4 [style*="color:#ff0037"],
body.theme-v4 [style*="color: #ff0037"],
body.theme-v4 [style*="color:#C4185A"],
body.theme-v4 [style*="color: #C4185A"] {
  color: var(--theme4-blue-mid) !important;
}

body.theme-v4 [style*="background:#E5004F"],
body.theme-v4 [style*="background: #E5004F"],
body.theme-v4 [style*="background:#e5004f"],
body.theme-v4 [style*="background: #e5004f"],
body.theme-v4 [style*="background-color: #E5004F"],
body.theme-v4 [style*="background-color:#E5004F"],
body.theme-v4 [style*="background-color: #e5004f"],
body.theme-v4 [style*="background-color:#e5004f"],
body.theme-v4 [style*="background:#FF0037"],
body.theme-v4 [style*="background: #FF0037"],
body.theme-v4 [style*="background-color:#FF0037"],
body.theme-v4 [style*="background-color: #FF0037"],
body.theme-v4 [style*="background-color:#ff0037"],
body.theme-v4 [style*="background:#ff0037"] {
  background: var(--theme4-blue-mid) !important;
  background-color: var(--theme4-blue-mid) !important;
}

body.theme-v4 [style*="border-color: #E5004F"],
body.theme-v4 [style*="border-color:#E5004F"],
body.theme-v4 [style*="border-color: #e5004f"],
body.theme-v4 [style*="border-color:#e5004f"],
body.theme-v4 [style*="border-color: #FF0037"],
body.theme-v4 [style*="border-color:#FF0037"],
body.theme-v4 [style*="border-left:4px solid #E5004F"],
body.theme-v4 [style*="border-left:4px solid #e5004f"],
body.theme-v4 [style*="border: 2px solid #E5004F"],
body.theme-v4 [style*="border:2px solid #E5004F"] {
  border-color: var(--theme4-blue-mid) !important;
}

body.theme-v4 [style*="linear-gradient(135deg,#E5004F"],
body.theme-v4 [style*="linear-gradient(135deg, #E5004F"],
body.theme-v4 [style*="linear-gradient(135deg,#e5004f"],
body.theme-v4 [style*="linear-gradient(135deg, #e5004f"],
body.theme-v4 [style*="linear-gradient(135deg,#FF6B6B"],
body.theme-v4 [style*="background:linear-gradient(135deg,#E5004F,#C4185A)"],
body.theme-v4 [style*="background:linear-gradient(135deg, #E5004F, #C4185A)"] {
  background: linear-gradient(135deg, var(--theme4-blue-top), var(--theme4-blue-bot)) !important;
  box-shadow: 0 4px 18px rgba(74, 116, 162, 0.4) !important;
}

body.theme-v4 [style*="rgba(229,0,79"],
body.theme-v4 [style*="rgba(229, 0, 79"] {
  box-shadow: 0 4px 18px rgba(74, 116, 162, 0.4) !important;
}

body.theme-v4 [style*="accent-color:#E5004F"],
body.theme-v4 [style*="accent-color: #E5004F"] {
  accent-color: var(--theme4-blue-mid) !important;
}

body.theme-v4 [style*="background:#fdf2f6"],
body.theme-v4 [style*="background: #fdf2f6"],
body.theme-v4 [style*="background:#fde8ef"],
body.theme-v4 [style*="#ffe7ef"],
body.theme-v4 [style*="#FFF5F8"],
body.theme-v4 [style*="#fff5f8"] {
  background: #eef3f9 !important;
  background-color: #eef3f9 !important;
}

body.theme-v4 [style*="border:1px solid #f6d3e0"],
body.theme-v4 [style*="border: 1px solid #f6d3e0"],
body.theme-v4 [style*="#f3b3c7"] {
  border-color: #b7c9de !important;
}

/* Carduri dashboard Atlantis cu iconițe primary */
body.theme-v4 .card .icon-big > i,
body.theme-v4 .card-stats .icon-big,
body.theme-v4 .icon-primary,
body.theme-v4 .text-info {
  color: var(--theme4-blue-mid) !important;
}

body.theme-v4 .bubble-shadow-small {
  box-shadow: 0 4px 14px rgba(74, 116, 162, 0.28) !important;
}

/* Link-uri / badge notificări */
body.theme-v4 .noebi-notif-badge,
body.theme-v4 .badge-danger.noebi-notif-badge {
  background: var(--theme4-blue-mid) !important;
}

/* Toggle / switch Atlantis */
body.theme-v4 .toggle-on,
body.theme-v4 .bootstrap-select .dropdown-menu li.selected a span.check-mark,
body.theme-v4 .slider.round {
  background: var(--theme4-blue-mid) !important;
}

/* Stroke / fill SVG burger etc. */
body.theme-v4 svg [stroke="#e5004f"],
body.theme-v4 svg [stroke="#E5004F"],
body.theme-v4 .noebi-burger {
  stroke: var(--theme4-gold) !important;
}

body.theme-v4 .noebi-burger line {
  stroke: var(--theme4-gold) !important;
}

/* Pignose / datepickers */
body.theme-v4 .pignose-calendar .pignose-calendar-unit-date.pignose-calendar-unit-active a,
body.theme-v4 .pignose-calendar .pignose-calendar-unit-date.pignose-calendar-unit-range a {
  background-color: var(--theme4-blue-mid) !important;
}

body.theme-v4 .ui-datepicker .ui-state-active,
body.theme-v4 .ui-datepicker .ui-state-highlight {
  background: var(--theme4-blue-mid) !important;
  border-color: var(--theme4-blue-mid) !important;
  color: #fff !important;
}

/* Chart.js legend / canvas wrappers — forțează culoarea textelor din jur */
body.theme-v4 .card-stats .numbers p,
body.theme-v4 .statistics .title {
  color: var(--theme4-navy) !important;
}

/* Staff / vendor permission cards */
body.theme-v4 [style*="--p-brand"],
body.theme-v4 .perm-wrap,
body.theme-v4 .sp-wrap {
  --p-brand: #5b86b7 !important;
  --sp-brand: #5b86b7 !important;
}

/* ═══════════════════════════════════════════════════════════
   CHECKLIST UI — hamburger GOLD / iconițe ALBASTRU+GOLD /
   calendar / bottom-nav / statistici
   ═══════════════════════════════════════════════════════════ */

/* Hamburger: GOLD pe mobile + desktop (vendor/staff/frontend) */
body.theme-v4 .header-area .menu-toggler {
  background: transparent !important;
}
body.theme-v4 .header-area .menu-toggler span {
  background: var(--theme4-gold) !important;
}

body.theme-v4 .sidenav-toggler,
body.theme-v4 .sidenav-toggler .icon-menu,
body.theme-v4 .sidenav-toggler i.icon-menu,
body.theme-v4 .toggle-sidebar .icon-menu,
body.theme-v4 .btn-toggle .icon-menu,
body.theme-v4 .nav-toggle .icon-menu,
body.theme-v4 .navbar-toggler .icon-menu,
body.theme-v4 .logo-header .icon-menu,
body.theme-v4 .fixed-bottom .sidenav-toggler .icon-menu,
body.theme-v4 .fixed-bottom .sidenav-toggler i {
  color: var(--theme4-gold) !important;
}

body.theme-v4 .fixed-bottom .sidenav-toggler .icon-menu,
body.theme-v4 .fixed-bottom .sidenav-toggler i.icon-menu {
  background: #eef2f8 !important;
  border-radius: 50% !important;
}

/* Bottom nav mobile: iconițe inactive = ALBASTRU, active/hover = GOLD */
body.theme-v4 .fixed-bottom > a,
body.theme-v4 .fixed-bottom > a.text-dark {
  color: var(--theme4-blue-mid) !important;
}
body.theme-v4 .fixed-bottom > a i,
body.theme-v4 .fixed-bottom > a.text-dark i {
  color: var(--theme4-blue-mid) !important;
}
body.theme-v4 .fixed-bottom > a.active,
body.theme-v4 .fixed-bottom > a:hover,
body.theme-v4 .fixed-bottom > a.active i,
body.theme-v4 .fixed-bottom > a:hover i {
  color: var(--theme4-gold) !important;
}

/* Pe butoane albastre (primary): iconițele = GOLD */
body.theme-v4 .btn-primary i,
body.theme-v4 .btn.btn-primary i,
body.theme-v4 a.btn-primary i,
body.theme-v4 .btn-info i,
body.theme-v4 .btn-success i,
body.theme-v4 .nb2-primary i,
body.theme-v4 #nb2Add i,
body.theme-v4 #mobileAddAppointmentBtn i {
  color: var(--theme4-gold) !important;
}

/* Pe butoane albe / outline: iconițele = GOLD */
body.theme-v4 .btn-outline-primary i,
body.theme-v4 .btn-light i,
body.theme-v4 .btn-white i,
body.theme-v4 .btn-border i {
  color: var(--theme4-gold) !important;
}

/* Calendar — accente clare */
body.theme-v4 .nb2-chrome i.fas,
body.theme-v4 .nb2-chrome i.far,
body.theme-v4 .nb2-chrome i.fal,
body.theme-v4 .nb2-stat i,
body.theme-v4 .nb2-next i {
  color: var(--theme4-gold) !important;
}

body.theme-v4 .nb2-wday.on,
body.theme-v4 .nb2-primary,
body.theme-v4 #nb2Add,
body.theme-v4 .fc .fc-button-primary {
  background: linear-gradient(180deg, var(--theme4-blue-top), var(--theme4-blue-bot)) !important;
  border-color: transparent !important;
  color: #fff !important;
}

body.theme-v4 .nb2-pill.today {
  color: var(--theme4-blue-mid) !important;
  background: #e8eef5 !important;
  border-color: #b7c9de !important;
}

body.theme-v4 .nb2-next .t {
  color: var(--theme4-blue-mid) !important;
}

body.theme-v4 .nb2-schip.on {
  color: var(--theme4-blue-mid) !important;
  border-color: var(--theme4-blue-mid) !important;
  background: #fff !important;
}

html.nb-cal-t2 body.theme-v4 #mobileAddAppointmentBtn,
body.theme-v4 #mobileAddAppointmentBtn {
  background: linear-gradient(135deg, var(--theme4-blue-top), var(--theme4-blue-bot)) !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(74, 116, 162, 0.4) !important;
}
html.nb-cal-t2 body.theme-v4 #mobileAddAppointmentBtn i,
body.theme-v4 #mobileAddAppointmentBtn i {
  color: var(--theme4-gold) !important;
}

/* Soft pink → soft blue în calendar */
body.theme-v4 .nb2-pill.today,
html.nb-cal-t2 body.theme-v4 {
  --nb2-soft: #e8eef5 !important;
}

/* Statistici: bare + KPI pe albastru, contrast bun */
body.theme-v4 .rap {
  --roz: var(--theme4-blue-mid) !important;
}
body.theme-v4 .rap .kpi .h3,
body.theme-v4 .rap .kpi .card-title {
  color: var(--theme4-navy) !important;
}
body.theme-v4 .rap .per .btn-primary,
body.theme-v4 .rap .per .btn.active {
  background: linear-gradient(180deg, var(--theme4-blue-top), var(--theme4-blue-bot)) !important;
  border-color: transparent !important;
  color: #fff !important;
}
body.theme-v4 .rap .lin .sina > i,
body.theme-v4 .rap .sina > i {
  background: var(--theme4-blue-mid) !important;
}
body.theme-v4 .rap .fisa h6 {
  color: var(--theme4-navy) !important;
}

/* Dashboard stats cards — icon gold pe fundal soft blue */
body.theme-v4 .card-stats .icon-big > i,
body.theme-v4 .card .icon-big.text-primary > i,
body.theme-v4 .icon-primary {
  color: var(--theme4-gold) !important;
}
body.theme-v4 .card-stats .icon-big {
  background: rgba(91, 134, 183, 0.12) !important;
}

/* Topbar desktop toggle = GOLD */
body.theme-v4 .topbar-toggler,
body.theme-v4 .topbar-toggler i,
body.theme-v4 .more .icon-options-vertical {
  color: var(--theme4-gold) !important;
}

/* ── FIX mobil: SVG burger (mobile-nav-fix) + bottom bar ── */
body.theme-v4 .sidenav-toggler,
body.theme-v4 .sidenav-toggler.noebi-visible,
body.theme-v4 .fixed-bottom .sidenav-toggler,
body.theme-v4 .fixed-bottom .sidenav-toggler.noebi-visible {
  color: var(--theme4-gold) !important;
}

body.theme-v4 .noebi-burger,
body.theme-v4 svg.noebi-burger {
  color: var(--theme4-gold) !important;
}

body.theme-v4 .noebi-burger line,
body.theme-v4 svg.noebi-burger line {
  stroke: var(--theme4-gold) !important;
}

body.theme-v4 .d-lg-none.fixed-bottom a.text-dark,
body.theme-v4 .fixed-bottom > a.text-dark {
  color: var(--theme4-blue-mid) !important;
}

body.theme-v4 .d-lg-none.fixed-bottom a.text-dark > i,
body.theme-v4 .fixed-bottom > a.text-dark > i,
body.theme-v4 .d-lg-none.fixed-bottom a.text-dark > i.fas,
body.theme-v4 .d-lg-none.fixed-bottom a.text-dark > i.far,
body.theme-v4 .fixed-bottom > a.text-dark > i.fas,
body.theme-v4 .fixed-bottom > a.text-dark > i.far {
  color: var(--theme4-blue-mid) !important;
  -webkit-text-fill-color: var(--theme4-blue-mid) !important;
}

body.theme-v4 .d-lg-none.fixed-bottom a.active > i,
body.theme-v4 .fixed-bottom > a.active > i,
body.theme-v4 .d-lg-none.fixed-bottom a:hover > i,
body.theme-v4 .fixed-bottom > a:hover > i {
  color: var(--theme4-gold) !important;
  -webkit-text-fill-color: var(--theme4-gold) !important;
}

/* Frontend client mobil — panou user grid icons GOLD pe butoane albastre */
body.theme-v4 .user-dashboard .widget .row.g-2 > [class*="col-6"] > a i.fas,
body.theme-v4 .user-dashboard .widget .row.g-2 > [class*="col-6"] > a i.fal,
body.theme-v4 .user-dashboard .widget .row.g-2 > [class*="col-6"] > a i.far,
body.theme-v4 .user-dashboard .widget .row.g-2 > .col-6 > a i.fas,
body.theme-v4 .user-dashboard .widget .row.g-2 > .col-6 > a i.fal,
body.theme-v4 .user-dashboard .widget .row.g-2 > .col-6 > a i.far {
  color: var(--theme4-gold) !important;
  -webkit-text-fill-color: var(--theme4-gold) !important;
}

body.theme-v4 .user-dashboard .noebi-user-aside .noebi-user-hello__btn i,
body.theme-v4 .user-dashboard .widget .row.g-2 > .col-12 > a:not([href*="logout"]) i {
  color: var(--theme4-gold) !important;
  -webkit-text-fill-color: var(--theme4-gold) !important;
}

/* Desktop sidebar toggle (logo-header) */
body.theme-v4 .logo-header .btn-toggle,
body.theme-v4 .logo-header .btn-toggle .icon-menu,
body.theme-v4 .nav-toggle .btn-toggle {
  color: var(--theme4-gold) !important;
}
