.sibro-category-mapping-container .postbox {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.overview-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.sibro-category-mapping-container .postbox-header {
   padding: 14px;
}

.sibro-category-mapping-container .postbox-header h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.sibro-category-mapping-container .postbox-header .dashicons {
    font-size: 18px;
    color: #3498db;
}

.overview-description {
    margin-bottom: 25px;
}

.overview-description p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.sibro-mapping-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.stat-box {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.stat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.total-categories .stat-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.mapped-categories .stat-icon {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
}

.progress-box .stat-icon {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.stat-icon .dashicons {
    font-size: 20px;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: #7f8c8d;
    margin-top: 4px;
    font-weight: 500;
}

.progress-bar-container {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
}

.progress-bar {
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-size: 13px;
    color: #7f8c8d;
    font-weight: 500;
}

.sibro-category-mapping-container .form-table th {
    width: 200px;
}

.sibro-category-mapping-container .form-table select {
    min-width: 300px;
}

.sibro-category-mapping-container .wp-list-table th,
.sibro-category-mapping-container .wp-list-table td {
    padding: 12px;
}

.sibro-category-mapping-container .wp-list-table .count {
    background: #dbeafe;
    color: #1e40af;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.edit-mapping,
.delete-mapping {
    margin-right: 5px;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

#category[disabled],
#sub_category[disabled] {
    background-color: #f1f1f1;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sibro-mapping-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-box {
        padding: 15px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .stat-icon .dashicons {
        font-size: 16px;
    }
    
    .stat-number {
        font-size: 20px;
    }
}
