/* =========================================================
   Computer Form Tab Organization (Flexbox Order Enhancements)
   ========================================================= */

.ops-group-divider {
    margin-top: 10px !important;
    padding-top: 6px !important;
    border-top: 2px dashed #e2e8f0 !important;
}

.ops-tab-item-highlight > a {
    border-left: 3px solid #0054a6 !important;
    background: rgba(0, 84, 166, 0.04) !important;
    font-weight: 600 !important;
}

.ops-tab-item-highlight > a i {
    color: #0054a6 !important;
}

.ops-tab-extended {
    opacity: 0.85;
}

.ops-tab-extended:hover {
    opacity: 1;
}

.ops-navheader-quickbtn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    background: #0054a6;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: background 0.15s ease;
    margin-left: 10px;
}

.ops-navheader-quickbtn:hover {
    background: #003d7a;
    color: #ffffff !important;
}

/* ==========================================================================
   GLPI CENTRAL DASHBOARD MODERNIZATION & OVERLAP PREVENTION
   ========================================================================== */

/* 1. Global Dashboard Container & GridStack */
.dashboard {
    padding: 16px 20px 24px !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    min-height: auto !important;
}

.dashboard .grid-stack-item.lock-bottom {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    visibility: hidden !important;
}

.dashboard .grid-stack-item > .grid-stack-item-content {
    overflow: hidden !important;
    border-radius: 10px !important;
}

/* 2. Big Number Cards (KPI Metrics) */
.dashboard .card.big-number {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03) !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
    min-height: 85px !important;
    background: #ffffff !important;
    color: #0f172a !important;
}

.dashboard .card.big-number:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08) !important;
    border-color: #cbd5e1 !important;
}

/* Label: Placed at top, clean, crisp, never collides with icon */
.dashboard .card.big-number .label {
    order: 1 !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    color: #64748b !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: calc(100% - 38px) !important;
    line-height: 1.3 !important;
}

/* Number Container: Bold, large, crisp */
.dashboard .card.big-number .content {
    order: 2 !important;
    margin: 6px 0 0 0 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: baseline !important;
}

.dashboard .card.big-number .formatted-number {
    display: inline-flex !important;
    align-items: baseline !important;
    line-height: 1 !important;
    width: auto !important;
}

.dashboard .card.big-number .formatted-number .number {
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.025em !important;
    line-height: 1 !important;
}

.dashboard .card.big-number .formatted-number .suffix {
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    margin-left: 2px !important;
}

/* Modern Rounded Icon Badge: Placed neatly at top-right */
.dashboard .card.big-number .main-icon {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    bottom: auto !important;
    inset-inline-end: 10px !important;
    font-size: 1.15rem !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f1f5f9 !important;
    color: #0054a6 !important;
    opacity: 0.9 !important;
    pointer-events: none !important;
}

/* Semantic Category Accent Borders & Tinted Icon Badges */
/* Tickets */
[gs-id*="Ticket"] .card.big-number,
.dashboard .card.big-number[id*="Ticket"] {
    border-left: 4px solid #2563eb !important;
}
[gs-id*="Ticket"] .card.big-number .main-icon,
.dashboard .card.big-number[id*="Ticket"] .main-icon {
    color: #2563eb !important;
    background: #eff6ff !important;
}

/* Late Tickets */
[gs-id*="late"] .card.big-number,
.dashboard .card.big-number[id*="late"] {
    border-left: 4px solid #dc2626 !important;
}
[gs-id*="late"] .card.big-number .main-icon,
.dashboard .card.big-number[id*="late"] .main-icon {
    color: #dc2626 !important;
    background: #fef2f2 !important;
}

/* Problems */
[gs-id*="Problem"] .card.big-number,
.dashboard .card.big-number[id*="Problem"] {
    border-left: 4px solid #ea580c !important;
}
[gs-id*="Problem"] .card.big-number .main-icon,
.dashboard .card.big-number[id*="Problem"] .main-icon {
    color: #ea580c !important;
    background: #fff7ed !important;
}

/* Changes */
[gs-id*="Change"] .card.big-number,
.dashboard .card.big-number[id*="Change"] {
    border-left: 4px solid #7c3aed !important;
}
[gs-id*="Change"] .card.big-number .main-icon,
.dashboard .card.big-number[id*="Change"] .main-icon {
    color: #7c3aed !important;
    background: #f5f3ff !important;
}

/* Computers */
[gs-id*="Computer"] .card.big-number,
.dashboard .card.big-number[id*="Computer"] {
    border-left: 4px solid #0284c7 !important;
}
[gs-id*="Computer"] .card.big-number .main-icon,
.dashboard .card.big-number[id*="Computer"] .main-icon {
    color: #0284c7 !important;
    background: #f0f9ff !important;
}

/* Software */
[gs-id*="Software_"] .card.big-number,
.dashboard .card.big-number[id*="Software_"] {
    border-left: 4px solid #059669 !important;
}
[gs-id*="Software_"] .card.big-number .main-icon,
.dashboard .card.big-number[id*="Software_"] .main-icon {
    color: #059669 !important;
    background: #ecfdf5 !important;
}

/* Software Licenses */
[gs-id*="SoftwareLicense"] .card.big-number,
.dashboard .card.big-number[id*="SoftwareLicense"] {
    border-left: 4px solid #0d9488 !important;
}
[gs-id*="SoftwareLicense"] .card.big-number .main-icon,
.dashboard .card.big-number[id*="SoftwareLicense"] .main-icon {
    color: #0d9488 !important;
    background: #f0fdfa !important;
}

/* Network Equipment */
[gs-id*="NetworkEquipment"] .card.big-number,
.dashboard .card.big-number[id*="NetworkEquipment"] {
    border-left: 4px solid #0891b2 !important;
}
[gs-id*="NetworkEquipment"] .card.big-number .main-icon,
.dashboard .card.big-number[id*="NetworkEquipment"] .main-icon {
    color: #0891b2 !important;
    background: #ecfeff !important;
}

/* Monitors */
[gs-id*="Monitor"] .card.big-number,
.dashboard .card.big-number[id*="Monitor"] {
    border-left: 4px solid #4f46e5 !important;
}
[gs-id*="Monitor"] .card.big-number .main-icon,
.dashboard .card.big-number[id*="Monitor"] .main-icon {
    color: #4f46e5 !important;
    background: #eef2ff !important;
}

/* Printers */
[gs-id*="Printer"] .card.big-number,
.dashboard .card.big-number[id*="Printer"] {
    border-left: 4px solid #475569 !important;
}
[gs-id*="Printer"] .card.big-number .main-icon,
.dashboard .card.big-number[id*="Printer"] .main-icon {
    color: #475569 !important;
    background: #f8fafc !important;
}

/* Phones */
[gs-id*="Phone"] .card.big-number,
.dashboard .card.big-number[id*="Phone"] {
    border-left: 4px solid #2563eb !important;
}
[gs-id*="Phone"] .card.big-number .main-icon,
.dashboard .card.big-number[id*="Phone"] .main-icon {
    color: #2563eb !important;
    background: #eff6ff !important;
}

/* Racks */
[gs-id*="Rack"] .card.big-number,
.dashboard .card.big-number[id*="Rack"] {
    border-left: 4px solid #0f766e !important;
}
[gs-id*="Rack"] .card.big-number .main-icon,
.dashboard .card.big-number[id*="Rack"] .main-icon {
    color: #0f766e !important;
    background: #f0fdfa !important;
}

/* Users */
[gs-id*="User"] .card.big-number,
.dashboard .card.big-number[id*="User"] {
    border-left: 4px solid #0d9488 !important;
}
[gs-id*="User"] .card.big-number .main-icon,
.dashboard .card.big-number[id*="User"] .main-icon {
    color: #0d9488 !important;
    background: #f0fdfa !important;
}

/* Groups */
[gs-id*="Group"] .card.big-number,
.dashboard .card.big-number[id*="Group"] {
    border-left: 4px solid #9333ea !important;
}
[gs-id*="Group"] .card.big-number .main-icon,
.dashboard .card.big-number[id*="Group"] .main-icon {
    color: #9333ea !important;
    background: #faf5ff !important;
}

/* Entities */
[gs-id*="Entity"] .card.big-number,
.dashboard .card.big-number[id*="Entity"] {
    border-left: 4px solid #1d4ed8 !important;
}
[gs-id*="Entity"] .card.big-number .main-icon,
.dashboard .card.big-number[id*="Entity"] .main-icon {
    color: #1d4ed8 !important;
    background: #eff6ff !important;
}

/* Profiles */
[gs-id*="Profile"] .card.big-number,
.dashboard .card.big-number[id*="Profile"] {
    border-left: 4px solid #db2777 !important;
}
[gs-id*="Profile"] .card.big-number .main-icon,
.dashboard .card.big-number[id*="Profile"] .main-icon {
    color: #db2777 !important;
    background: #fdf2f8 !important;
}

/* Suppliers */
[gs-id*="Supplier"] .card.big-number,
.dashboard .card.big-number[id*="Supplier"] {
    border-left: 4px solid #d97706 !important;
}
[gs-id*="Supplier"] .card.big-number .main-icon,
.dashboard .card.big-number[id*="Supplier"] .main-icon {
    color: #d97706 !important;
    background: #fffbeb !important;
}

/* Documents */
[gs-id*="Document"] .card.big-number,
.dashboard .card.big-number[id*="Document"] {
    border-left: 4px solid #64748b !important;
}
[gs-id*="Document"] .card.big-number .main-icon,
.dashboard .card.big-number[id*="Document"] .main-icon {
    color: #64748b !important;
    background: #f8fafc !important;
}

/* Knowledgebase */
[gs-id*="Knowbase"] .card.big-number,
.dashboard .card.big-number[id*="Knowbase"] {
    border-left: 4px solid #b45309 !important;
}
[gs-id*="Knowbase"] .card.big-number .main-icon,
.dashboard .card.big-number[id*="Knowbase"] .main-icon {
    color: #b45309 !important;
    background: #fffbeb !important;
}

/* Projects */
[gs-id*="Project"] .card.big-number,
.dashboard .card.big-number[id*="Project"] {
    border-left: 4px solid #047857 !important;
}
[gs-id*="Project"] .card.big-number .main-icon,
.dashboard .card.big-number[id*="Project"] .main-icon {
    color: #047857 !important;
    background: #ecfdf5 !important;
}

/* 3. Modern Chart Cards (.card.g-chart) */
.dashboard .card.g-chart {
    display: flex !important;
    flex-direction: column !important;
    padding: 14px 16px !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03) !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Card Title: Placed at TOP of card */
.dashboard .card.g-chart .main-label {
    order: -1 !important;
    margin: 0 0 10px 0 !important;
    padding: 0 0 8px 0 !important;
    height: auto !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    color: #0f172a !important;
    border-bottom: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    max-width: 100% !important;
    line-height: 1.4 !important;
}

.dashboard .card.g-chart .main-label i {
    color: #0054a6 !important;
    margin-right: 6px !important;
    font-size: 1rem !important;
}

/* Hide watermark icon that blocks the chart canvas */
.dashboard .card.g-chart .main-icon {
    display: none !important;
}

/* Chart Canvas Container: Fills remaining height cleanly */
.dashboard .card.g-chart .chart {
    flex: 1 1 auto !important;
    min-height: 120px !important;
    width: 100% !important;
    position: relative !important;
}

.dashboard .card.g-chart .chart canvas {
    border-radius: 6px !important;
    max-width: 100% !important;
}

/* 4. Dashboard Toolbar & Header */
.dashboard .toolbar {
    margin-bottom: 14px !important;
    padding-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.dashboard .toolbar .dashboard_select {
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    padding: 5px 12px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.dashboard .toolbar .btn-ghost-secondary {
    border-radius: 6px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #475569 !important;
}

.dashboard .toolbar .btn-ghost-secondary:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

/* 5. Shared Layout, Navigation & Header Stability */
.header-container {
    min-height: 56px;
    align-items: center;
    flex-wrap: nowrap !important;
}

.navbar-nav {
    flex-wrap: nowrap !important;
}

.navbar-brand,
.navbar-brand .glpi-logo {
    flex-shrink: 0 !important;
}

.user-menu {
    flex-shrink: 0 !important;
}

.user-menu-dropdown-toggle {
    white-space: nowrap !important;
}

/* Dashboard Responsive Guardrails & Horizontal Scroll Preservation */
@media screen and (max-width: 1400px) {
    .dashboard {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .dashboard .grid-stack {
        min-width: 1100px !important;
    }
}

/* Universal Table & Overflow Protection */
.table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    max-width: 100% !important;
}

.table-responsive::-webkit-scrollbar {
    height: 6px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f5f9;
}

/* Modal & Dialog Viewport Guardrails */
.ui-dialog {
    max-width: 95vw !important;
    max-height: 95vh !important;
    overflow: hidden !important;
}

.ui-dialog .ui-dialog-content {
    max-height: calc(90vh - 80px) !important;
    overflow-y: auto !important;
}

/* ==========================================================================
   6. Modern Ticket Conversation & Chat UI/UX Overhaul
   ========================================================================== */

/* Timeline Container & Bubble Stream */
.itil-timeline {
    width: 100%;
}

.itil-timeline .timeline-item {
    margin-bottom: 1rem !important;
}

/* Followup Chat Bubble Modernization */
.itil-timeline .timeline-item.ITILFollowup .timeline-content {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.itil-timeline .timeline-item.ITILFollowup .timeline-content:hover {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08) !important;
    border-color: #cbd5e1 !important;
}

/* Support Agent / Technician Messages (Right side or accent) */
.itil-timeline .timeline-item.ITILFollowup.t-right .timeline-content,
.itil-timeline .timeline-item.ITILFollowup:not(.private-item) .timeline-content.t-right {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

/* Private Internal Note Styling */
.itil-timeline .timeline-item.private-item .timeline-content {
    background: #fffbeb !important;
    border: 1px dashed #f59e0b !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.1) !important;
}

/* De-emphasize System Audit Logs (Compact status chips) */
.itil-timeline .timeline-item.Log {
    margin-bottom: 0.4rem !important;
}

.itil-timeline .timeline-item.Log .timeline-content {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    font-size: 0.82rem !important;
    color: #64748b !important;
}

.itil-timeline .timeline-item.Log .timeline-content .card-body {
    padding: 0.35rem 0.75rem !important;
}

.itil-timeline .timeline-item.Log .user-part {
    display: none !important;
}

/* Chat Composer Full-Width & Spacious Writing Area */
#new-itilobject-form {
    width: 100%;
}

/* Jira/Zendesk Compact Chat Placeholder Bar */
#chat-placeholder-bar {
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    min-height: 46px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
    transition: all 0.18s ease-in-out !important;
    cursor: pointer !important;
}

#chat-placeholder-bar:hover {
    border-color: #3b82f6 !important;
    background: #f8fafc !important;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.12) !important;
    transform: translateY(-1px) !important;
}

#chat-placeholder-bar .placeholder-prompt {
    font-size: 0.92rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

#chat-placeholder-bar .user-avatar-sm img,
#chat-placeholder-bar .user-avatar-sm .avatar {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
}

/* Direct Embedded Ticket Chat Composer & Spacious Layout */
#new-itilobject-form {
    width: 100% !important;
    margin-top: 0.75rem !important;
    margin-bottom: 1.5rem !important;
}

.direct-chat-composer,
#new-ITILFollowup-block {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.direct-chat-composer .content-part,
#new-ITILFollowup-block .content-part {
    width: 100% !important;
    flex: 1 1 100% !important;
}

.direct-chat-composer .chat-composer-card,
#new-itilobject-form .timeline-content {
    border-radius: 12px !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.07) !important;
    background: #ffffff !important;
    width: 100% !important;
}

.direct-chat-composer .chat-composer-card .card-body,
#new-ITILFollowup-block .card-body {
    padding: 1.15rem 1.35rem !important;
}

.itilfollowup {
    width: 100% !important;
}

/* Generous Modern Writing Area (TinyMCE) */
.itilfollowup .tox-tinymce,
#new-ITILFollowup-block .tox-tinymce {
    min-height: 220px !important;
    height: 240px !important;
    border-radius: 10px !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.itilfollowup .tox-tinymce:focus-within,
#new-ITILFollowup-block .tox-tinymce:focus-within {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

.itilfollowup .tox-tinymce .tox-edit-area__iframe,
#new-ITILFollowup-block .tox-tinymce .tox-edit-area__iframe {
    min-height: 165px !important;
    background: #ffffff !important;
}

.itilfollowup textarea.form-control,
#new-ITILFollowup-block textarea.form-control {
    min-height: 180px !important;
    border-radius: 10px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 0.75rem 1rem !important;
}

/* Sleek Compact Horizontal Attachment Strip (Replaces Giant Dropzones across all GLPI Forms & Tickets) */
.fileupload:not(.only-uploaded-files),
.fileupload.draghoverable,
.itilfollowup .fileupload,
#new-ITILFollowup-block .fileupload {
    min-height: 38px !important;
    height: auto !important;
    padding: 6px 14px !important;
    margin: 8px 0 6px 0 !important;
    border: 1px dashed #94a3b8 !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    text-align: left !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    width: 100% !important;
}

.fileupload:not(.only-uploaded-files):hover,
.fileupload:not(.only-uploaded-files).draghover,
.fileupload.draghoverable:hover {
    border-color: #2563eb !important;
    background: #eff6ff !important;
}

.fileupload:not(.only-uploaded-files) b {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
}

.fileupload:not(.only-uploaded-files) b::before {
    content: "📎";
    font-size: 0.95rem;
}

.fileupload:not(.only-uploaded-files) br {
    display: none !important;
}

.fileupload:not(.only-uploaded-files) .b,
.fileupload:not(.only-uploaded-files) span.b {
    display: none !important;
}

.fileupload:not(.only-uploaded-files) input[type="file"] {
    font-size: 0.78rem !important;
    height: 30px !important;
    padding: 2px 8px !important;
    margin: 0 !important;
    max-width: 250px !important;
    border-radius: 6px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #334155 !important;
    cursor: pointer !important;
    display: inline-block !important;
}

.fileupload:not(.only-uploaded-files) input[type="file"]::file-selector-button {
    font-size: 0.76rem !important;
    padding: 2px 8px !important;
    height: 22px !important;
    margin-right: 6px !important;
    border-radius: 4px !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    cursor: pointer !important;
}

.fileupload:not(.only-uploaded-files) .fileupload_info {
    width: 100% !important;
    margin-top: 4px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

/* Sidebar Submenu Clean Alignment when Icon is Omitted */
.dropdown-menu .dropdown-item i:empty,
.dropdown-menu .dropdown-item i[class=""] {
    display: none !important;
}

/* Secondary Technician Options Drawer */
.followup-meta-options {
    background: #f8fafc !important;
    border-radius: 8px !important;
    padding: 0.65rem 0.85rem !important;
    border: 1px solid #e2e8f0 !important;
    margin-top: 0.5rem !important;
}

/* Prominent Send Message Button */
.btn-send-message {
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    padding: 0.52rem 1.4rem !important;
    border-radius: 8px !important;
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: background-color 0.15s ease, transform 0.1s ease !important;
}

.btn-send-message:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   GLOBAL PAGE BOTTOM OVERFLOW & WHITESPACE GUARDRAILS
   ========================================================================== */
.page-wrapper {
    min-height: 0 !important;
}

.page-body {
    min-height: 0 !important;
}

/* Eliminate empty space caused by legacy dashboard lock-bottom */
.grid-stack-item.lock-bottom {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    visibility: hidden !important;
}


/* Reopened Tickets Big Number Card */
[gs-id*="reopened"] .card.big-number,
.dashboard .card.big-number[id*="reopened"] {
    border-left: 4px solid #f59e0b !important;
}
[gs-id*="reopened"] .card.big-number .main-icon,
.dashboard .card.big-number[id*="reopened"] .main-icon {
    color: #d97706 !important;
    background: #fffbeb !important;
}
/* Auto-refresh indicator styling */
.toolbar .auto-refresh.active {
    color: #206bc4 !important;
    background-color: rgba(32, 107, 196, 0.12) !important;
    border-radius: 4px;
