/* Temp cache-busting stylesheet — brand-new filename so it can never
   collide with a stale cached copy of style.css/clients.css on the
   server/CDN. Convention (same as ptcrm_v2): temp1.css -> temp2.css ->
   temp3.css... each new production caching workaround gets the next
   number, loaded last in app.blade.php. Move these rules back into their
   real stylesheet and delete this file (+ its <link>) once confirmed live
   and the caching issue is no longer a concern. */

/* Clients/index.vue Called / Spoken pills — same rules already in
   clients.css; duplicated here in case that copy is served from a stale
   cache. */
.action-toggles { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.action-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    /* vw shrinks in CSS-px terms as the browser's page zoom goes up, unlike
       px/em/rem which scale 1:1 with zoom — so the pill stays compact at
       125%/150%+ zoom. Clamped so it never goes illegible or oversized. */
    font-size: clamp(9px, 0.75vw, 11px);
    font-weight: 600;
    padding: 0.35em 0.8em;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    background: #f7f7f7;
    color: #555;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.action-toggle input { display: none; }
.action-toggle.is-done { background: var(--green) !important; border-color: var(--green) !important; color: #fff; cursor: default; }

/* Called / Spoken — a larger tap target than the base pill (same as ptcrm_v2). */
.action-toggle-call {
    font-size: clamp(10px, 0.85vw, 12.5px);
    padding: 0.5em 1.2em;
}

/* Clients/index.vue "Recently" filter dropdown — same rules already in
   clients.css; duplicated here in case that copy is served stale. */
.toolbar-filters .radioBtnDiv label.recently-toggle.active {
    background: var(--color1);
    color: #fff;
    box-shadow: 0 1px 5px rgba(11,89,150,.35);
}
.toolbar-filters .radioBtnDiv label.recently-toggle.active:hover { background: var(--color1); color: #fff; }
.recently-dropdown .chev { font-size: 9px; margin-left: 2px; }

/* #main page padding — same rule already in style.css; duplicated here in
   case that copy is served stale. Desktop only, so it doesn't override
   style.css's smaller-screen padding (incl. the mobile bottom-nav room). */
@media (min-width: 1200px) {
    #main {
        padding: 30px 10px;
    }
}

/* Header in the UniqueStays brand blue (same idea as ptcrm_v2's maroon
   header), with its text/icons flipped to white to stay readable — same
   rules already in style.css; duplicated here in case that copy is served
   stale. Dark mode's body.dark .header rules still win (more specific). */
.header {
    background: url(../img/pattern_background.png) #0b5996;
    border-bottom: 2px solid #fff;
}
.logo span,
.header .toggle-sidebar-btn,
.header-nav .nav-icon,
.header-nav .nav-profile { color: #fff; }
.header-nav .nav-profile .text-muted { color: rgba(255, 255, 255, 0.75) !important; }
/* White circle behind the logo so it stands out on the blue header. */
.logo img { background-color: #fff; border-radius: 50%; padding: 2px; }

/* Trash tab rows are read-only (see isTrash in Clients/index.vue; same rule in clients.css) — only
   the select checkbox and the Restore button stay usable. */
.client.is-trashed .client-row .info select,
.client.is-trashed .client-row .info .dropdown,
.client.is-trashed .client-row .info input:not(.client-checkbox),
.client.is-trashed .client-row .action-toggles { pointer-events: none; opacity: .6; }

/* Mobile pagination, sidebar clearance and quick search (ptcrm_v2 ports) —
   same rules already in style.css/clients.css; duplicated here in case
   those copies are served stale. */
@media (max-width: 1199.98px) {
    .pagination { margin-bottom: 25px; }
    .sidebar { padding-bottom: 90px; }
}

@media (max-width: 575.98px) {
    .pagination { flex-wrap: wrap; justify-content: center; row-gap: 6px; }
    .pagination .page-link { padding: 4px 9px; font-size: 13px; min-width: 30px; text-align: center; }
}

@media (max-width: 992px) {
    .dash-head .flex-gap-10.quick-search { flex-wrap: wrap; overflow-x: visible; justify-content: center; }
    .dash-head .flex-gap-10.quick-search .position-relative { flex: 0 0 calc((100% - 20px) / 3); }
    .dash-head .flex-gap-10.quick-search .position-relative input.wb-ele-dashboard,
    .dash-head .flex-gap-10.quick-search .position-relative select.wb-ele-dashboard { width: 100% !important; }
    .dash-head .flex-gap-10.quick-search .position-relative select.wb-ele-dashboard { padding-left: 28px !important; }
}

/* Client row country flag — same rule already in clients.css; duplicated
   here in case that copy is served stale. */
.dash-content .client-row p .country-flag-icon { display: inline-block; margin-right: 0px !important; margin-left: 3px; margin-bottom: 2px; font-size: 12px; flex-shrink: 0; vertical-align: middle; }
