/*
|--------------------------------------------------------------------------
| NoviDesk V160.148D — Desktop Blue Palette Repair
|--------------------------------------------------------------------------
| Loaded after @yield('content') and after panel-dark-theme-v74.css.
| This is intentionally the final desktop color layer for the default
| novidesk-premium theme because several legacy pages define inline/page CSS.
|
| Scope:
| - desktop only (>= 851px)
| - default novidesk-premium theme only
| - no mobile changes
| - no alternate company-theme changes
| - semantic green / amber / red states remain semantic
|--------------------------------------------------------------------------
*/

@media (min-width:851px){

/* ========================================================================
   1. Shared context switch — remove legacy purple from every owner page
   ======================================================================== */

html[data-bg-theme="novidesk-premium"] .nd-v124-context-switch{
    border-color:#D9E8F0!important;
    background:#F5FAFD!important;
    box-shadow:none!important;
}
html[data-bg-theme="novidesk-premium"] .nd-v124-context-switch button{
    color:#587083!important;
    background:transparent!important;
    box-shadow:none!important;
}
html[data-bg-theme="novidesk-premium"] .nd-v124-context-switch button:hover{
    color:#2F6078!important;
    background:#EDF8FC!important;
}
html[data-bg-theme="novidesk-premium"] .nd-v124-context-switch button.active{
    color:#FFFFFF!important;
    background:linear-gradient(135deg,#6FAAC7,#2F7F9F)!important;
    box-shadow:0 7px 17px rgba(47,127,159,.18)!important;
}

/* ========================================================================
   2. Notifications / event center
   ======================================================================== */

html[data-bg-theme="novidesk-premium"] .nd-notifications-page{
    --accent:#6FAAC7!important;
    color:#0C1B33!important;
}

html[data-bg-theme="novidesk-premium"] .nd-notifications-card{
    border-color:#E6EDF4!important;
    background:#FFFFFF!important;
    box-shadow:0 12px 32px rgba(31,78,103,.07)!important;
}

html[data-bg-theme="novidesk-premium"] .nd-notifications-hero-icon{
    background:linear-gradient(135deg,#6FAAC7,#2F7F9F)!important;
    color:#FFFFFF!important;
    box-shadow:0 9px 22px rgba(47,127,159,.18)!important;
}

html[data-bg-theme="novidesk-premium"] .nd-notifications-hero-copy h1{
    color:#0C1B33!important;
}
html[data-bg-theme="novidesk-premium"] .nd-notifications-hero-copy p,
html[data-bg-theme="novidesk-premium"] .nd-page-footer,
html[data-bg-theme="novidesk-premium"] .nd-item-meta,
html[data-bg-theme="novidesk-premium"] .nd-item-message{
    color:#7F8AA0!important;
}

html[data-bg-theme="novidesk-premium"] .nd-notifications-page .nd-btn-soft,
html[data-bg-theme="novidesk-premium"] .nd-notifications-page .nd-action-link,
html[data-bg-theme="novidesk-premium"] .nd-notifications-page .nd-mark-read,
html[data-bg-theme="novidesk-premium"] .nd-notifications-page .nd-reference-link{
    border-color:#DCE8EF!important;
    background:#FFFFFF!important;
    color:#52677A!important;
    box-shadow:none!important;
}

html[data-bg-theme="novidesk-premium"] .nd-notifications-page .nd-btn-soft:hover,
html[data-bg-theme="novidesk-premium"] .nd-notifications-page .nd-mark-read:hover,
html[data-bg-theme="novidesk-premium"] .nd-notifications-page .nd-reference-link:hover{
    border-color:#CDE2EC!important;
    background:#F3F9FC!important;
    color:#2F7F9F!important;
}

html[data-bg-theme="novidesk-premium"] .nd-notifications-page .nd-btn-primary,
html[data-bg-theme="novidesk-premium"] .nd-notifications-page .nd-action-link{
    border-color:transparent!important;
    background:linear-gradient(135deg,#6FAAC7,#2F7F9F)!important;
    color:#FFFFFF!important;
    box-shadow:0 8px 19px rgba(47,127,159,.17)!important;
}

html[data-bg-theme="novidesk-premium"] .nd-stat{
    border-color:#E6EDF4!important;
}
html[data-bg-theme="novidesk-premium"] .nd-stat.is-cool{
    border-color:#D9E9F2!important;
    background:#F3F9FC!important;
}
html[data-bg-theme="novidesk-premium"] .nd-stat.is-neutral{
    border-color:#E6EDF4!important;
    background:#FBFDFE!important;
}
html[data-bg-theme="novidesk-premium"] .nd-stat-copy span{
    color:#65798B!important;
}
html[data-bg-theme="novidesk-premium"] .nd-stat strong{
    color:#0C1B33!important;
}
html[data-bg-theme="novidesk-premium"] .nd-stat small{
    color:#7F8AA0!important;
}

html[data-bg-theme="novidesk-premium"] .nd-toolbar{
    border-top-color:#EDF2F5!important;
}
html[data-bg-theme="novidesk-premium"] .nd-tab{
    border-color:#DCE8EF!important;
    background:#FFFFFF!important;
    color:#52677A!important;
}
html[data-bg-theme="novidesk-premium"] .nd-tab b{
    background:#EDF8FC!important;
    color:#2F7F9F!important;
}
html[data-bg-theme="novidesk-premium"] .nd-tab.active{
    border-color:transparent!important;
    background:linear-gradient(135deg,#6FAAC7,#2F7F9F)!important;
    color:#FFFFFF!important;
    box-shadow:0 7px 18px rgba(47,127,159,.17)!important;
}
html[data-bg-theme="novidesk-premium"] .nd-tab.active b{
    background:rgba(255,255,255,.18)!important;
    color:#FFFFFF!important;
}
html[data-bg-theme="novidesk-premium"] .nd-filter{
    border-color:#DCE8EF!important;
    background:#FBFDFE!important;
    color:#334B5D!important;
}

html[data-bg-theme="novidesk-premium"] .nd-section{
    border-color:#E6EDF4!important;
    background:#FBFDFE!important;
}
html[data-bg-theme="novidesk-premium"] .nd-section-head,
html[data-bg-theme="novidesk-premium"] .nd-item,
html[data-bg-theme="novidesk-premium"] .nd-section-footer{
    border-color:#EDF2F5!important;
}
html[data-bg-theme="novidesk-premium"] .nd-section-title{
    color:#42596B!important;
}
html[data-bg-theme="novidesk-premium"] .nd-section-count,
html[data-bg-theme="novidesk-premium"] .nd-item-side{
    color:#7F8AA0!important;
}
html[data-bg-theme="novidesk-premium"] .nd-item{
    --accent:#6FAAC7!important;
    background:#FFFFFF!important;
}
html[data-bg-theme="novidesk-premium"] .nd-item::before{
    background:#6FAAC7!important;
}
html[data-bg-theme="novidesk-premium"] .nd-item-icon{
    border-color:#DDEAF1!important;
    background:#EDF8FC!important;
    color:#2F7F9F!important;
}
html[data-bg-theme="novidesk-premium"] .nd-item-title,
html[data-bg-theme="novidesk-premium"] .nd-item-side strong{
    color:#173047!important;
}
html[data-bg-theme="novidesk-premium"] .nd-badge{
    border-color:#D8E8F0!important;
    background:#EDF8FC!important;
    color:#2F7F9F!important;
}
html[data-bg-theme="novidesk-premium"] .nd-reference-link,
html[data-bg-theme="novidesk-premium"] .nd-show-more{
    color:#2F7F9F!important;
}

html[data-bg-theme="novidesk-premium"] .nd-empty-state{
    border-color:#D7E7EF!important;
    background:linear-gradient(180deg,#FBFDFE,#F3FAFC)!important;
    color:#7F8AA0!important;
}
html[data-bg-theme="novidesk-premium"] .nd-empty-state-icon{
    background:#E5F3F8!important;
    color:#2F7F9F!important;
}
html[data-bg-theme="novidesk-premium"] .nd-empty-state strong{
    color:#29465A!important;
}

/* ========================================================================
   3. Schedule / calendar — neutral blue product chrome
   Semantic capacity colors are deliberately preserved.
   ======================================================================== */

html[data-bg-theme="novidesk-premium"] .desktop-salon-planner{
    --nd-cal-ink:#0C1B33!important;
    --nd-cal-muted:#7F8AA0!important;
    --nd-cal-line:#E1EBF1!important;
    --nd-cal-panel:#FFFFFF!important;
    --nd-cal-soft:#F3FAFC!important;
    --nd-cal-accent:#6FAAC7!important;
    --nd-cal-accent-dark:#2F7F9F!important;
}

html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v100-header{
    border-color:#E1EBF1!important;
    background:
        radial-gradient(circle at 100% 0%,rgba(111,170,199,.12),transparent 34%),
        linear-gradient(135deg,#FFFFFF,#F8FCFE)!important;
    box-shadow:0 9px 24px rgba(31,78,103,.055)!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v100-eyebrow{
    color:#2F7F9F!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v100-header .dsp-brand strong{
    color:#0C1B33!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v100-header .dsp-brand small{
    color:#7F8AA0!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v100-header .btn-primary{
    border-color:transparent!important;
    background:linear-gradient(135deg,#6FAAC7,#2F7F9F)!important;
    box-shadow:0 8px 19px rgba(47,127,159,.18)!important;
}

html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v105-navigation{
    border-color:#DDE9F0!important;
    background:linear-gradient(180deg,#FFFFFF,#F7FBFD)!important;
    box-shadow:0 8px 22px rgba(31,78,103,.055)!important;
}

html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v1259-employee-filter,
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v1259-personal-scope{
    border-color:#DDE9F0!important;
    background:#FFFFFF!important;
    box-shadow:0 4px 13px rgba(31,78,103,.04)!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v1259-employee-filter > span,
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v1259-personal-scope > span{
    color:#6C8293!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v1259-employee-filter select{
    background:#F5FAFD!important;
    color:#29465A!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v1259-personal-scope strong{
    color:#29465A!important;
}

html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v105-viewbar .dsp-tabs{
    border-color:#DDE9F0!important;
    background:#FFFFFF!important;
    box-shadow:0 5px 15px rgba(31,78,103,.045)!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v105-viewbar .dsp-tab{
    background:transparent!important;
    color:#52677A!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v105-viewbar .dsp-tab:hover{
    background:#EDF8FC!important;
    color:#2F6078!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v105-viewbar .dsp-tab.active{
    background:linear-gradient(135deg,#6FAAC7,#2F7F9F)!important;
    color:#FFFFFF!important;
    box-shadow:0 7px 17px rgba(47,127,159,.17)!important;
}

html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v105-period-button{
    border-color:#CDE2EC!important;
    background:linear-gradient(180deg,#F5FBFD,#E8F5FA)!important;
    color:#2F7F9F!important;
    box-shadow:0 5px 13px rgba(47,127,159,.09),inset 0 0 0 2px rgba(255,255,255,.72)!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v105-period-button:hover{
    border-color:#AFCFDE!important;
    background:linear-gradient(180deg,#EDF8FC,#DDEFF6)!important;
    box-shadow:0 8px 18px rgba(47,127,159,.14),inset 0 0 0 2px rgba(255,255,255,.82)!important;
}

html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v105-date-card{
    border-color:#DDE9F0!important;
    background:linear-gradient(180deg,#FFFFFF,#F8FCFE)!important;
    box-shadow:0 5px 14px rgba(31,78,103,.045)!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v105-calendar-icon{
    background:linear-gradient(180deg,#EDF8FC,#E2F2F8)!important;
    color:#2F7F9F!important;
    box-shadow:inset 0 0 0 1px rgba(47,127,159,.08)!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v105-date-card #desktopPlannerTitle{
    color:#173047!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v105-date-card #desktopPlannerSubtitle{
    color:#7F8AA0!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v105-today{
    background:linear-gradient(135deg,#6FAAC7,#2F7F9F)!important;
    color:#FFFFFF!important;
    box-shadow:0 6px 15px rgba(47,127,159,.18)!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v105-today:hover{
    box-shadow:0 9px 20px rgba(47,127,159,.23)!important;
}

html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-month-shell-v100,
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-day-agenda-panel,
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-day-side-card{
    border-color:#E1EBF1!important;
    background:#FFFFFF!important;
    box-shadow:0 8px 22px rgba(31,78,103,.05)!important;
}

html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-month-day{
    box-shadow:none!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-month-day:hover{
    box-shadow:0 7px 16px rgba(31,78,103,.07)!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-month-day.today{
    outline:2px solid rgba(47,127,159,.30)!important;
    box-shadow:0 0 0 3px rgba(111,170,199,.12)!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-month-day.today .dsp-month-day-head em{
    background:linear-gradient(135deg,#6FAAC7,#2F7F9F)!important;
    border-color:transparent!important;
    color:#FFFFFF!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-month-day.today .dsp-month-day-head b{
    color:#173047!important;
}

/* Legacy neutral pieces still hard-coded pink/purple */
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-day-side-note{
    color:#7F8AA0!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-side-action{
    border-color:#DCE8EF!important;
    background:#EDF8FC!important;
    color:#2F6078!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-day-empty{
    border-color:#D6E7EF!important;
    background:#F8FCFE!important;
    color:#718698!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-day-empty strong{
    color:#29465A!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .nd-day-hidden{
    border-color:#DCE8EF!important;
    background:#F8FCFE!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .nd-day-hidden>summary{
    color:#52677A!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .nd-day-hidden>summary strong{
    background:#E5F3F8!important;
    color:#2F7F9F!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .nd-day-hidden>summary small{
    color:#8291A1!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .bg-v159-deposit-safe-note{
    border-color:#DCE8EF!important;
    background:linear-gradient(180deg,#FBFDFE,#F3FAFC)!important;
    color:#42596B!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .bg-v159-deposit-safe-note small{
    color:#7F8AA0!important;
}

/* Keep neutral purple/plum text out of desktop calendar chrome while not
   touching semantic status colors such as green / amber / red. */
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v100-panel-head h3,
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v100-panel-stat strong{
    color:#173047!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v100-panel-stat{
    border-color:#E1EBF1!important;
    background:#F8FCFE!important;
}
html[data-bg-theme="novidesk-premium"] .desktop-salon-planner .dsp-v100-panel-actions .secondary{
    border-color:#DCE8EF!important;
    background:#FFFFFF!important;
    color:#52677A!important;
}

}
