/* Prubit Admin Panel Theme - Matches Website Styling */

/* Use Urbanist font family */
.fi-body {
    font-family: 'Urbanist', system-ui, -apple-system, sans-serif !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom primary color adjustments */
.fi-btn-color-primary {
    background-color: #2563eb;
}
.fi-btn-color-primary:hover {
    background-color: #1d4ed8;
}

/* Sidebar styling to match website clean look */
.fi-sidebar {
    background-color: #ffffff;
    border-right: 1px solid #e5e7eb;
}
.dark .fi-sidebar {
    background-color: #1a1a2e;
    border-right-color: #374151;
}

.fi-sidebar-item-btn {
    border-radius: 0.5rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.fi-sidebar-item-btn:hover {
    background-color: #eff6ff;
    color: #1d4ed8;
}
.dark .fi-sidebar-item-btn:hover {
    background-color: #1e3a5f;
    color: #93c5fd;
}

.fi-sidebar-item-active .fi-sidebar-item-btn {
    background-color: #dbeafe;
    color: #1d4ed8;
}
.dark .fi-sidebar-item-active .fi-sidebar-item-btn {
    background-color: #1e3a5f;
    color: #93c5fd;
}

/* Header styling */
.fi-topbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}
.dark .fi-topbar {
    background-color: #1a1a2e;
    border-bottom-color: #374151;
}

/* Card styling */
.fi-section {
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    border: 1px solid #e5e7eb;
}
.dark .fi-section {
    border-color: #374151;
}

/* Form inputs */
.fi-input {
    border-radius: 0.5rem;
    border-color: #d1d5db;
}
.fi-input:focus {
    border-color: #3b82f6;
    --tw-ring-color: #3b82f6;
}

/* Tables */
.fi-ta-table {
    border-radius: 0.5rem;
    overflow: hidden;
}

.fi-ta-row:hover {
    background-color: rgb(239 246 255 / 0.5);
}
.dark .fi-ta-row:hover {
    background-color: rgb(30 58 95 / 0.5);
}

/* Buttons */
.fi-btn {
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
}

.fi-btn-size-md {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Navigation groups */
.fi-sidebar-group-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.dark .fi-sidebar-group-label {
    color: #9ca3af;
}

/* Logo styling */
.fi-logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    color: #111827;
}
.dark .fi-logo {
    color: #f3f4f6;
}

/* Page heading */
.fi-header-heading {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #111827;
}
.dark .fi-header-heading {
    color: #f3f4f6;
}

/* Breadcrumbs */
.fi-breadcrumbs-item {
    font-size: 0.875rem;
    color: #4b5563;
}
.dark .fi-breadcrumbs-item {
    color: #9ca3af;
}

.fi-breadcrumbs-item-active {
    color: #2563eb;
    font-weight: 500;
}
.dark .fi-breadcrumbs-item-active {
    color: #60a5fa;
}

/* Notifications */
.fi-notification {
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Modal */
.fi-modal-window {
    border-radius: 1rem;
}

/* Tabs */
.fi-tabs-tab {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    font-weight: 500;
    color: #4b5563;
}
.dark .fi-tabs-tab {
    color: #9ca3af;
}
.fi-tabs-tab:hover {
    color: #2563eb;
}
.dark .fi-tabs-tab:hover {
    color: #60a5fa;
}

.fi-tabs-tab-active {
    color: #2563eb;
    border-bottom: 2px solid #2563eb;
}
.dark .fi-tabs-tab-active {
    color: #60a5fa;
    border-bottom-color: #60a5fa;
}

/* Badges */
.fi-badge {
    border-radius: 9999px;
    font-weight: 500;
}

/* Dropdown */
.fi-dropdown-panel {
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    border: 1px solid #e5e7eb;
}
.dark .fi-dropdown-panel {
    border-color: #374151;
}

/* Empty state */
.fi-empty-state-icon {
    color: #3b82f6;
}

/* Loading states */
.fi-loading-section {
    background-color: #f9fafb;
    border-radius: 0.75rem;
}
.dark .fi-loading-section {
    background-color: #1f2937;
}
