/*
 * Gist Ops front-end stylesheet.
 * Built from the prototype (design_handoff_gist_operations/prototype.dc.html), which is
 * the source of truth for this app's HTML/CSS/JS. Extended module by module as pages
 * are ported — not every prototype screen has a section here yet.
 * Codec Pro @font-face is already injected via wp_head (see BOPS_Setup_Trait::print_codec_pro_font_faces).
 *
 * Every rule below is scoped as ".bops-app <selector>" (or more specific) on purpose:
 * the active theme's Elementor kit applies global styles straight to bare tags
 * (e.g. ".elementor-kit-7 button", ".elementor-kit-7 a") at (0,1,1) specificity.
 * A bare single class here would lose that fight, so everything needs at least
 * two classes' worth of specificity to reliably win.
 */

.bops-app,
.bops-fields {
    box-sizing: border-box;
}

.bops-app *,
.bops-fields * {
    box-sizing: inherit;
}

.bops-app {
    --bops-bg: #F5F4F1;
    --bops-card: #fff;
    --bops-border: #E7E5E1;
    --bops-border-input: #DAD9D6;
    --bops-divider: #F0EEEA;
    --bops-surface: #F7F6F4;
    --bops-text: #3E3E3E;
    --bops-muted: #8a8884;
    --bops-accent: #FF695D;
    --bops-accent-hover: #e05348;
    --bops-positive: #BBD8C5;
    --bops-positive-strong: #2f5140;
    --bops-warning-bg: #F5D9B0;
    --bops-warning-strong: #F0C879;
    --bops-danger: #B03A2E;
    --bops-danger-bg: #f5c4bd;
    --bops-danger-bg-soft: #FBDCD8;
    --bops-radius-input: 8px;
    --bops-radius-card: 8px;
    --bops-radius-pill: 8px;
    --bops-gutter: clamp(16px, 4vw, 48px);
    --bops-topbar-height: 56px;
    max-width: none;
    margin: 0;
    background: var(--bops-bg);
    color: var(--bops-text);
    font-family: 'Codec Pro', sans-serif;
    line-height: 1.5;
}

.bops-app a {
    color: var(--bops-accent);
}

.bops-app a:hover {
    color: var(--bops-accent-hover);
}

.bops-app textarea,
.bops-fields textarea {
    line-height: 1.5;
}

/*
 * Global guard against the theme's Elementor kit hijacking plain buttons
 * (".elementor-kit-7 button" etc. beats a same-specificity base rule since it
 * also matches the bare "button" type). ".bops-app.bops-app" repeats the
 * class to reach 2 classes' worth of specificity without an extra type
 * selector (:where() keeps "button" itself contributing zero), so this ties
 * with any later ".bops-app .component" rule and loses on purpose to more
 * specific/deliberate styling (e.g. .bops-btn-primary, .bops-range-picker-trigger)
 * defined further down, while still beating the theme by default for every
 * other bordered utility button. New plain buttons should not need their own
 * override for this reason alone.
 *
 * The base (non-hover) rule resets padding to 0 and min-width/min-height to 0.
 * The theme's own "button { padding: 12px 24px }" survives even at equal
 * specificity to a plain "width: 24px" rule if the button also sits in a flex
 * row: flex items default to "min-width: auto", which floors the rendered
 * size at the *content* size (theme padding included) regardless of a
 * declared width — so a 24x24 icon-button silently renders ~50px wide unless
 * something resets both the inherited padding and the flex min-size floor.
 * Components that want real padding (buttons with text) already declare
 * their own and win the same way the hover rule above does.
 */
.bops-app.bops-app :where(button) {
    padding: 0;
    min-width: 0;
    min-height: 0;
}

.bops-app.bops-app :where(button):hover,
.bops-app.bops-app :where(button):focus {
    background: var(--bops-card);
    border-color: var(--bops-border-input);
    color: var(--bops-text);
}

/*
 * Bridge for legacy bops.css button classes (.bops-button, still used by
 * every not-yet-redesigned module - login, Cereri, Comenzi, Pontaj retro
 * actions, etc.): those rules are single-class selectors, so the reset
 * above (2 classes) always wins over them regardless of load order, which
 * silently collapsed them to 0 padding/min-height. ".bops-app.bops-app"
 * matches the reset's specificity so these explicitly win.
 */
.bops-app.bops-app .bops-button {
    padding: 12px 16px;
    min-width: 0;
    min-height: 48px;
}

/*
 * Elementor's global kit CSS (post-{kit_id}.css) ships
 * ".elementor-kit-N input:not([type=button]):not([type=submit]) { border-radius: 0 }" -
 * each :not() clause counts as a class for specificity, so that selector sits
 * at 3 classes + 1 type, beating a plain ".bops-app .bops-field-input" (2
 * classes) regardless of load order, and the kit CSS also loads after ours -
 * so even tying its specificity wouldn't help. Repeating the class here
 * reaches 4 classes, which wins outright. Textareas/selects aren't targeted
 * by that Elementor rule, so they don't need this.
 */
.bops-app.bops-app .bops-field-input.bops-field-input {
    border-radius: var(--bops-radius-input);
}

/* Page shell: topbar + off-canvas drawer nav */

.bops-app .bops-topbar {
    height: var(--bops-topbar-height);
    background: var(--bops-card);
    border-bottom: 1px solid var(--bops-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--bops-gutter);
    position: sticky;
    top: 0;
    z-index: 10;
}

.bops-app .bops-topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bops-app .bops-hamburger {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: var(--bops-radius-input);
    border: 1px solid var(--bops-border-input);
    background: var(--bops-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    padding: 0;
}

.bops-app .bops-hamburger:hover,
.bops-app .bops-hamburger:focus {
    background: var(--bops-card);
    border-color: var(--bops-border-input);
}

.bops-app .bops-hamburger span {
    width: 18px;
    height: 2px;
    background: var(--bops-text);
    display: block;
}

.bops-app .bops-topbar-logo {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: block;
}

.bops-app .bops-topbar-location {
    font-weight: 700;
    font-size: 15px;
    color: var(--bops-text);
    padding: 4px 0;
}

.bops-app .bops-topbar-location-form {
    display: inline-flex;
}

.bops-app .bops-topbar-location-select {
    border: none;
    background-color: transparent;
    font-weight: 700;
    font-size: 15px;
    font-family: 'Codec Pro', sans-serif;
    color: var(--bops-text);
    cursor: pointer;
    padding: 4px 20px 4px 0;
    background-image: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2710%27 height=%276%27 viewBox=%270 0 10 6%27%3E%3Cpath d=%27M1 1l4 4 4-4%27 stroke=%27%238a8884%27 stroke-width=%271.5%27 fill=%27none%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 2px center;
    background-size: 10px 6px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.bops-app .bops-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.bops-app .bops-topbar-switch-user-form {
    display: inline-flex;
}

.bops-app .bops-topbar-switch-user-select {
    border: 1px solid var(--bops-border-input);
    border-radius: 999px;
    background-color: transparent;
    font-size: 12px;
    font-family: 'Codec Pro', sans-serif;
    color: var(--bops-muted);
    cursor: pointer;
    padding: 4px 20px 4px 10px;
    background-image: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2710%27 height=%276%27 viewBox=%270 0 10 6%27%3E%3Cpath d=%27M1 1l4 4 4-4%27 stroke=%27%238a8884%27 stroke-width=%271.5%27 fill=%27none%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 10px 6px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.bops-app .bops-topbar-switch-back-btn {
    border: 1px solid var(--bops-accent);
    border-radius: 999px;
    background: none;
    color: var(--bops-accent);
    font-size: 12px;
    font-weight: 600;
    font-family: 'Codec Pro', sans-serif;
    cursor: pointer;
    padding: 4px 12px;
}

.bops-app .bops-avatar-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bops-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
    text-decoration: none !important;
}

.bops-app .bops-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 40;
    display: none;
}

body.bops-nav-open .bops-app .bops-drawer-overlay {
    display: block;
}

body.bops-nav-open {
    overflow: hidden;
}

.bops-app .bops-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 80%;
    max-width: 300px;
    background: var(--bops-card);
    padding: 20px 14px;
    overflow-y: auto;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 2px;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    z-index: 41;
}

body.bops-nav-open .bops-app .bops-drawer {
    transform: translateX(0);
}

.bops-app .bops-drawer a,
.bops-app .bops-drawer .bops-nav-logout a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 12px 14px;
    border-radius: var(--bops-radius-input);
    color: var(--bops-text);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    background: transparent;
}

.bops-app .bops-drawer a:hover,
.bops-app .bops-drawer a:focus {
    color: var(--bops-text);
    background: transparent;
}

.bops-app .bops-drawer a.is-active {
    background: transparent;
    color: var(--bops-accent);
    font-weight: 800;
}

.bops-app .bops-drawer a.is-active:hover,
.bops-app .bops-drawer a.is-active:focus {
    color: var(--bops-accent);
    background: transparent;
}

.bops-app .bops-drawer-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bops-app .bops-drawer-item a {
    flex: 1;
}

.bops-app .bops-drawer-expand-toggle {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bops-border-input);
    border-radius: 8px;
    background: var(--bops-card);
    color: var(--bops-muted);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.bops-app .bops-drawer-expand-toggle:hover,
.bops-app .bops-drawer-expand-toggle:focus {
    background: var(--bops-card);
    border-color: var(--bops-border-input);
    color: var(--bops-muted);
}

.bops-app .bops-drawer-subnav {
    padding-left: 14px;
}

.bops-app .bops-drawer-subnav .bops-subnav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border: none;
    padding: 0;
    position: static;
}

.bops-app .bops-drawer-subnav .bops-subnav a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--bops-text);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    background: transparent;
}

.bops-app .bops-drawer-subnav .bops-subnav a:hover,
.bops-app .bops-drawer-subnav .bops-subnav a:focus {
    color: var(--bops-text);
    background: transparent;
}

.bops-app .bops-drawer-subnav .bops-subnav a.is-active {
    color: var(--bops-accent);
    font-weight: 600;
    background: transparent;
}

.bops-app .bops-drawer-subnav .bops-subnav a.is-active:hover,
.bops-app .bops-drawer-subnav .bops-subnav a.is-active:focus {
    color: var(--bops-accent);
    background: transparent;
}

.bops-app .bops-drawer .bops-nav-logout {
    margin: 16px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--bops-divider);
}

.bops-app .bops-drawer .bops-nav-logout a {
    color: var(--bops-muted);
    font-weight: 400;
}

.bops-app .bops-drawer .bops-nav-logout a:hover,
.bops-app .bops-drawer .bops-nav-logout a:focus {
    color: var(--bops-muted);
    background: transparent;
}

.bops-app .bops-shell-content {
    padding: 16px var(--bops-gutter);
}

/* Horizontal sub-nav tabs above a module's content (Produse/Legalitate/
   Pontaj/Tasks/Comenzi/Cereri) -- reuses the same subnav() renderer
   methods as the drawer's expanded sub-items, just re-skinned as tabs. */

.bops-app .bops-subnav-tabs {
    display: flex;
    overflow-x: auto;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--bops-border);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.bops-app .bops-subnav-tabs::-webkit-scrollbar {
    display: none;
}

.bops-app .bops-subnav-tabs .bops-subnav {
    display: flex;
    gap: 18px;
    border: none;
    padding: 0;
    position: static;
}

.bops-app .bops-subnav-tabs .bops-subnav a {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 8px 2px 15px;
    margin-bottom: -9px;
    white-space: nowrap;
    color: var(--bops-muted);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
}

.bops-app .bops-subnav-tabs .bops-subnav a:hover,
.bops-app .bops-subnav-tabs .bops-subnav a:focus {
    color: var(--bops-text);
    background: transparent;
    border-bottom-color: transparent;
}

.bops-app .bops-subnav-tabs .bops-subnav a.is-active {
    color: var(--bops-accent);
    font-weight: 800;
    background: transparent;
    border-bottom-color: var(--bops-accent);
}

.bops-app .bops-subnav-tabs .bops-subnav a.is-active:hover,
.bops-app .bops-subnav-tabs .bops-subnav a.is-active:focus {
    color: var(--bops-accent);
    background: transparent;
    border-bottom-color: var(--bops-accent);
}

/* Page heading */

.bops-app .bops-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bops-muted);
    margin: 0 0 6px;
}

.bops-app .bops-page-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.bops-app .bops-page-subtitle {
    font-size: 14px;
    color: var(--bops-muted);
    margin: 0 0 24px;
}

.bops-app .bops-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.bops-app .bops-page-header .bops-eyebrow,
.bops-app .bops-page-header .bops-page-title {
    margin: 0;
}

.bops-app .bops-page-header .bops-eyebrow {
    margin-bottom: 6px;
}

.bops-app .bops-round-button {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    border: none;
    background: var(--bops-accent);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none !important;
}

.bops-app .bops-round-button:hover,
.bops-app .bops-round-button:focus {
    background: var(--bops-accent-hover);
    color: #fff;
}

/* Cards, lists, buttons, badges shared across modules */

.bops-app .bops-card {
    background: var(--bops-card);
    border: 1px solid var(--bops-border);
    border-radius: var(--bops-radius-card);
    padding: 24px;
}

.bops-app .bops-stat-card {
    background: var(--bops-card);
    border: 1px solid var(--bops-border);
    border-radius: var(--bops-radius-card);
    padding: 20px;
}

.bops-app .bops-stat-card p:first-child {
    font-size: 13px;
    color: var(--bops-muted);
    margin: 0 0 10px;
}

.bops-app .bops-stat-card p:last-child {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
}

.bops-app .bops-stat-card p:last-child span {
    font-size: 14px;
    font-weight: 400;
    color: var(--bops-muted);
}

.bops-app .bops-row {
    padding: 16px 0;
    border-bottom: 1px solid var(--bops-divider);
}

.bops-app .bops-row:last-child {
    border-bottom: none;
}

.bops-app .bops-pill {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--bops-radius-pill);
    font-size: 12px;
    font-weight: 600;
}

.bops-app .bops-pill-freq-daily {
    background: var(--bops-positive);
}

.bops-app .bops-pill-freq-weekly {
    background: var(--bops-warning-bg);
}

.bops-app .bops-pill-freq-monthly {
    background: var(--bops-border-input);
}

.bops-app .bops-pill-freq-anytime {
    background: var(--bops-divider);
}

.bops-app .bops-pill-freq-one_time {
    background: var(--bops-danger-bg);
}

.bops-app .bops-pill-neutral {
    background: var(--bops-divider);
    border: 1px solid var(--bops-border-input);
}

.bops-app .bops-danger-link {
    color: var(--bops-danger);
    font-size: 13px;
    cursor: pointer;
}

.bops-app .bops-danger-link:hover,
.bops-app .bops-danger-link:focus {
    color: var(--bops-danger);
}

.bops-app .bops-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 1px solid var(--bops-border-input);
    border-radius: 8px;
    background: none;
    color: var(--bops-text);
    cursor: pointer;
    text-decoration: none !important;
}

.bops-app .bops-icon-btn:hover,
.bops-app .bops-icon-btn:focus {
    background: none;
    border-color: var(--bops-border-input);
    color: var(--bops-text);
}

.bops-app .bops-icon-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

.bops-app .bops-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--bops-divider);
}

.bops-app .bops-pagination-info {
    font-size: 13px;
    color: var(--bops-muted);
}

.bops-app .bops-icon-btn-danger {
    color: var(--bops-danger);
}

.bops-app .bops-icon-btn-danger:hover,
.bops-app .bops-icon-btn-danger:focus {
    color: var(--bops-danger);
}

.bops-app .bops-select {
    width: auto;
    border: 1px solid var(--bops-border-input);
    border-radius: var(--bops-radius-input);
    padding: 10px 34px 10px 12px;
    font-size: 14px;
    font-family: 'Codec Pro', sans-serif;
    background-color: var(--bops-card);
    color: var(--bops-text);
    cursor: pointer;
    background-image: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2710%27 height=%276%27 viewBox=%270 0 10 6%27%3E%3Cpath d=%27M1 1l4 4 4-4%27 stroke=%27%238a8884%27 stroke-width=%271.5%27 fill=%27none%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 6px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.bops-app .bops-segmented {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--bops-divider);
    border-radius: 10px;
    padding: 3px;
}

.bops-app .bops-segmented-option {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bops-muted);
    background: transparent;
    text-decoration: none !important;
    cursor: pointer;
}

.bops-app .bops-segmented-option:hover,
.bops-app .bops-segmented-option:focus {
    color: var(--bops-muted);
    background: transparent;
}

.bops-app .bops-segmented-option.is-active {
    background: var(--bops-card);
    color: var(--bops-text);
}

.bops-app .bops-segmented-option.is-active:hover,
.bops-app .bops-segmented-option.is-active:focus {
    background: var(--bops-card);
    color: var(--bops-text);
}

.bops-app .bops-segmented-icons .bops-segmented-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    width: 32px;
    height: 32px;
    box-sizing: border-box;
}

.bops-app .bops-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: var(--bops-radius-input);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Codec Pro', sans-serif;
    cursor: pointer;
    text-decoration: none !important;
}

.bops-app .bops-btn-primary {
    background: var(--bops-accent);
    color: #fff;
}

.bops-app .bops-btn-primary:hover,
.bops-app .bops-btn-primary:focus {
    background: var(--bops-accent-hover);
    color: #fff;
}

.bops-app .bops-btn-secondary {
    background: var(--bops-card);
    color: var(--bops-text);
    border: 1px solid var(--bops-border-input);
    font-weight: 500;
}

.bops-app .bops-btn-secondary:hover,
.bops-app .bops-btn-secondary:focus {
    background: var(--bops-card);
    color: var(--bops-text);
    border-color: var(--bops-border-input);
}

/* Dashboard */

.bops-app .bops-dashboard-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
}

.bops-app .bops-dash-alert {
    background: var(--bops-danger-bg-soft);
    border: 1px solid var(--bops-danger-bg);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}

.bops-app .bops-dash-alert-text {
    flex: 1;
    min-width: 180px;
    color: var(--bops-text);
    text-decoration: none;
    cursor: pointer;
}

.bops-app .bops-dash-alert-text:hover,
.bops-app .bops-dash-alert-text:focus {
    color: var(--bops-text);
    text-decoration: underline;
}

.bops-app .bops-dash-alert-nav-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.bops-app .bops-dash-alert-nav {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--bops-danger);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    padding: 0;
}

.bops-app .bops-dash-alert-nav:disabled {
    opacity: 0.3;
    cursor: default;
}

.bops-app .bops-dash-alert-nav:hover:not(:disabled),
.bops-app .bops-dash-alert-nav:focus:not(:disabled) {
    background: rgba(0, 0, 0, 0.06);
    color: var(--bops-danger);
}

.bops-app .bops-dash-alert-counter {
    font-size: 12px;
    font-weight: 600;
    color: var(--bops-danger);
    white-space: nowrap;
}

.bops-app .bops-dash-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.bops-app .bops-dash-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.bops-app .bops-dash-tasks-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

.bops-app .bops-dash-tasks-head span {
    font-weight: 600;
}

.bops-app .bops-dash-task-row,
.bops-app .bops-task-row {
    padding: 10px;
    margin: 0 -10px;
    border-bottom: 1px solid var(--bops-divider);
    border-radius: var(--bops-radius-input);
    transition: background 0.3s ease, opacity 0.3s ease;
}

.bops-app .bops-dash-task-row:last-child,
.bops-app .bops-task-row:last-child {
    border-bottom: none;
}

.bops-app .bops-dash-task-row.is-done,
.bops-app .bops-task-row.is-done {
    background: var(--bops-positive);
    border-bottom-color: transparent;
}

.bops-app .bops-dash-task-row.is-done strong,
.bops-app .bops-task-row.is-done .bops-task-row-title {
    color: var(--bops-positive-strong);
    text-decoration: line-through;
}

.bops-app .bops-dash-task-row label,
.bops-app .bops-task-row-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.bops-app .bops-dash-task-row input[type="checkbox"],
.bops-app .bops-task-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--bops-accent);
    flex-shrink: 0;
}

.bops-app .bops-dash-task-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.bops-app .bops-dash-task-row .bops-dash-task-meta {
    font-size: 13px;
    color: var(--bops-muted);
    white-space: nowrap;
}

.bops-app .bops-dash-task-when {
    display: block;
    font-size: 12px;
    color: var(--bops-muted);
}

/* Tasks list page */

.bops-app .bops-tasks-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.bops-app .bops-tasks-groups {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bops-app .bops-tasks-group {
    padding: 8px 24px;
}

.bops-app .bops-tasks-group .bops-eyebrow {
    margin: 14px 0 4px;
}

.bops-app .bops-task-row-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.bops-app .bops-task-row-expand {
    cursor: pointer;
}

.bops-app .bops-task-row-title {
    display: block;
    margin-bottom: 4px;
}

.bops-app .bops-task-row-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.bops-app .bops-task-row-when {
    font-size: 12px;
    color: var(--bops-muted);
}

.bops-app .bops-task-row-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.bops-app .bops-task-details {
    background: var(--bops-surface);
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 10px;
}

.bops-app .bops-task-details p {
    margin: 0;
}

.bops-app .bops-task-details p + p {
    margin-top: 8px;
}

.bops-app .bops-task-instructions {
    white-space: pre-wrap;
}

/* Shared form card (Adauga/Editeaza task, and future add/edit forms) */

.bops-app .bops-form-card {
    display: block;
    background: var(--bops-card);
    border: 1px solid var(--bops-border);
    border-radius: var(--bops-radius-card);
    padding: 24px;
    max-width: 640px;
}

.bops-app .bops-form-card-wide {
    max-width: 700px;
}

.bops-app .bops-form-card-narrow {
    max-width: 600px;
}

.bops-app .bops-field-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bops-muted);
    margin-bottom: 6px;
}

.bops-app .bops-field-input {
    display: block;
    width: 100%;
    border: 1px solid var(--bops-border-input);
    border-radius: var(--bops-radius-input);
    padding: 10px 12px;
    font-size: 14px;
    font-family: 'Codec Pro', sans-serif;
    margin-bottom: 16px;
}

.bops-app .bops-field-textarea {
    min-height: 80px;
    line-height: 1.5;
    resize: vertical;
    margin-bottom: 20px;
}

.bops-app .bops-field-textarea-short {
    min-height: 60px;
}

/* Fisa productie item rows (Legalitate) */

.bops-app .bops-sheet-form-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.bops-app .bops-sheet-row {
    background: var(--bops-surface);
    border-radius: var(--bops-radius-input);
    padding: 16px;
    margin-bottom: 14px;
}

.bops-app .bops-sheet-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 600;
}

.bops-app .bops-sheet-item-code {
    font-weight: 400;
    color: var(--bops-muted);
}

.bops-app .bops-sheet-item-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 14px;
}

.bops-app .bops-sheet-item-fields .bops-field-input {
    margin-bottom: 0;
}

.bops-app .bops-form-card .bops-select {
    width: 100%;
    margin-bottom: 0;
}

.bops-app .bops-sheet-form-header .bops-field-input,
.bops-app .bops-sheet-form-header .bops-select {
    width: auto;
    margin-bottom: 0;
}

.bops-app .bops-field-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.bops-app .bops-field-grid[data-bops-task-schedule-fields] {
    margin-bottom: 20px;
}

.bops-app .bops-dash-production-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bops-muted);
    margin: 16px 0 4px;
}

.bops-app .bops-dash-production-value {
    font-size: 14px;
    margin: 0;
}

.bops-app .bops-dash-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bops-app .bops-dash-quick-actions .bops-btn {
    text-align: left;
    justify-content: flex-start;
}

.bops-app .bops-dash-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.bops-app .bops-dash-tile {
    background: var(--bops-card);
    border: 1px solid var(--bops-border);
    border-radius: var(--bops-radius-card);
    padding: 18px;
    text-decoration: none !important;
    color: inherit;
    display: block;
}

.bops-app .bops-dash-tile:hover,
.bops-app .bops-dash-tile:focus {
    background: var(--bops-card);
    border-color: var(--bops-border);
    color: inherit;
}

.bops-app .bops-dash-tile p:first-child {
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--bops-text);
}

.bops-app .bops-dash-tile p:last-child {
    font-size: 13px;
    color: var(--bops-muted);
    margin: 0;
}

/* Generic bordered list card + row (Produse, Categorii, and future modules) */

.bops-app .bops-list-card {
    background: var(--bops-card);
    border: 1px solid var(--bops-border);
    border-radius: var(--bops-radius-card);
    padding: 8px 24px;
}

.bops-app .bops-list-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--bops-divider);
}

.bops-app .bops-list-row:last-child {
    border-bottom: none;
}

.bops-app .bops-list-row-title {
    font-weight: 600;
    margin: 0 0 4px;
}

.bops-app .bops-list-row-subtitle {
    font-size: 13px;
    color: var(--bops-muted);
    margin: 0;
}

/* Inline click-to-edit name (Frigidere, Categorii) */

.bops-app .bops-inline-edit-display {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.bops-app .bops-inline-edit-display svg {
    width: 13px;
    height: 13px;
    color: var(--bops-muted);
    flex-shrink: 0;
}

.bops-app .bops-inline-edit-input {
    width: 100%;
    max-width: 280px;
    border-color: var(--bops-accent);
    font-weight: 600;
    margin-bottom: 0;
}

.bops-app .bops-list-row-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
}

/* Generic on/off switch (Produs activ, etc.) */

.bops-app .bops-switch {
    display: inline-flex;
    align-items: center;
    width: 44px;
    height: 24px;
    border-radius: 999px;
    padding: 2px;
    cursor: pointer;
    background: var(--bops-border-input);
    transition: background 0.16s ease;
}

.bops-app .bops-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bops-app .bops-switch-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.16s ease;
}

.bops-app .bops-switch:has(input:checked) {
    background: var(--bops-accent);
    justify-content: flex-end;
}

.bops-app .bops-switch-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    cursor: pointer;
}

.bops-app .bops-file-field {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.bops-app .bops-file-field-label {
    font-size: 13px;
    color: var(--bops-muted);
}

/* Produse module */

.bops-app .bops-products-filters {
    margin-bottom: 20px;
}

.bops-app .bops-product-row.is-inactive {
    opacity: 0.45;
}

.bops-app .bops-product-row-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bops-app .bops-categories-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 20px;
}

.bops-app .bops-categories-form .bops-field-group {
    flex: 1;
    max-width: 340px;
    margin-bottom: 0;
}

.bops-app .bops-categories-form .bops-field-input {
    margin-bottom: 0;
}

.bops-app .bops-product-productions-filters,
.bops-app .bops-legal-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.bops-app .bops-product-productions-filters {
    flex-wrap: nowrap;
    gap: 12px;
}

.bops-app .bops-product-productions-filters .bops-select {
    flex: 1;
    min-width: 0;
}

.bops-app .bops-product-productions-filters .bops-range-picker {
    flex-shrink: 0;
}

.bops-app .bops-legal-filters .bops-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bops-app .bops-list-card .bops-eyebrow {
    padding: 12px 0 6px;
    margin: 0;
}

/* Termograme (Legalitate) */

.bops-app .bops-details-title-toggle {
    cursor: pointer;
}

.bops-app .bops-icon-btn[data-bops-details-toggle] svg {
    transition: transform 0.16s ease;
}

.bops-app .bops-icon-btn[data-bops-details-toggle].is-open svg {
    transform: rotate(180deg);
}

.bops-app .bops-citire-details {
    flex-basis: 100%;
    background: var(--bops-surface);
    border-radius: var(--bops-radius-input);
    padding: 12px 14px;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bops-app .bops-citire-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.bops-app .bops-citire-detail-row span:last-child {
    font-weight: 600;
}

.bops-app .bops-citire-fridge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--bops-divider);
}

.bops-app .bops-citire-fridge-name {
    font-weight: 600;
}

.bops-app .bops-citire-fridge-temp {
    width: 160px;
    margin-bottom: 0;
}

.bops-app .bops-citire-submit {
    margin-top: 20px;
}

.bops-app .bops-list-card + .bops-list-card {
    margin-top: 20px;
}

.bops-app .bops-production-row {
    padding: 9px 0;
    border-bottom: 1px solid var(--bops-divider);
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
}

.bops-app .bops-production-row:last-child {
    border-bottom: none;
}

.bops-app .bops-production-row-loss {
    color: var(--bops-danger);
}

/* Date-range picker (reusable across any filtered list with a from/to range) */

.bops-app .bops-range-picker {
    position: relative;
    display: inline-block;
}

.bops-app .bops-range-picker-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--bops-border-input);
    border-radius: var(--bops-radius-input);
    padding: 10px 14px;
    font-size: 14px;
    font-family: 'Codec Pro', sans-serif;
    background: var(--bops-card);
    color: var(--bops-text);
    cursor: pointer;
}

.bops-app .bops-range-picker-trigger:hover,
.bops-app .bops-range-picker-trigger:focus {
    background: var(--bops-card);
    border-color: var(--bops-border-input);
    color: var(--bops-text);
}

.bops-app .bops-range-picker-nav-btn:hover,
.bops-app .bops-range-picker-nav-btn:focus {
    background: none;
    color: var(--bops-text);
}

.bops-app .bops-range-picker-overlay {
    position: fixed;
    inset: 0;
    z-index: 29;
}

.bops-app .bops-range-picker-popover {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    background: var(--bops-card);
    border: 1px solid var(--bops-border);
    border-radius: var(--bops-radius-card);
    padding: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    width: 280px;
    max-width: calc(100vw - 32px);
}

.bops-app .bops-month-picker-popover {
    width: 300px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bops-app .bops-month-picker-popover .bops-range-picker-nav-btn {
    padding: 4px 2px;
    flex-shrink: 0;
}

.bops-app .bops-month-picker-jump-month,
.bops-app .bops-month-picker-jump-year {
    border: 1px solid var(--bops-border-input);
    border-radius: var(--bops-radius-input);
    padding: 8px 10px;
    font-size: 13px;
    font-family: inherit;
    background: var(--bops-card);
    color: var(--bops-text);
}

.bops-app .bops-month-picker-jump-month {
    flex: 1;
    min-width: 0;
}

.bops-app .bops-month-picker-jump-year {
    width: 80px;
    flex-shrink: 0;
}

.bops-app .bops-range-picker-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.bops-app .bops-range-picker-nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 10px;
    font-size: 16px;
    color: var(--bops-text);
}

.bops-app .bops-range-picker-month {
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.bops-app .bops-range-picker-weekdays,
.bops-app .bops-range-picker-week {
    display: grid;
    grid-template-columns: 26px repeat(7, 1fr);
    gap: 2px;
}

/* Single-date pickers and inline calendars have no week-select column (that's a range-picker-only feature) */
.bops-app .bops-date-picker .bops-range-picker-weekdays,
.bops-app .bops-date-picker .bops-range-picker-week,
.bops-app .bops-pontaj-cal .bops-range-picker-weekdays,
.bops-app .bops-pontaj-cal .bops-range-picker-week {
    grid-template-columns: repeat(7, 1fr);
}

.bops-app .bops-range-picker-weekdays {
    margin-bottom: 4px;
}

.bops-app .bops-range-picker-weekdays span {
    font-size: 11px;
    color: var(--bops-muted);
    text-align: center;
}

.bops-app .bops-range-picker-week {
    margin-bottom: 2px;
}

.bops-app .bops-range-picker-week-label {
    text-align: center;
    font-size: 10px;
    color: var(--bops-muted);
    cursor: pointer;
    align-self: center;
}

.bops-app .bops-range-picker-day {
    text-align: center;
    padding: 6px 0;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    background: transparent;
    color: var(--bops-text);
}

.bops-app .bops-date-picker {
    display: block;
    width: 100%;
}

.bops-app .bops-date-picker .bops-range-picker-trigger {
    width: 100%;
}

.bops-app .bops-date-picker-time {
    margin-top: 14px;
}

.bops-app .bops-date-picker-time .bops-field-label {
    margin-bottom: 6px;
}

.bops-app .bops-date-picker-time input[type="time"] {
    width: 100%;
    border: 1px solid var(--bops-border-input);
    border-radius: var(--bops-radius-input);
    padding: 8px 10px;
    font-size: 14px;
    font-family: 'Codec Pro', sans-serif;
    background: var(--bops-card);
    color: var(--bops-text);
}

.bops-app .bops-range-picker-day.is-out-of-month {
    color: var(--bops-muted);
}

.bops-app .bops-range-picker-day.is-in-range {
    background: color-mix(in srgb, var(--bops-accent) 14%, transparent);
}

.bops-app .bops-range-picker-day.is-endpoint {
    background: var(--bops-accent);
    color: #fff;
    font-weight: 700;
}

.bops-app .bops-range-picker-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.bops-app .bops-range-picker-actions .bops-btn {
    flex: 1;
}

/* Cereri (Requests) */

.bops-app .bops-field-grid-full {
    grid-column: 1 / -1;
}

.bops-app .bops-pill-priority-low {
    background: var(--bops-border-input);
}

.bops-app .bops-pill-priority-medium {
    background: var(--bops-warning-bg);
}

.bops-app .bops-pill-priority-urgent {
    background: var(--bops-accent);
}

.bops-app .bops-pill-status-seen {
    background: var(--bops-divider);
}

.bops-app .bops-pill-status-in_progress {
    background: var(--bops-warning-bg);
}

.bops-app .bops-pill-status-resolved {
    background: var(--bops-positive);
}

.bops-app .bops-pill-status-refused {
    background: var(--bops-danger-bg);
}

.bops-app .bops-requests-row {
    display: block;
}

.bops-app .bops-requests-row-main {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    align-items: flex-start;
}

.bops-app .bops-requests-row-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.bops-app .bops-requests-rejection {
    font-size: 13px;
    color: var(--bops-danger);
    margin: 0;
}

.bops-app .bops-requests-status-form {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
}

.bops-app .bops-requests-status-segmented {
    display: flex;
    width: fit-content;
    border: 1px solid var(--bops-border-input);
    border-radius: var(--bops-radius-input);
    overflow: hidden;
    height: 32px;
}

.bops-app .bops-requests-status-option {
    height: 100%;
    padding: 0 10px;
    border: none;
    border-right: 1px solid var(--bops-border-input);
    background: transparent;
    color: var(--bops-text);
    font-size: 12px;
    font-weight: 500;
    font-family: 'Codec Pro', sans-serif;
    cursor: pointer;
}

.bops-app .bops-requests-status-option:last-child {
    border-right: none;
}

.bops-app .bops-requests-status-option.is-active {
    font-weight: 700;
}

.bops-app .is-status-seen,
.bops-app .is-status-seen:hover,
.bops-app .is-status-seen:focus {
    background-color: var(--bops-divider);
}

.bops-app .is-status-in_progress,
.bops-app .is-status-in_progress:hover,
.bops-app .is-status-in_progress:focus {
    background-color: var(--bops-warning-bg);
}

.bops-app .is-status-resolved,
.bops-app .is-status-resolved:hover,
.bops-app .is-status-resolved:focus {
    background-color: var(--bops-positive);
}

.bops-app .is-status-refused,
.bops-app .is-status-refused:hover,
.bops-app .is-status-refused:focus {
    background-color: var(--bops-danger-bg);
}

.bops-app .bops-requests-status-form .bops-field-input {
    flex: 1;
    min-width: 160px;
    margin-bottom: 0;
}

.bops-app .bops-requests-filters {
    margin-bottom: 20px;
}

.bops-app .bops-requests-add {
    margin-top: 16px;
}

.bops-app .bops-requests-add-trigger {
    text-align: center;
}

.bops-app .bops-requests-form {
    border: 1px solid var(--bops-border);
    border-radius: var(--bops-radius-card);
    padding: 20px;
}

.bops-app .bops-requests-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

/* Comenzi (Orders) */

.bops-app .bops-order-card {
    background: var(--bops-card);
    border: 1px solid var(--bops-border);
    border-radius: var(--bops-radius-card);
    padding: 20px 24px;
    margin-bottom: 14px;
}

.bops-app .bops-order-card-top {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    align-items: flex-start;
}

.bops-app .bops-order-card-top .bops-list-row-title {
    margin-bottom: 4px;
}

.bops-app .bops-order-card-top .bops-list-row-subtitle {
    margin-bottom: 10px;
}

.bops-app .bops-order-status-segmented {
    display: flex;
    width: fit-content;
    border: 1px solid var(--bops-border-input);
    border-radius: var(--bops-radius-input);
    overflow: hidden;
    height: 32px;
}

.bops-app .bops-order-status-option {
    height: 100%;
    padding: 0 10px;
    border: none;
    border-right: 1px solid var(--bops-border-input);
    background: transparent;
    color: var(--bops-text);
    font-size: 12px;
    font-weight: 500;
    font-family: 'Codec Pro', sans-serif;
    cursor: pointer;
}

.bops-app .bops-order-status-option:last-child {
    border-right: none;
}

.bops-app .bops-order-status-option.is-active {
    font-weight: 700;
}

.bops-app .is-order-trimisa {
    background-color: var(--bops-divider);
}

.bops-app .is-order-primita {
    background-color: var(--bops-warning-bg);
}

.bops-app .is-order-acceptata {
    background-color: var(--bops-positive);
}

.bops-app .is-order-trimisa:hover,
.bops-app .is-order-trimisa:focus {
    background-color: var(--bops-divider);
}

.bops-app .is-order-primita:hover,
.bops-app .is-order-primita:focus {
    background-color: var(--bops-warning-bg);
}

.bops-app .is-order-acceptata:hover,
.bops-app .is-order-acceptata:focus {
    background-color: var(--bops-positive);
}

.bops-app .bops-order-details {
    margin-top: 14px;
    background: var(--bops-surface);
    border-radius: var(--bops-radius-input);
    padding: 12px 14px;
}

.bops-app .bops-order-details .bops-eyebrow {
    margin: 0 0 8px;
}

.bops-app .bops-order-notes-label {
    margin-top: 12px;
}

.bops-app .bops-order-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 4px 0;
}

.bops-app .bops-order-detail-row span:last-child {
    font-weight: 600;
}

.bops-app .bops-order-notes {
    font-size: 13px;
    margin: 0;
}

.bops-app .bops-order-date-field {
    margin-bottom: 16px;
}

.bops-app .bops-form-card [data-bops-order-form] .bops-select {
    margin-bottom: 16px;
}

.bops-app .bops-order-item-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bops-surface);
    border-radius: var(--bops-radius-input);
    padding: 10px 14px;
    margin-bottom: 10px;
}

.bops-app .bops-order-item-row strong {
    flex: 1;
}

.bops-app .bops-order-item-row .bops-field-input {
    width: 140px;
    margin-bottom: 0;
}

/* Pontaj / Pontaje */

.bops-app .bops-pontaj-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.bops-app .bops-pontaj-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.bops-app .bops-pontaj-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bops-app .bops-pontaj-filter-toggle {
    display: none;
}

.bops-app .bops-pontaj-export-mobile {
    display: none;
}

@media (max-width: 680px) {
    .bops-app .bops-pontaj-filter-toggle {
        display: flex;
    }

    .bops-app [data-bops-pontaj-filters] {
        display: none;
    }

    .bops-app [data-bops-pontaj-filters].is-expanded {
        display: flex;
    }

    .bops-app .bops-pontaj-export-mobile {
        display: inline-flex;
    }

    .bops-app .bops-pontaj-export-desktop {
        display: none;
    }
}

.bops-app .bops-pontaj-hours-badge {
    font-size: 13px;
    color: var(--bops-muted);
}

.bops-app .bops-schedule-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.bops-app .bops-schedule-toolbar-actions [data-bops-schedule-toolbar] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.bops-app .bops-icon-btn-accent {
    background: var(--bops-accent);
    border-color: var(--bops-accent);
    color: #fff;
}

.bops-app .bops-icon-btn-accent:hover,
.bops-app .bops-icon-btn-accent:focus {
    background: var(--bops-accent);
    border-color: var(--bops-accent);
    color: #fff;
}

.bops-app .bops-icon-btn-save {
    background: #BBD8C5;
    border-color: #BBD8C5;
    color: #2f5140;
}

.bops-app .bops-icon-btn-save:hover,
.bops-app .bops-icon-btn-save:focus {
    background: #BBD8C5;
    border-color: #BBD8C5;
    color: #2f5140;
}

.bops-app .bops-pontaj-schedule-cell {
    cursor: pointer;
    height: 22px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    position: relative;
    border: 1px solid transparent;
    border-radius: 8px;
    touch-action: none;
}

.bops-app .bops-pontaj-schedule-cell.is-empty:hover {
    border-color: #C7C5C0;
}

.bops-app .bops-pontaj-schedule-cell.is-drop-target {
    border-width: 2px;
    border-style: solid;
    border-color: #4CAF50;
}

.bops-app .bops-pontaj-schedule-cell.is-drag-dim {
    opacity: 0.2;
}

.bops-app .bops-pontaj-schedule-cell.is-blocked {
    cursor: default;
    touch-action: auto;
}

.bops-app .bops-pontaj-schedule-cell [data-bops-schedule-pill] {
    cursor: grab;
}

.bops-app .bops-pontaj-schedule-cell .bops-pontaj-calendar-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    width: 100%;
    box-sizing: border-box;
}

.bops-toast-root {
    position: fixed;
    bottom: 20px;
    left: 16px;
    right: 16px;
    z-index: 60;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.bops-toast-root[hidden] {
    display: none;
}

.bops-toast {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 480px;
    background: #3E3E3E;
    color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-family: 'Codec Pro', sans-serif;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.bops-toast-message {
    flex: 1;
}

.bops-toast-nav,
.bops-toast-close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0 2px;
    flex-shrink: 0;
}

.bops-toast-count {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
    white-space: nowrap;
}

.bops-app .bops-floating-save-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 35;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: #BBD8C5;
    color: #2f5140;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Codec Pro', sans-serif;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.bops-app .bops-floating-save-btn[hidden] {
    display: none;
}

.bops-app .bops-floating-generate-btn {
    background: var(--bops-accent);
    color: #fff;
}

.bops-app .bops-pontaj-schedule-cell-remove {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 15px;
    height: 15px;
    box-sizing: border-box;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .bops-app .bops-pontaj-schedule-cell {
        height: 26px;
    }

    .bops-app .bops-pontaj-schedule-cell .bops-pontaj-calendar-pill {
        height: 26px;
        padding: 0 14px;
        font-size: 13px;
    }
}

.bops-app .bops-pontaj-hours-badge:empty {
    display: none;
}

.bops-app .bops-pontaj-card {
    background: var(--bops-card);
    border: 1px solid var(--bops-border);
    border-radius: var(--bops-radius-card);
    padding: 24px;
    margin-bottom: 16px;
}

.bops-app .bops-pontaj-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.bops-app .bops-pontaj-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid var(--bops-divider);
}

.bops-app .bops-pontaj-row-label {
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

.bops-app .bops-pontaj-row-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bops-app .bops-pontaj-dur {
    padding: 6px 14px;
    font-weight: 700;
}

.bops-app .bops-pontaj-dur.is-under {
    background: var(--bops-warning-strong);
    color: #7a5c1e;
}

.bops-app .bops-pontaj-dur.is-complete {
    background: var(--bops-positive);
    color: var(--bops-positive-strong);
}

.bops-app .bops-pontaj-dur.is-over {
    background: var(--bops-accent);
    color: #fff;
}

.bops-app .bops-pontaj-edit {
    position: relative;
}

.bops-app .bops-pontaj-edit-popover {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 30;
    background: var(--bops-card);
    border: 1px solid var(--bops-border);
    border-radius: var(--bops-radius-card);
    padding: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    width: 280px;
    max-width: calc(100vw - 32px);
    text-align: left;
}

.bops-app .bops-pontaj-edit-tabs {
    display: flex;
    border: 1px solid var(--bops-border-input);
    border-radius: var(--bops-radius-input);
    overflow: hidden;
    margin-bottom: 14px;
}

.bops-app .bops-pontaj-edit-tabs button {
    flex: 1;
    background: transparent;
    color: var(--bops-text);
    border: none;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 500;
    font-family: 'Codec Pro', sans-serif;
    cursor: pointer;
}

.bops-app .bops-pontaj-edit-tabs button:first-child {
    border-right: 1px solid var(--bops-border-input);
}

.bops-app .bops-pontaj-edit-tabs button.is-active {
    background: var(--bops-divider);
    font-weight: 700;
}

.bops-app .bops-pontaj-cal {
    margin-bottom: 12px;
}

.bops-app .bops-pontaj-edit-popover .bops-field-label {
    margin-bottom: 6px;
}

.bops-app .bops-pontaj-edit-time {
    width: 100%;
    border: 1px solid var(--bops-border-input);
    border-radius: var(--bops-radius-input);
    padding: 8px 10px;
    font-size: 14px;
    font-family: 'Codec Pro', sans-serif;
    background: var(--bops-card);
    color: var(--bops-text);
}

.bops-app .bops-pontaj-edit-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.bops-app .bops-pontaj-edit-actions .bops-btn {
    flex: 1;
}

.bops-app .bops-pontaj-sections-pagination .bops-pagination {
    margin-top: 8px;
    padding-top: 0;
    border-top: none;
}

/* Pontaj / Calendar */

.bops-app .bops-pontaj-calendar {
    background: var(--bops-card);
    border: 1px solid var(--bops-border);
    border-radius: var(--bops-radius-card);
    position: relative;
    transition: opacity 0.2s;
}

.bops-app .bops-pontaj-calendar.is-loading {
    opacity: 0.35;
}

.bops-app .bops-schedule-spinner {
    position: absolute;
    left: 50%;
    width: 32px;
    height: 32px;
    margin-left: -16px;
    margin-top: -16px;
    border: 3px solid #F0EEEA;
    border-top-color: var(--bops-accent);
    border-radius: 50%;
    animation: bops-schedule-spin 0.8s linear infinite;
    z-index: 15;
}

@keyframes bops-schedule-spin {
    to {
        transform: rotate(360deg);
    }
}

.bops-app .bops-pontaj-calendar-header {
    position: sticky;
    top: var(--bops-topbar-height);
    z-index: 5;
    background: var(--bops-card);
    border-radius: var(--bops-radius-card) var(--bops-radius-card) 0 0;
    display: flex;
    padding-top: 16px;
    padding-bottom: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bops-muted);
    border-bottom: 1px solid var(--bops-divider);
}

.bops-app .bops-pontaj-calendar-header-track-wrap {
    flex: 1;
    overflow: hidden;
}

.bops-app .bops-pontaj-calendar-header-track {
    display: flex;
}

.bops-app .bops-pontaj-schedule .bops-pontaj-calendar-header-track,
.bops-app .bops-pontaj-schedule-footer-track {
    gap: 16px;
}

.bops-app .bops-pontaj-schedule-footer-track {
    display: flex;
}

.bops-app .bops-pontaj-calendar-body {
    overflow-x: auto;
}

.bops-app .bops-pontaj-calendar-row {
    display: flex;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 400;
    background: var(--bops-card);
    color: var(--bops-text);
}

.bops-app .bops-pontaj-calendar-row.is-bold {
    font-weight: 700;
}

.bops-app .bops-pontaj-calendar-day-row {
    border-top: 1px solid var(--bops-border);
}

.bops-app .bops-pontaj-calendar-day-row.is-even {
    background: #FBFBFA;
}

.bops-app .bops-pontaj-calendar-day-row.is-even .bops-pontaj-calendar-col-day,
.bops-app .bops-pontaj-calendar-day-row.is-even .bops-pontaj-calendar-col-total {
    background: #FBFBFA;
}

.bops-app .bops-pontaj-calendar-day-row.is-weekend {
    background: #F2ECE4;
}

.bops-app .bops-pontaj-calendar-day-row.is-weekend .bops-pontaj-calendar-col-day,
.bops-app .bops-pontaj-calendar-day-row.is-weekend .bops-pontaj-calendar-col-total {
    background: #F2ECE4;
}

.bops-app .bops-pontaj-calendar-footer {
    padding: 14px 0;
    font-weight: 700;
    border-top: 1px solid var(--bops-border);
    border-bottom: none;
    background: var(--bops-surface);
    border-radius: 0 0 var(--bops-radius-card) var(--bops-radius-card);
}

.bops-app .bops-pontaj-calendar-col-day {
    width: 76px;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 8px;
    flex-shrink: 0;
    position: sticky;
    left: 0;
    z-index: 4;
    background: var(--bops-card);
}

.bops-app .bops-pontaj-calendar-header .bops-pontaj-calendar-col-day {
    position: static;
    background: none;
}

.bops-app .bops-pontaj-calendar-col-day-stacked {
    display: flex;
    flex-direction: column;
    gap: 1px;
    justify-content: center;
}

.bops-app .bops-pontaj-calendar-weekday {
    font-size: 10px;
    font-weight: 700;
    color: #b0aeaa;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bops-app .bops-pontaj-calendar-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
}

.bops-app .bops-pontaj-calendar-footer .bops-pontaj-calendar-col-day {
    z-index: 6;
    background: var(--bops-surface);
    color: var(--bops-muted);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bops-app .bops-pontaj-calendar-col-emp {
    flex: 1;
    min-width: 90px;
    white-space: nowrap;
    text-align: left;
}

.bops-app .bops-pontaj-calendar-header .bops-pontaj-calendar-col-emp {
    display: flex;
    align-items: center;
}

.bops-app .bops-pontaj-calendar-header .bops-pontaj-calendar-col-emp.is-self {
    background: #FBDCD8;
    color: #B03A2E;
    border-radius: 6px;
    padding: 2px 8px;
    margin-right: 6px;
    box-sizing: border-box;
}

.bops-app .bops-pontaj-calendar.is-staff-view .bops-pontaj-calendar-col-emp:not(.is-self) {
    opacity: 0.35;
}

.bops-app .bops-pontaj-calendar-holiday-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 5px;
    border-radius: 50%;
    background: var(--bops-accent);
    vertical-align: middle;
}

.bops-app .bops-pontaj-calendar-col-total {
    width: 100px;
    box-sizing: border-box;
    padding-right: 20px;
    padding-left: 12px;
    flex-shrink: 0;
    text-align: left;
    white-space: nowrap;
    position: sticky;
    right: 0;
    z-index: 4;
    background: var(--bops-card);
}

.bops-app .bops-pontaj-calendar-header .bops-pontaj-calendar-col-total {
    position: static;
    background: none;
}

.bops-app .bops-pontaj-calendar-footer .bops-pontaj-calendar-col-total {
    z-index: 6;
    background: var(--bops-surface);
}

.bops-app .bops-pontaj-calendar-cell-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.bops-app .bops-pontaj-calendar-pill {
    padding: 4px 10px;
    border-radius: var(--bops-radius-pill);
    font-size: 12px;
    font-weight: 700;
}

.bops-app .bops-pontaj-calendar-timerange {
    font-size: 12px;
    color: #b0aeaa;
    white-space: nowrap;
}

/* Pontaj / Program */

.bops-app .bops-schedule-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bops-app .bops-pontaj-schedule-legend {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.bops-app .bops-pontaj-schedule-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--bops-muted);
}

.bops-app .bops-pontaj-schedule-legend-swatch {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}

@media (max-width: 1023px) {
    .bops-app .bops-pontaj-schedule-legend {
        display: none;
    }
}

.bops-app .bops-pontaj-schedule-daygroup {
    display: flex;
    border-top: 1px solid var(--bops-border);
}

.bops-app .bops-pontaj-schedule-daygroup .bops-pontaj-calendar-col-day {
    display: flex;
    align-items: flex-start;
}

.bops-app .bops-pontaj-schedule-daygroup .bops-pontaj-calendar-col-total {
    display: flex;
    align-items: center;
}

.bops-app .bops-pontaj-schedule-shifts {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.bops-app .bops-pontaj-schedule-shift-row {
    padding: 8px 0;
    gap: 16px;
    border-bottom: 1px solid var(--bops-divider);
}

.bops-app .bops-pontaj-schedule-shift-row:last-child {
    border-bottom: none;
}

.bops-app .bops-pontaj-schedule-daygroup.is-weekend .bops-pontaj-schedule-shift-row {
    border-bottom-color: rgba(0, 0, 0, 0.12);
}

.bops-app .bops-pontaj-schedule-daygroup.is-even {
    background: #FBFBFA;
}

.bops-app .bops-pontaj-schedule-daygroup.is-even .bops-pontaj-calendar-col-day,
.bops-app .bops-pontaj-schedule-daygroup.is-even .bops-pontaj-schedule-shift-row,
.bops-app .bops-pontaj-schedule-daygroup.is-even .bops-pontaj-calendar-col-total {
    background: #FBFBFA;
}

.bops-app .bops-pontaj-schedule-daygroup.is-weekend {
    background: #F2ECE4;
}

.bops-app .bops-pontaj-schedule-daygroup.is-weekend .bops-pontaj-calendar-col-day,
.bops-app .bops-pontaj-schedule-daygroup.is-weekend .bops-pontaj-schedule-shift-row,
.bops-app .bops-pontaj-schedule-daygroup.is-weekend .bops-pontaj-calendar-col-total {
    background: #F2ECE4;
}

/* Pontaj / Clock-in */

.bops-app .bops-timeclock-card {
    background: var(--bops-card);
    border: 1px solid var(--bops-border);
    border-radius: var(--bops-radius-card);
    padding: 32px 24px;
    margin-bottom: 20px;
}

.bops-app .bops-timeclock-hero-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.bops-app .bops-timeclock-employee-only {
    max-width: 320px;
    margin: 0 auto;
}

.bops-app .bops-timeclock-employee-only .bops-field-label {
    margin-bottom: 6px;
}

.bops-app .bops-timeclock-employee-only .bops-select {
    width: 100%;
}

.bops-app .bops-timeclock-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bops-app .bops-timeclock-identity-name {
    font-weight: 700;
    margin: 0;
}

.bops-app .bops-timeclock-identity-location {
    font-size: 13px;
    color: var(--bops-muted);
    margin: 0;
}

.bops-app .bops-timeclock-identity-change {
    font-size: 13px;
    color: var(--bops-text);
    text-decoration: underline;
    cursor: pointer;
}

.bops-app .bops-timeclock-status-pill {
    background: var(--bops-divider);
    color: var(--bops-muted);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 700;
}

.bops-app .bops-timeclock-status-pill.is-open {
    background: var(--bops-positive);
    color: var(--bops-positive-strong);
}

.bops-app .bops-timeclock-ring-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.bops-app .bops-timeclock-ring {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(var(--bops-accent) 0% calc(var(--bops-ring-percent, 0) * 1%), var(--bops-divider) calc(var(--bops-ring-percent, 0) * 1%) 100%);
}

.bops-app .bops-timeclock-ring-inner {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: var(--bops-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bops-app .bops-timeclock-elapsed {
    font-size: 24px;
    font-weight: 700;
}

.bops-app .bops-timeclock-ring-label {
    font-size: 12px;
    color: var(--bops-muted);
}

.bops-app .bops-timeclock-stats {
    display: flex;
    justify-content: center;
    text-align: center;
    gap: 28px;
    margin-bottom: 28px;
}

.bops-app .bops-timeclock-stat p {
    margin: 0;
}

.bops-app .bops-timeclock-stat .bops-eyebrow {
    margin-bottom: 4px;
}

.bops-app .bops-timeclock-stat p:last-child {
    font-weight: 700;
}

.bops-app .bops-timeclock-stat-divider {
    width: 1px;
    background: var(--bops-border);
}

.bops-app .bops-timeclock-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.bops-app .bops-timeclock-action-button {
    flex: 1;
    min-width: 200px;
    padding: 16px 24px;
    border: none;
    border-radius: var(--bops-radius-input);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Codec Pro', sans-serif;
    color: #fff;
}

.bops-app .bops-timeclock-action-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bops-app .bops-timeclock-action-primary {
    background: var(--bops-text);
}

.bops-app .bops-timeclock-action-primary:hover,
.bops-app .bops-timeclock-action-primary:focus {
    background: var(--bops-text);
    color: #fff;
}

.bops-app .bops-timeclock-action-out {
    background: var(--bops-accent);
}

.bops-app .bops-timeclock-action-out:hover,
.bops-app .bops-timeclock-action-out:focus {
    background: var(--bops-accent);
    color: #fff;
}

.bops-app .bops-timeclock-action-secondary {
    background: var(--bops-card);
    color: var(--bops-text);
    border: 1px solid var(--bops-border-input);
}

.bops-app .bops-timeclock-action-secondary:hover,
.bops-app .bops-timeclock-action-secondary:focus {
    background: var(--bops-card);
    color: var(--bops-text);
    border-color: var(--bops-border-input);
}

.bops-app .bops-timeclock-hint {
    text-align: center;
    color: var(--bops-muted);
    font-size: 14px;
    margin: 0;
}

.bops-app .bops-timeclock-retro-panel {
    background: var(--bops-surface);
    border-radius: var(--bops-radius-card);
    padding: 20px 24px;
    margin: 20px auto 0;
    max-width: 480px;
}

.bops-app .bops-timeclock-retro-field {
    margin-bottom: 16px;
}

.bops-app .bops-timeclock-retro-buttons {
    display: flex;
    gap: 10px;
}

.bops-app .bops-timeclock-retro-buttons button {
    flex: 1;
    border-radius: var(--bops-radius-input);
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Codec Pro', sans-serif;
}

.bops-app .bops-timeclock-retro-buttons button[type="submit"] {
    background: var(--bops-accent);
    color: #fff;
    border: none;
}

.bops-app .bops-timeclock-retro-buttons button[type="submit"]:hover,
.bops-app .bops-timeclock-retro-buttons button[type="submit"]:focus {
    background: var(--bops-accent);
    color: #fff;
}

.bops-app .bops-timeclock-retro-buttons button[data-bops-timeclock-manual-cancel] {
    background: var(--bops-card);
    color: var(--bops-text);
    border: 1px solid var(--bops-border-input);
    font-weight: 500;
}

.bops-app .bops-timeclock-retro-buttons button[data-bops-timeclock-manual-cancel]:hover,
.bops-app .bops-timeclock-retro-buttons button[data-bops-timeclock-manual-cancel]:focus {
    background: var(--bops-card);
    color: var(--bops-text);
    border-color: var(--bops-border-input);
}

.bops-app .bops-timeclock-message {
    text-align: center;
    color: var(--bops-muted);
    font-size: 13px;
    margin: 12px 0 0;
}

.bops-app .bops-timeclock-message.is-error {
    color: var(--bops-danger);
}

/* Cont / Setari profil */

.bops-app .bops-account-sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 640px;
}

.bops-app .bops-account-card {
    background: var(--bops-card);
    border: 1px solid var(--bops-border);
    border-radius: var(--bops-radius-card);
    padding: 24px;
}

.bops-app .bops-account-identity {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.bops-app .bops-avatar-circle-lg {
    width: 56px;
    height: 56px;
    font-size: 20px;
}

.bops-app .bops-account-identity-name {
    font-weight: 600;
    margin: 0 0 2px;
}

.bops-app .bops-account-identity-role {
    font-size: 13px;
    color: var(--bops-muted);
    margin: 0;
}

.bops-app .bops-account-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0 16px;
}

.bops-app .bops-account-field {
    display: block;
}

.bops-app .bops-account-submit {
    grid-column: 1 / -1;
    justify-self: start;
    align-self: flex-start;
    width: auto;
    margin-top: 4px;
}

.bops-app .bops-account-card-title {
    font-weight: 600;
    margin: 0 0 4px;
}

.bops-app .bops-account-card-subtitle {
    font-size: 13px;
    color: var(--bops-muted);
    margin: 0 0 16px;
}

.bops-app .bops-account-notify-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--bops-divider);
}

.bops-app .bops-account-notify-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bops-app .bops-account-notify-label {
    font-weight: 500;
    font-size: 14px;
    margin: 0 0 2px;
}

.bops-app .bops-account-notify-desc {
    font-size: 12px;
    color: var(--bops-muted);
    margin: 0;
}

.bops-app .bops-account-password-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.bops-app .bops-account-password-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0 16px;
}

.bops-app .bops-account-submit-dark {
    background: var(--bops-text);
    color: #fff;
}

.bops-app .bops-account-submit-dark:hover,
.bops-app .bops-account-submit-dark:focus {
    background: var(--bops-text);
    color: #fff;
}

.bops-app .bops-account-logout-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
