/* ProShield Custom CSS Styles - Bootstrap 5 Compatible */

/* Custom Bootstrap overrides */
.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
}

.display-6 {
    font-weight: 600;
}

/* Custom button hover effects */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Custom card shadows */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Tabulator Bootstrap 5 Theme Customization */
.tabulator {
    border: none;
    border-radius: 0.375rem;
    overflow: hidden;
}

/* .tabulator .tabulator-header {
    background: var(--bs-primary);
    border-bottom: 1px solid var(--bs-primary);
}

.tabulator .tabulator-header .tabulator-col {
    background: transparent;
    color: white;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.tabulator .tabulator-header .tabulator-col:hover {
    background: rgba(255, 255, 255, 0.1);
} */

.tabulator .tabulator-row {
    border-bottom: 1px solid #dee2e6;
}

.tabulator .tabulator-row:hover {
    background-color: #f8f9fa;
}

.tabulator .tabulator-cell {
    border-right: 1px solid #dee2e6;
    padding: 0.75rem 0.5rem;
    vertical-align: middle;
}

.tabulator .tabulator-row:nth-child(even) {
    background-color: #f8f9fa;
}

.tabulator .tabulator-row:nth-child(even):hover {
    background-color: #e9ecef;
}

/* Custom status and badge styles */
.status-active {
    color: var(--bs-success);
    font-weight: 500;
}

.status-inactive {
    color: var(--bs-danger);
    font-weight: 500;
}

.price-value {
    font-weight: 500;
    color: var(--bs-success);
}

.dept-customer {
    background: var(--bs-info);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.dept-dealer {
    background: var(--bs-warning);
    color: var(--bs-dark);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Custom toast styling */
.toast {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Loading spinner for table */
.table-loading {
    text-align: center;
    padding: 2rem;
    color: var(--bs-secondary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-6 {
        font-size: 1.75rem;
    }
    
    /* .btn {
        margin-bottom: 0.5rem;
    } */
    
    .tabulator .tabulator-cell {
        padding: 0.5rem 0.25rem;
        font-size: 0.875rem;
    }
}

/* Mobile and tablet styles for mobile pages */
@media (max-width: 991.98px) {
    /* Ensure proper spacing for mobile pages */
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Mobile card styling */
    .card {
        margin-bottom: 1rem;
        border-radius: 0.5rem;
    }
    
    /* Mobile button styling */
    .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    /* Mobile form styling */
    .form-control, .form-select {
        font-size: 1rem; /* Prevents zoom on iOS */
    }
    
    /* Mobile modal adjustments */
    .modal-dialog {
        margin: 1rem;
    }
    
    /* Ensure bottom navbar is visible */
    .navbar.fixed-bottom {
        z-index: 1030;
    }
}

