/* assets/css/admin.css - Modern Responsive Admin Panel Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
    --admin-bg: #f8fafc;
    --sidebar-bg: #0f172a;
}

html, body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--admin-bg);
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

[x-cloak] {
    display: none !important;
}

/* Smooth custom scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.25);
}

.sidebar-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.45);
}

/* Modern Form Controls */
.admin-input {
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    color: #0f172a;
    transition: all 0.18s ease;
}

.admin-input:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}

.admin-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 0.375rem;
}

/* Card hover elevation */
.kpi-card {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.08);
}

/* Google Places Autocomplete dropdown above modals/headers */
.pac-container {
    z-index: 9999 !important;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12);
    margin-top: 4px;
    font-family: 'Inter', sans-serif;
}

/* TinyMCE responsive fix */
.tox-tinymce {
    border-radius: 0.75rem !important;
    border-color: #e2e8f0 !important;
    max-width: 100% !important;
}

/* Mobile body lock when drawer is open */
body.drawer-open {
    overflow: hidden;
}
