#rdmt4-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.rdmt4-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}
.rdmt4-controls { display: flex; gap: 15px; align-items: center; }
.rdmt4-checkbox { font-size: 13px; font-weight: 500; cursor: pointer; display: flex; align-items: center;}
.rdmt4-checkbox input { margin-right: 5px; }
#rdmt4-search-input { padding: 8px; width: 250px; border: 1px solid #ddd; border-radius: 4px; }

.rdmt4-stats-bar {
    background: #f8f9fa; padding: 10px 15px; border: 1px solid #eee; border-radius: 4px;
    margin-bottom: 15px; font-size: 14px; color: #444; display: flex; gap: 20px;
}
.stat-num { font-weight: bold; color: #0073aa; margin-left: 2px; }
.stat-divider { color: #ccc; }

.rdmt4-table-responsive { overflow-x: auto; }
.rdmt4-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.rdmt4-table th, .rdmt4-table td { text-align: left; padding: 10px; border-bottom: 1px solid #eee; vertical-align: middle; font-size: 13px; }
.rdmt4-table th { background: #f9f9f9; font-weight: 600; color: #555; }

.rdmt4-click-copy { cursor: pointer; border-bottom: 1px dashed #ccc; transition:0.2s;}
.rdmt4-click-copy:hover { color: #0073aa; border-bottom-color: #0073aa; background: #f0f7fc; }

.rdmt4-actions { white-space: nowrap; display: flex; gap: 4px; align-items: center;}
.rdmt4-icon-btn {
    background: #f0f0f1; border: 1px solid #ccc; color: #333;
    width: 28px; height: 28px; border-radius: 4px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}
.rdmt4-icon-btn:hover { background: #e5e5e5; border-color: #999; }
.btn-vps { color: #2271b1; border-color: #2271b1; background: #f6f7f7;}
.btn-edit { color: #d63638; }

#rdmt4-toast {
    visibility: hidden; min-width: 150px; background-color: #333; color: #fff;
    text-align: center; border-radius: 4px; padding: 8px; position: fixed;
    z-index: 9999; bottom: 30px; left: 50%; transform: translateX(-50%);
    font-size: 13px; opacity: 0; transition: opacity 0.3s;
}
#rdmt4-toast.show { visibility: visible; opacity: 1; }

.rdmt4-modal { display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }
.rdmt4-modal-content { background: #fff; margin: 5% auto; padding: 25px; width: 90%; max-width: 600px; border-radius: 8px; position: relative; }
.rdmt4-close-modal { float: right; font-size: 24px; cursor: pointer; }
.rdmt4-row { display: flex; gap: 20px; margin-top: 15px; }
.rdmt4-col { flex: 1; }
.rdmt4-col input { width: 100%; margin-bottom: 8px; padding: 6px; border:1px solid #ccc; border-radius:3px; }
.rdmt4-btn-save { background: #0073aa; color: white; border: none; padding: 8px 15px; border-radius: 4px; cursor: pointer; float: right; }
.rdmt4-btn-unassign { background: #ff9800; color: white; border: none; padding: 5px 10px; cursor: pointer; font-size: 11px; border-radius: 3px; margin-top: 5px;}

.dashicons-update.spin { animation: rdmt4-spin 1s infinite linear; }
@keyframes rdmt4-spin { 100% { transform: rotate(360deg); } }