
/* =============================================================================
   GLOBAL — Minimal scrollbars
   ============================================================================= */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

/* Hide number input spinners globally */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: var(--border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--muted-foreground);
}


/* =============================================================================
   LAYOUT — Build
   ============================================================================= */
.build-layout {
    display: flex;
    height: calc(100vh - 3.5rem);
    overflow: hidden;
}

.build-sidebar {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background-color: var(--card);
    border-right: 1px solid var(--border);
}

.build-main {
    flex: 1;
    overflow-y: auto;
}

.build-mobile-bar {
    display: none;
}

.build-bottom-drawer {
    display: none;
}

.appt-mobile-bar {
    display: none;
}

.appt-bottom-drawer {
    display: none;
}


/* =============================================================================
   APP LAYER — Navbar, Sidebar, Settings
   ============================================================================= */
@layer app {
    .navbar-btn:hover {
        background-color: var(--accent) !important;
        color: var(--accent-foreground) !important;
    }

    .navbar-desktop-nav {
        display: flex;
    }

    .navbar-mobile-trigger {
        display: none;
    }

    .settings-nav-label {
        display: none;
    }

    .settings-nav-label-active {
        display: inline;
    }

    .admin-sidebar-desktop {
        display: flex;
    }

    .admin-sidebar-mobile-trigger {
        display: none;
    }
}


/* =============================================================================
   STATIC STYLES — Header, Settings Sidebar
   ============================================================================= */
.header-wrapper {
    padding: 0 6rem;
}

.settings-sidebar {
    width: 14rem;
    flex-shrink: 0;
    border-right: 1px solid var(--border);
    background-color: var(--background);
    padding: var(--space-4) var(--space-2);
    overflow-y: auto;
}

.settings-mobile-trigger {
    display: none;
}

.settings-mobile-nav {
    display: none;
}


/* =============================================================================
   MEDIA QUERIES (outside @layer to avoid suppression)
   ============================================================================= */

/* ≥641px: show settings nav labels */
@media (min-width: 641px) {
    .settings-nav-label {
        display: inline !important;
    }
}

/* ≤640px: mobile navbar & settings */
@media (max-width: 640px) {
    .navbar-desktop-nav {
        display: none !important;
    }

    .navbar-mobile-trigger {
        display: flex !important;
    }

    .header-wrapper {
        padding: 0 1rem;
    }

    .settings-mobile-trigger {
        display: flex !important;
    }

    .settings-mobile-nav {
        display: block;
        border-bottom: 1px solid var(--border);
        background-color: var(--background);
        overflow-x: auto;
    }

        .settings-mobile-nav nav {
            flex-direction: row !important;
            flex-wrap: nowrap;
            padding: var(--space-2) var(--space-4);
            gap: var(--space-1);
            overflow-x: auto;
        }

        .settings-mobile-nav p {
            display: none;
        }

    .settings-sidebar {
        display: none !important;
    }

    .settings-main {
        padding: var(--space-4) !important;
    }
}

/* ≤767px: mobile build, appointment & admin sidebar */
@media (max-width: 767px) {
    .build-layout {
        flex-direction: column;
    }

    .build-sidebar {
        display: none !important;
    }

    .build-main {
        padding: var(--space-1) !important;
    }

    .build-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: var(--space-3) var(--space-4);
        border-bottom: 1px solid var(--border);
        background-color: var(--card);
        flex-shrink: 0;
    }

    .build-bottom-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 50;
        background-color: var(--card);
        border-top: 1px solid var(--border);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        max-height: 70vh;
        overflow-y: auto;
    }

    .appt-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: var(--space-3) var(--space-4);
        border-bottom: 1px solid var(--border);
        background-color: var(--card);
        flex-shrink: 0;
    }

    .appt-bottom-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 50;
        background-color: var(--card);
        border-top: 1px solid var(--border);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        max-height: 70vh;
        overflow-y: auto;
    }

    .admin-sidebar-desktop {
        display: none !important;
    }

    .admin-sidebar-mobile-trigger {
        display: block !important;
    }
}


/* =============================================================================
   POS — Toggle switch (pseudo-elements needed beyond Tailwind)
   ============================================================================= */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: var(--muted);
    border-radius: 24px;
    transition: background-color 0.2s;
}

.slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    border-radius: 9999px;
    transition: transform 0.2s;
}

.switch input:checked + .slider {
    background-color: var(--primary);
}

.switch input:checked + .slider::before {
    transform: translateX(20px);
}


/* =============================================================================
   POS — Order summary (receipt) modal
   ============================================================================= */
.order-summary-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.6);
    z-index: 100;
}

.order-summary-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    z-index: 101;
    width: 400px;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.order-summary-content {
    overflow-y: auto;
    color: #000;
    font-family: 'Courier New', Courier, monospace;
    padding-bottom: 20px;
}

.order-summary-header {
    text-align: center;
    margin-bottom: 15px;
}

    .order-summary-header h2 {
        font-size: 16px;
        margin: 0 0 5px 0;
        font-weight: bold;
    }

    .order-summary-header p {
        margin: 2px 0;
        font-size: 12px;
    }

.order-summary-meta {
    font-size: 12px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

.order-summary-payment-meta {
    padding-top: 8px;
    border-top: 1px dashed #000;
}

.order-summary-table {
    width: 100%;
    font-size: 12px;
    border-top: 1px dashed #000;
    border-bottom: 1px dashed #000;
    margin-bottom: 15px;
}

    .order-summary-table th, .order-summary-table td {
        padding: 5px 2px;
    }

.order-summary-totals {
    font-size: 12px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3px;
}

.order-summary-footer {
    text-align: center;
    font-size: 10px;
    border-top: 1px dashed #000;
    padding-top: 10px;
}

.order-summary-remarks {
    margin-bottom: 15px;
    font-size: 11px;
    overflow-wrap: anywhere;
}

.order-summary-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
    border-top: 1px solid #ccc;
    padding-top: 15px;
}


/* =============================================================================
   AdminPreBuilt — Package modal responsive layout
   ============================================================================= */
.apb-modal-body {
    flex-direction: column;
    overflow-y: auto;
}

.apb-left-panel {
    width: 100%;
    flex-shrink: 0;
    max-height: 40vh;
}

.apb-right-panel {
    width: 100%;
}

@media (max-width: 767px) {
    .apb-left-panel {
        max-height: none;
    }

    .apb-motor-section {
        flex: none;
    }

    .apb-motor-list {
        height: 16rem;
        flex: none;
    }
}

@media (min-width: 768px) {
    .apb-modal-body {
        flex-direction: row;
        overflow-y: hidden;
    }

    .apb-left-panel {
        width: 320px;
        max-height: none;
    }

    .apb-right-panel {
        width: auto;
    }
}

/* Safety Stock product visibility controls live here because this stylesheet is
   loaded by the host in every deployment, including interactive client pages. */
.product-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.625rem;
    border: 1px solid;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25rem;
}

.product-status-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 6rem;
    min-height: 2.75rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ss-product-status.ss-status-active {
    border-color: #86efac !important;
    background-color: #dcfce7 !important;
    color: #166534 !important;
}

.product-status-toggle.ss-status-active:hover {
    border-color: #4ade80 !important;
    background-color: #bbf7d0 !important;
}

.ss-product-status.ss-status-inactive {
    border-color: #d1d5db !important;
    background-color: #e5e7eb !important;
    color: #4b5563 !important;
}

.product-status-toggle.ss-status-inactive:hover {
    border-color: #9ca3af !important;
    background-color: #d1d5db !important;
}

.product-status-toggle:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.product-status-toggle:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Edge supplies its own reveal control after a password has been typed. Hide it
   only where StockSense renders an accessible custom eye toggle. */
.password-with-toggle::-ms-reveal,
.password-with-toggle::-ms-clear {
    display: none;
}

.password-toggle-button {
    position: absolute;
    top: 0;
    right: 0.5rem;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    border: 0;
    background: transparent;
    color: var(--muted-foreground);
    cursor: pointer;
}

.password-toggle-button:hover {
    color: var(--foreground);
}

.password-toggle-button:focus-visible {
    border-radius: var(--radius);
    outline: 2px solid var(--ring);
    outline-offset: -2px;
}

/* Order-slip workflow palette. Buttons use the exact opaque action colors;
   badges use translucent versions of the same colors. */
:root {
    --order-violet: #8b5cf6;
    --order-green: #10b981;
    --order-red: #ef4444;
    --order-amber: #f59e0b;
    --order-blue: #3b82f6;
}

.order-status-badge {
    display: inline-flex;
    min-width: 6rem;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    border: 1px solid;
    border-radius: 9999px;
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1rem;
}

.order-status-badge::before {
    width: 0.375rem;
    height: 0.375rem;
    flex: 0 0 0.375rem;
    border-radius: 9999px;
    background-color: currentColor;
    content: "";
    opacity: 0.8;
}

.order-status--draft,
.order-status--closed-short {
    border-color: var(--order-amber) !important;
    background: rgba(245, 158, 11, 0.14) !important;
    color: #92400e !important;
    color: color-mix(in srgb, var(--order-amber) 58%, #000000) !important;
}
.order-status--approved {
    border-color: var(--order-violet) !important;
    background: rgba(139, 92, 246, 0.14) !important;
    color: #6d28d9 !important;
    color: color-mix(in srgb, var(--order-violet) 72%, #000000) !important;
}
.order-status--completed {
    border-color: var(--order-green) !important;
    background: rgba(16, 185, 129, 0.14) !important;
    color: #047857 !important;
    color: color-mix(in srgb, var(--order-green) 68%, #000000) !important;
}
.order-status--ordered,
.order-status--partial {
    border-color: var(--order-blue) !important;
    background: rgba(59, 130, 246, 0.14) !important;
    color: #1d4ed8 !important;
    color: color-mix(in srgb, var(--order-blue) 74%, #000000) !important;
}
.order-status--cancelled {
    border-color: var(--order-red) !important;
    background: rgba(239, 68, 68, 0.14) !important;
    color: #b91c1c !important;
    color: color-mix(in srgb, var(--order-red) 72%, #000000) !important;
}
.order-status--unknown { border-color: #6b7280 !important; background: rgba(107, 114, 128, 0.14) !important; color: #374151 !important; }

.dark .order-status--draft,
.dark .order-status--closed-short { border-color: var(--order-amber) !important; background: rgba(245, 158, 11, 0.20) !important; color: var(--order-amber) !important; }
.dark .order-status--approved { border-color: var(--order-violet) !important; background: rgba(139, 92, 246, 0.20) !important; color: #c4b5fd !important; color: color-mix(in srgb, var(--order-violet) 52%, #ffffff) !important; }
.dark .order-status--completed { border-color: var(--order-green) !important; background: rgba(16, 185, 129, 0.20) !important; color: var(--order-green) !important; }
.dark .order-status--ordered,
.dark .order-status--partial { border-color: var(--order-blue) !important; background: rgba(59, 130, 246, 0.20) !important; color: #93c5fd !important; color: color-mix(in srgb, var(--order-blue) 58%, #ffffff) !important; }
.dark .order-status--cancelled { border-color: var(--order-red) !important; background: rgba(239, 68, 68, 0.20) !important; color: #fca5a5 !important; color: color-mix(in srgb, var(--order-red) 58%, #ffffff) !important; }
.dark .order-status--unknown { border-color: #9ca3af !important; background: rgba(156, 163, 175, 0.16) !important; color: #d1d5db !important; }

.order-action {
    border-width: 1px !important;
    border-style: solid !important;
    font-weight: 600 !important;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease !important;
}

.order-action--details {
    border-color: #d1d5db !important;
    background: #ffffff !important;
    color: #111827 !important;
}
.order-action--details:hover { border-color: #9ca3af !important; background: #f9fafb !important; }

.order-action--approve { border-color: var(--order-violet) !important; background: var(--order-violet) !important; color: #ffffff !important; }
.order-action--approve:hover { border-color: #7c3aed !important; background: #7c3aed !important; color: #ffffff !important; }

/* Sending advances the slip to Ordered, so it shares the Ordered badge's blue hue. */
.order-action--send { border-color: var(--order-blue) !important; background: var(--order-blue) !important; color: #ffffff !important; }
.order-action--send:hover { border-color: var(--order-blue) !important; background: color-mix(in srgb, var(--order-blue) 88%, #000000) !important; color: #ffffff !important; }

/* Receiving advances toward completion and uses the same success green. */
.order-action--receive { border-color: var(--order-green) !important; background: var(--order-green) !important; color: #ffffff !important; }
.order-action--receive:hover { border-color: var(--order-green) !important; background: color-mix(in srgb, var(--order-green) 88%, #000000) !important; color: #ffffff !important; }

.order-action--warning { border-color: var(--order-amber) !important; background: var(--order-amber) !important; color: #111827 !important; }
.order-action--warning:hover { border-color: var(--order-amber) !important; background: color-mix(in srgb, var(--order-amber) 88%, #000000) !important; color: #111827 !important; }

.order-action:focus-visible,
.order-action-menu-trigger:focus-visible {
    outline: 2px solid var(--order-blue) !important;
    outline-offset: 2px !important;
}

.order-action--approve:focus-visible { outline-color: #7c3aed !important; box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.30) !important; }
.order-action--receive:focus-visible { outline-color: var(--order-green) !important; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.28) !important; }
.order-action--send:focus-visible { outline-color: var(--order-blue) !important; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.28) !important; }
.order-action--warning:focus-visible { outline-color: var(--order-amber) !important; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.30) !important; }

.order-action:disabled { cursor: not-allowed !important; opacity: 0.5 !important; }

.dark .order-action--details { border-color: #4b5563 !important; background: #111827 !important; color: #f3f4f6 !important; }
.dark .order-action--details:hover { border-color: #6b7280 !important; background: #1f2937 !important; }
.dark .order-action--approve { border-color: var(--order-violet) !important; background: var(--order-violet) !important; color: #ffffff !important; }
.dark .order-action--approve:hover { border-color: #7c3aed !important; background: #7c3aed !important; color: #ffffff !important; }
.dark .order-action--receive { border-color: var(--order-green) !important; background: var(--order-green) !important; color: #ffffff !important; }
.dark .order-action--receive:hover { border-color: var(--order-green) !important; background: color-mix(in srgb, var(--order-green) 84%, #000000) !important; color: #ffffff !important; }
.dark .order-action--send { border-color: var(--order-blue) !important; background: var(--order-blue) !important; color: #ffffff !important; }
.dark .order-action--send:hover { border-color: var(--order-blue) !important; background: color-mix(in srgb, var(--order-blue) 84%, #000000) !important; color: #ffffff !important; }

.order-action-menu-trigger {
    width: 2rem !important;
    height: 2rem !important;
    flex-shrink: 0 !important;
    border: 1px solid transparent !important;
    color: #4b5563 !important;
}
.order-action-menu-trigger:hover { border-color: #d1d5db !important; background: #f3f4f6 !important; color: #111827 !important; }
.dark .order-action-menu-trigger { color: #d1d5db !important; }
.dark .order-action-menu-trigger:hover { border-color: #4b5563 !important; background: #1f2937 !important; color: #ffffff !important; }

.order-action-menu-warning { color: var(--order-amber) !important; }
.order-action-menu-warning:focus,
.order-action-menu-warning:hover { background: rgba(245, 158, 11, 0.14) !important; color: #92400e !important; color: color-mix(in srgb, var(--order-amber) 58%, #000000) !important; }
.order-action-menu-danger { color: var(--order-red) !important; }
.order-action-menu-danger:focus,
.order-action-menu-danger:hover { background: rgba(239, 68, 68, 0.14) !important; color: #b91c1c !important; color: color-mix(in srgb, var(--order-red) 72%, #000000) !important; }
.dark .order-action-menu-warning { color: var(--order-amber) !important; }
.dark .order-action-menu-warning:focus,
.dark .order-action-menu-warning:hover { background: rgba(245, 158, 11, 0.20) !important; color: var(--order-amber) !important; }
.dark .order-action-menu-danger { color: var(--order-red) !important; }
.dark .order-action-menu-danger:focus,
.dark .order-action-menu-danger:hover { background: rgba(239, 68, 68, 0.20) !important; color: var(--order-red) !important; }

.order-receipt-quantity {
    width: 6.5rem !important;
    height: 2.75rem !important;
    padding: 0.5rem 0.75rem !important;
    border: 2px solid #ef4444 !important;
    border-radius: 0.5rem !important;
    background: #fff7f7 !important;
    color: #111827 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
    text-align: right !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease !important;
}
.order-receipt-quantity:hover { border-color: #dc2626 !important; background: #fef2f2 !important; }
.order-receipt-quantity:focus-visible { outline: none !important; border-color: #dc2626 !important; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.24) !important; }
.order-receipt-quantity--full { width: 100% !important; }
.dark .order-receipt-quantity { border-color: #f87171 !important; background: rgba(127, 29, 29, 0.30) !important; color: #f9fafb !important; }
.dark .order-receipt-quantity:hover { border-color: #fca5a5 !important; background: rgba(127, 29, 29, 0.45) !important; }

/* Appointment workflow palette. Actions are intentionally solid while status
   badges use a low-emphasis tint of the same semantic color. */
.appointment-status-badge {
    display: inline-flex;
    min-width: 5.75rem;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    border: 1px solid;
    border-radius: 9999px;
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1rem;
}
.appointment-status-badge::before {
    width: 0.375rem;
    height: 0.375rem;
    flex-shrink: 0;
    border-radius: 9999px;
    background: currentColor;
    content: "";
}
.appointment-status--pending { border-color: #f59e0b !important; background: rgba(245, 158, 11, 0.14) !important; color: #92400e !important; }
.appointment-status--confirmed { border-color: #3b82f6 !important; background: rgba(59, 130, 246, 0.14) !important; color: #1d4ed8 !important; }
.appointment-status--completed { border-color: #10b981 !important; background: rgba(16, 185, 129, 0.14) !important; color: #047857 !important; }
.appointment-status--cancelled { border-color: #ef4444 !important; background: rgba(239, 68, 68, 0.14) !important; color: #b91c1c !important; }
.appointment-status--unknown { border-color: #6b7280 !important; background: rgba(107, 114, 128, 0.14) !important; color: #374151 !important; }
.dark .appointment-status--pending { background: rgba(245, 158, 11, 0.20) !important; color: #fbbf24 !important; }
.dark .appointment-status--confirmed { background: rgba(59, 130, 246, 0.20) !important; color: #93c5fd !important; }
.dark .appointment-status--completed { background: rgba(16, 185, 129, 0.20) !important; color: #34d399 !important; }
.dark .appointment-status--cancelled { background: rgba(239, 68, 68, 0.20) !important; color: #fca5a5 !important; }
.dark .appointment-status--unknown { background: rgba(156, 163, 175, 0.16) !important; color: #d1d5db !important; }

.appointment-action {
    border: 1px solid !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease !important;
}
.appointment-action--positive { border-color: #10b981 !important; background: #10b981 !important; }
.appointment-action--positive:hover { border-color: #059669 !important; background: #059669 !important; }
.appointment-action--primary { border-color: #3b82f6 !important; background: #3b82f6 !important; }
.appointment-action--primary:hover { border-color: #2563eb !important; background: #2563eb !important; }
.appointment-action--warning {
    border-color: #f59e0b !important;
    background: #f59e0b !important;
    color: #ffffff !important;
}
.appointment-action--warning:hover:not(:disabled) {
    border-color: #d97706 !important;
    background: #d97706 !important;
    color: #ffffff !important;
}
.appointment-action--danger { border-color: #ef4444 !important; background: #ef4444 !important; }
.appointment-action--danger:hover { border-color: #dc2626 !important; background: #dc2626 !important; }
.appointment-action:focus-visible { outline: 2px solid currentColor !important; outline-offset: 2px !important; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25) !important; }
.appointment-action--positive:focus-visible { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.28) !important; }
.appointment-action--warning:focus-visible {
    color: #ffffff !important;
    outline-color: #b45309 !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.30) !important;
}
.appointment-action--warning:disabled {
    border-color: #f59e0b !important;
    background: #f59e0b !important;
    color: #ffffff !important;
}
.dark .appointment-action--warning,
.dark .appointment-action--warning:hover:not(:disabled),
.dark .appointment-action--warning:focus-visible,
.dark .appointment-action--warning:disabled {
    color: #ffffff !important;
}
.appointment-action--danger:focus-visible { box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.28) !important; }
.appointment-action:disabled { cursor: not-allowed !important; opacity: 0.5 !important; }
