.rsb-monitor-wrap {
	font-family: system-ui, sans-serif;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* ── Filtre formu ── */

.rsb-monitor-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
	background: #fff;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
	margin-bottom: 20px;
}

.rsb-monitor-filters label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
	font-weight: 500;
	color: #374151;
}

.rsb-monitor-filters select,
.rsb-monitor-filters input[type="datetime-local"],
.rsb-monitor-filters input[type="text"],
.rsb-monitor-filters button,
.rsb-monitor-filters .button {
	height: 40px;
	padding: 0 14px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-family: inherit;
	font-size: 14px;
	line-height: 38px;
	box-sizing: border-box;
	background: #fff;
	color: #1e293b;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rsb-monitor-filters select {
	min-width: 180px;
	padding-right: 28px;
	appearance: auto;
}

.rsb-monitor-filters input[type="datetime-local"] {
	min-width: 200px;
}

.rsb-monitor-filters select:focus,
.rsb-monitor-filters input[type="datetime-local"]:focus,
.rsb-monitor-filters input[type="text"]:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.rsb-monitor-filters button,
.rsb-monitor-filters .button {
	background: #1e293b;
	color: #fff;
	border-color: #1e293b;
	font-weight: 600;
	line-height: 38px;
}

.rsb-monitor-filters button:hover,
.rsb-monitor-filters .button:hover {
	background: #334155;
	border-color: #334155;
}

/* ── Tablo ── */

.rsb-monitor-table {
	width: 100%;
	min-width: 720px;
	margin-top: 0;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	border-collapse: collapse;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.rsb-monitor-wrap .rsb-monitor-table thead th {
	background: #1e293b;
	color: #fff;
	padding: 12px 16px;
	font-size: 13px;
	font-weight: 600;
	text-align: left;
	border: none;
	white-space: nowrap;
}

.rsb-monitor-wrap .rsb-monitor-table tbody td {
	padding: 10px 16px;
	vertical-align: middle;
	border-bottom: 1px solid #e2e8f0;
	font-size: 14px;
	color: #1e293b;
}

.rsb-monitor-wrap .rsb-monitor-table tbody tr:last-child td {
	border-bottom: none;
}

.rsb-monitor-wrap .rsb-monitor-table tbody tr:nth-child(even) {
	background: #f8fafc;
}

.rsb-monitor-wrap .rsb-monitor-table tbody tr:hover {
	background: #eff6ff;
}

/* wp-list-table override (admin) */
.rsb-monitor-wrap .rsb-monitor-table.widefat {
	border: none;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.rsb-monitor-wrap .rsb-monitor-table.striped > tbody > tr:nth-child(odd) {
	background: #fff;
}

.rsb-monitor-wrap .rsb-monitor-table.striped > tbody > tr:nth-child(even) {
	background: #f8fafc;
}

.rsb-monitor-wrap .rsb-monitor-table.striped > tbody > tr:hover {
	background: #eff6ff;
}

/* ── Kolon stilleri ── */

.rsb-monitor-table td:nth-child(1) {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 13px;
	color: #64748b;
	white-space: nowrap;
}

.rsb-monitor-table td:nth-child(2) {
	font-weight: 600;
}

.rsb-monitor-table td:nth-child(5) {
	color: #374151;
}

.rsb-monitor-table td:nth-child(6) {
	font-weight: 700;
	color: #059669;
	white-space: nowrap;
}

/* ── Kullanıcı kolonu ── */

.rsb-user-cell {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.rsb-user-name {
	font-weight: 700;
	color: #1e293b;
	line-height: 1.3;
}

.rsb-user-email {
	font-size: 12px;
	color: #64748b;
	line-height: 1.3;
}

/* ── Badge'ler ── */

.rsb-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	white-space: nowrap;
	line-height: 1.4;
}

.rsb-badge-yeni_uye {
	background-color: #3b82f6;
}

.rsb-badge-rezervasyon {
	background-color: #22c55e;
}

.rsb-badge-iptal {
	background-color: #ef4444;
}

.rsb-badge-kredi,
.rsb-badge-kredi_transfer {
	background-color: #eab308;
	color: #000;
}

.rsb-badge-paket {
	background-color: #8b5cf6;
}

.rsb-badge-multisport {
	background-color: #f97316;
}

.rsb-badge-etkinlik {
	background-color: #06b6d4;
}

.rsb-badge-odeme {
	background-color: #10b981;
}

/* ── Diğer ── */

.rsb-monitor-countdown {
	text-align: right;
	font-size: 13px;
	color: #64748b;
	margin-bottom: 8px;
}

.rsb-monitor-countdown span {
	font-weight: 700;
	color: #3b82f6;
}

.rsb-monitor-refresh-note {
	margin-top: 16px;
	color: #64748b;
	font-size: 13px;
	font-style: italic;
}
