.wbm-container {
    font-family: 'IRANSans', Tahoma, sans-serif;
    direction: rtl;
    text-align: right;
}

.wbm-sidebar .nav-link {
    border-radius: 8px;
    margin-bottom: 5px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    color: #333;
}

.wbm-sidebar .nav-link:hover {
    background: linear-gradient(45deg, #9C27B0, #3F51B5);
    color: white !important;
}

.wbm-sidebar .nav-link.active {
    background: linear-gradient(45deg, #9C27B0, #3F51B5);
    color: white !important;
    font-weight: bold;
}

.wbm-sidebar .nav-link i {
    margin-left: 8px;
    width: 20px;
    display: inline-block;
}

.wbm-sidebar .nav-section h6 {
    padding: 10px 15px 5px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#products-table,
#price-table,
#stock-table,
#grouping-table,
#grading-table,
#leasing-table {
    font-size: 14px;
}

#products-table thead th,
#price-table thead th,
#stock-table thead th,
#grouping-table thead th,
#grading-table thead th,
#leasing-table thead th {
    font-weight: 600;
    background: #f8f9fa;
}

#products-table tbody tr:hover,
#price-table tbody tr:hover,
#stock-table tbody tr:hover,
#grouping-table tbody tr:hover,
#grading-table tbody tr:hover,
#leasing-table tbody tr:hover {
    background: #f0f0f0;
}

#products-table img,
#price-table img,
#stock-table img,
#grouping-table img,
#grading-table img {
    border-radius: 4px;
    border: 1px solid #ddd;
    object-fit: cover;
}

.btn-gradient {
    background: linear-gradient(45deg, #9C27B0, #3F51B5);
    border: none;
    color: white;
}

.btn-gradient:hover {
    background: linear-gradient(45deg, #7B1FA2, #303F9F);
    color: white;
}

.card {
    border: none;
    border-radius: 10px;
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
}

.progress {
    height: 25px;
    border-radius: 15px;
}

.modal-content {
    border-radius: 15px;
}

.wbm-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #9C27B0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.page-header h3 {
    color: #333;
    font-weight: 600;
}

.page-header h3 i {
    margin-left: 10px;
    color: #9C27B0;
}

.bulk-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.table-responsive {
    overflow-x: auto;
}

.text-success {
    color: #4CAF50 !important;
}

.text-warning {
    color: #FF9800 !important;
}

.text-danger {
    color: #F44336 !important;
}

.text-info {
    color: #2196F3 !important;
}

input[type="text"].form-control,
input[type="number"].form-control,
select.form-select,
textarea.form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px 12px;
    background: #fff;
    transition: all 0.3s ease;
}

input[type="text"].form-control:focus,
input[type="number"].form-control:focus,
select.form-select:focus,
textarea.form-control:focus {
    border-color: #9C27B0;
    box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1);
}

.btn {
    border-radius: 5px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.btn i {
    margin-left: 5px;
}

.alert {
    border-radius: 8px;
}

.list-group-item {
    border-radius: 5px;
    margin-bottom: 5px;
}

.badge {
    padding: 5px 10px;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .wbm-sidebar {
        margin-bottom: 20px;
    }
    
    .bulk-actions {
        flex-direction: column;
    }
    
    .bulk-actions .btn {
        width: 100%;
    }
}