.wpcfm-wrap {
    max-width: 1200px;
}

.wpcfm-wrap .form-table th {
    width: 300px;
}

.wpcfm-wrap .nav-tab-wrapper {
    margin-bottom: 20px;
}

/* Stats Panel */
.wpcfm-stats-panel {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.wpcfm-stat-box {
    background: #fff;
    border: 1px solid #c3c4c7;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    padding: 20px 30px;
    text-align: center;
    min-width: 140px;
    flex: 1;
}

.wpcfm-stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #2271b1;
    line-height: 1.2;
}

.wpcfm-stat-label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-top: 5px;
}

/* Bulk Actions */
.wpcfm-bulk-actions {
    background: #fff;
    padding: 25px;
    border: 1px solid #c3c4c7;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

.wpcfm-bulk-actions h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
}

.wpcfm-action-row {
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.wpcfm-action-row:last-of-type {
    border-bottom: none;
}

.wpcfm-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wpcfm-buttons .button {
    min-height: 36px;
    padding: 0 20px;
}

/* Progress Bar */
.wpcfm-progress-bar {
    background: #f0f0f0;
    height: 32px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #ddd;
}

#wpcfm-progress-fill {
    background: linear-gradient(90deg, #2271b1, #4f94d4);
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
}

#wpcfm-status {
    font-weight: 500;
    color: #333;
    margin-top: 10px;
    font-size: 14px;
}

#wpcfm-detail {
    color: #666;
    font-size: 13px;
    margin-top: 5px;
}

/* Log */
#wpcfm-log {
    font-family: monospace;
    font-size: 12px;
    line-height: 1.5;
}

#wpcfm-log .log-success {
    color: #2271b1;
}

#wpcfm-log .log-error {
    color: #d63638;
}

#wpcfm-log .log-info {
    color: #666;
}

/* Format availability badges */
.wpcfm-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
}

.wpcfm-badge-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wpcfm-badge-no {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
