/* =============================================================
   Синергия ERP — Общие стили (объединённый файл)
   Источники: custom-menu.css, assistant_tables.css, tour.css, assistant_voice.css
   ============================================================= */

/* ======================= НАВИГАЦИОННОЕ МЕНЮ ======================= */

.main-menu {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0 10px;
}

.main-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    border-bottom: 1px solid #f0f0f0;
}

.main-menu ul li {
    position: relative;
    display: flex;
}

.main-menu ul li a,
.group-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    font-size: 12px;
    flex-grow: 1;
    color: #333;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    cursor: pointer;
}

.main-menu ul li a::after,
.group-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.main-menu ul li:hover > a,
.main-menu ul li:hover > .group-header {
    background-color: #f9f9f9;
    color: #000;
}

.main-menu ul li:hover > a::after,
.main-menu ul li:hover > .group-header::after {
    transform: scaleX(1);
}

.folder-container {
    width: 32px;
    height: 24px;
    position: relative;
    perspective: 800px;
    margin-right: 10px;
    flex-shrink: 0;
}

.folder-part {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 4px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.folder-back { z-index: 1; }

.folder-back::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 15px;
    height: 3px;
    background-color: var(--primary-color);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.paper {
    z-index: 2;
    background-color: #ffffff;
    width: 90%;
    height: 85%;
    left: 5%;
    bottom: 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transform-origin: bottom;
    opacity: 0;
}

.folder-front {
    z-index: 3;
    transform-origin: bottom center;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
    min-width: 200px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
}

.submenu li a {
    padding: 12px 25px;
    width: 100%;
    box-sizing: border-box;
    display: block;
}

.menu-group:hover .folder-front {
    transform: rotateX(-30deg);
    background: #1a3a99;
}

.menu-group:hover .paper {
    transform: translateY(-15px);
    opacity: 1;
}

.menu-group:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0s;
}

.full-width-nav-wrapper {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    width: 100%;
}

.full-width-nav-wrapper .main-menu {
    max-width: 1200px;
    margin: 0;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

.full-width-nav-wrapper .main-menu ul {
    border-bottom: none;
}

/* ======================= ТАБЛИЦЫ АССИСТЕНТА ======================= */

.assistant-table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.5rem 0;
    font-size: 0.85rem;
}

.assistant-table-wrapper table th,
.assistant-table-wrapper table td {
    border: 1px solid #e2e8f0;
    padding: 0.5rem;
    white-space: nowrap;
}

.assistant-table-wrapper table th {
    background-color: #f8fafc;
    font-weight: 600;
    text-align: left;
}

.table-responsive-wrapper {
    overflow-x: auto;
    max-width: 100%;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    border: 1px solid #e5e7eb;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.table-responsive-wrapper::-webkit-scrollbar { height: 6px; }
.table-responsive-wrapper::-webkit-scrollbar-track { background: transparent; }
.table-responsive-wrapper::-webkit-scrollbar-thumb { background-color: #cbd5e1; border-radius: 3px; }

.table-responsive-wrapper table { margin: 0; border: none; }

.chat-table-highlight {
    background-color: rgba(0, 0, 0, 0.08) !important;
    transition: background-color 0.1s ease;
}

.table-export-toolbar {
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.export-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.export-btn:hover { background-color: #e2e8f0; color: #1e293b; }

.dark .assistant-table-wrapper table th,
.dark .assistant-table-wrapper table td { border-color: #4b5563; }
.dark .assistant-table-wrapper table th { background-color: #374151; color: #e5e7eb; }
.dark .assistant-table-wrapper table td { color: #d1d5db; }
.dark .export-btn { background-color: #374151; color: #e5e7eb; border-color: #4b5563; }
.dark .export-btn:hover { background-color: #4b5563; }

/* ======================= ТУР / ONBOARDING ======================= */

.ios-glass {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.dark .ios-glass {
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.transition-box { transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); }

@keyframes softPulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}
.ai-pulse { animation: softPulse 2s infinite; }

#tour-overlay { pointer-events: none; mix-blend-mode: multiply; }

@keyframes popIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.animate-pop-in { animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }

#tour-focus-ring {
    position: absolute;
    border: 2px solid #3b82f6;
    border-radius: 12px;
    box-shadow: 0 0 0 9999px rgba(0,0,0,0.3);
    pointer-events: none;
    z-index: 10040;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

#tour-popup {
    position: absolute;
    z-index: 10050;
    width: 340px;
    transform-origin: bottom center;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

#tour-click-backdrop { position: fixed; inset: 0; z-index: 10030; pointer-events: none !important; }

#tour-badge {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10060;
    touch-action: none;
    user-select: none;
}

#tour-start-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 10070;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 16px 24px;
    border-radius: 20px;
}
.dark #tour-start-toast { background: rgba(30, 41, 59, 0.95); border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; }
#tour-start-toast:not(.visible) {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}
#tour-start-toast.visible {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.animate-blob { animation: blob 7s infinite; }
.animation-delay-2000 { animation-delay: 2s; }
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

/* ======================= ГОЛОСОВОЙ ВВОД ======================= */

@keyframes pulse-red {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}
.animate-pulse { animation: pulse-red 1.5s infinite ease-in-out; }

@keyframes shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}

.slide-track {
    background: linear-gradient(to right, #9ca3af 20%, #4b5563 40%, #9ca3af 60%);
    background-size: 200% auto;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    animation: shimmer 2s linear infinite;
    font-weight: 600;
}

.dark .slide-track {
    background: linear-gradient(to right, #6b7280 20%, #e5e7eb 40%, #6b7280 60%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
}

.relative { position: relative !important; }

/* ======================= ТЕМА, ПРЕЛОАДЕР И МАКЕТ (из header.php) ======================= */

:root {
    --primary-color: #1d4ed8; /* Blue */
    --accent-color: #f97316; /* Orange */
    --neutral-light: #f9fafb;
    --neutral-dark: #111827;
    --neutral-gray: #6b7280;
    --sat: env(safe-area-inset-top, 0px);
    --sab: env(safe-area-inset-bottom, 0px);
}

body {
    font-family: 'Roboto', sans-serif;
    transition: background-color 0.3s, color 0.3s, padding-right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-x: clip;
    min-height: 100vh;
}

html {
    overflow-x: hidden;
    overflow-y: auto;
}

.dark {
    background-color: var(--neutral-dark);
    color: var(--neutral-light);
}

.dark .bg-gray-50 { background-color: #1f2937; }
.dark .bg-white { background-color: #1f2937; }
.dark .bg-slate-50 { background-color: #1e293b; }
.dark .bg-slate-100 { background-color: #0f172a; }
.dark .bg-slate-200 { background-color: #1e293b; }
.dark .bg-slate-200\/60 { background-color: rgba(30, 41, 59, 0.6); }
.dark .text-slate-800 { color: #e2e8f0; }
.dark .text-slate-900 { color: #f1f5f9; }
.dark .text-slate-600 { color: #94a3b8; }
.dark .text-slate-500 { color: #a1a1aa; }
.dark .border-slate-200 { border-color: #334155; }
.dark .border-slate-300 { border-color: #475569; }
.dark .text-gray-700 { color: #d1d5db; }
.dark .border-gray-200 { border-color: #374151; }
.dark .bg-green-50 { background-color: #065f46; }
.dark .text-green-700 { color: #34d399; }
.dark .bg-red-50 { background-color: #7f1d1d; }
.dark .text-red-700 { color: #f87171; }

.card, .table-row {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 8px;
}
.card:hover, .table-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.theme-toggle {
    cursor: pointer;
    transition: transform 0.3s;
}
.theme-toggle:hover {
    transform: scale(1.1);
}

.form-input-styled {
    padding: 0.5rem 1rem;
    border-width: 1px;
    border-color: #d1d5db;
    border-radius: 0.375rem;
    background-color: #f9fafb;
    color: #374151;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-input-styled:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.2);
    outline: none;
}
.dark .form-input-styled {
    background-color: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}

.tooltip {
    position: relative;
}
.tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--neutral-dark);
    color: var(--neutral-light);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
}
.dark .tooltip:hover::after {
    background: var(--neutral-light);
    color: var(--neutral-dark);
}

.notification {
    animation: slideIn 0.3s ease-in;
    transition: opacity 0.3s;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}
.notification.hide {
    opacity: 0;
    pointer-events: none;
}

.table-container, .checkbox-container {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
}
.table-container.custom-height {
    max-height: none;
}
.table-container::-webkit-scrollbar, .checkbox-container::-webkit-scrollbar, #assistant-memory-list::-webkit-scrollbar {
    width: 8px;
}
.table-container::-webkit-scrollbar-thumb, .checkbox-container::-webkit-scrollbar-thumb, #assistant-memory-list::-webkit-scrollbar-thumb {
    background: var(--neutral-gray);
    border-radius: 4px;
}

.modal {
    animation: fadeIn 0.3s ease-in;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}
.modal-overlay.hidden,
.modal-overlay:not(.visible) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none !important;
}
@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 0.75; }
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--neutral-light);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    visibility: visible;
    opacity: 1;
}
.dark #preloader {
    background-color: var(--neutral-dark);
}
#preloader .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(29, 78, 216, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none !important;
    display: none !important;
}

#chart-zoom-modal.hidden {
    display: none !important;
    pointer-events: none !important;
}

.modal-content {
    background: white;
    padding: 1.75rem;
    border-radius: 0.75rem;
    width: 92%;
    max-width: 560px;
    transform: scale(0.95);
    transition: transform 0.3s;
}

/* Снятие жестких ограничений для широких модальных окон (Статьи 6.3, 6.4) */
#contract-manager-modal .modal-content,
.modal-content.modal-xl,
.modal-content.max-w-4xl,
.modal-content.sm\:max-w-4xl,
.modal-content.max-w-5xl,
.modal-content.sm\:max-w-5xl,
.modal-content.max-w-6xl,
.modal-content.sm\:max-w-6xl {
    max-width: 1200px !important;
    width: 96vw !important;
}

#contract-edit-modal .modal-content,
#warehouse-manager-modal .modal-content,
.modal-content.modal-lg,
.modal-content.max-w-2xl,
.modal-content.sm\:max-w-2xl,
.modal-content.max-w-3xl,
.modal-content.sm\:max-w-3xl {
    max-width: 850px !important;
    width: 95vw !important;
}

.modal-overlay.visible .modal-content {
    transform: scale(1);
}
.dark .modal-content { background-color: #2d3748; }

.file-list {
    list-style-type: disc;
    margin-left: 1.5rem;
}
.file-list li {
    margin-bottom: 0.5rem;
}

.main-photo-container img {
    object-fit: contain;
}
.thumbnail-item img {
    object-fit: cover;
}

#assistant-sidebar {
    width: 400px;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0s;
}
#assistant-sidebar.open {
    transform: translateX(0);
}

.sidebar-resizer {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    cursor: col-resize;
    z-index: 10;
    transition: background 0.2s;
}
.sidebar-resizer:hover, .sidebar-resizer.active {
    background-color: rgba(59, 130, 246, 0.5);
}

body.assistant-open {
    padding-right: 400px;
}
body.resizing {
    transition: none !important;
}
#assistant-sidebar.resizing {
    transition: none !important;
}

.micro-bot-pupil {
    transition: transform 0.05s linear;
}
.micro-bot-container {
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
    perspective: 800px;
}
.micro-bot-face-panel {
    transition: transform 0.1s ease-out;
}
@keyframes micro-bot-blink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}
.micro-bot-eye-container {
    animation: micro-bot-blink 4s infinite;
}
@keyframes micro-bot-pulse-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.micro-bot-antenna-light {
    animation: micro-bot-pulse-glow 2s infinite;
}

.header-inline-menu .main-menu {
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
.header-inline-menu .main-menu ul {
    border-bottom: none !important;
    gap: 2px;
    align-items: center;
    flex-wrap: nowrap !important;
}
.header-inline-menu .group-header, 
.header-inline-menu .main-menu ul li a {
    padding: 6px 9px !important;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap !important;
    letter-spacing: -0.01em;
}
.header-inline-menu .group-header span,
.header-inline-menu .main-menu ul li a span {
    white-space: nowrap !important;
}
.header-inline-menu .folder-container {
    width: 24px;
    height: 18px;
    margin-right: 6px;
    flex-shrink: 0;
}
.header-inline-menu .folder-back::before {
    width: 11px;
    height: 3px;
    top: -2px;
}
.header-inline-menu .group-header::after,
.header-inline-menu .main-menu ul li a::after {
    bottom: 0px;
    height: 2px;
}
.dark .header-inline-menu .group-header, 
.dark .header-inline-menu .main-menu ul li a {
    color: #e2e8f0 !important;
}
.dark .header-inline-menu .main-menu ul li:hover > a,
.dark .header-inline-menu .main-menu ul li:hover > .group-header {
    background-color: #374151 !important;
    color: #ffffff !important;
}
.dark .header-inline-menu .submenu {
    background-color: #1f2937 !important;
    border: 1px solid #374151 !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5) !important;
}
.dark .header-inline-menu .submenu li a {
    color: #d1d5db !important;
}
.dark .header-inline-menu .submenu li a:hover {
    background-color: #374151 !important;
    color: #ffffff !important;
}


@media (max-width: 1023px) {
    .header-inline-menu {
        display: none !important;
    }
    .full-width-nav-wrapper .px-6 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}
@media (max-width: 768px) {
    #assistant-sidebar { width: 100% !important; }
    body.assistant-open { padding-right: 0 !important; }
    .sidebar-resizer { display: none; }
    input, select, textarea {
        font-size: 16px !important;
    }
}

/* Popovers & Toasts */
.popover {
    position: absolute;
    z-index: 50;
    background: white;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    width: 320px;
    padding: 1rem;
    display: none;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #4b5563;
}
.popover.visible {
    display: block;
    animation: fadeIn 0.2s ease-out;
}
.popover h3 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #1f2937;
    color: #f3f4f6;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 100;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.founders-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
}
.founders-list-item:last-child { border-bottom: none; }
.founders-list-item:hover { background-color: #f9fafb; }

.tooltip {
    position: relative;
    cursor: pointer;
}
.tooltip .tooltip-content {
    visibility: hidden;
    width: 180px;
    background-color: #1f2937;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    margin-left: -90px;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    pointer-events: none;
    font-weight: normal;
    font-size: 0.85rem;
}
.tooltip:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
}
.tooltip .tooltip-content::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #1f2937 transparent transparent transparent;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: #f3f4f6;
    background-image: linear-gradient(to right, #f3f4f6 0%, #e5e7eb 20%, #f3f4f6 40%, #f3f4f6 100%);
    background-repeat: no-repeat;
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 4px;
    display: inline-block;
    color: transparent !important;
    user-select: none;
}
.skeleton-text {
    height: 1em;
    width: 60%;
}
.skeleton-number {
    height: 1.25em;
    width: 80px;
    vertical-align: middle;
}
.skeleton-box {
    width: 100%;
    height: 100%;
    min-height: 2.5rem;
}

/* Custom scrollbar & select inputs */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 20px;
}
.select-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

