.wupb-portal {
	background: #0b1120;
	color: #e2e8f0;
	border: 1px solid #1e293b;
	border-radius: 14px;
	padding: 24px;
	margin: 20px 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.wupb-portal-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 20px;
}

.wupb-portal-header h2 {
	color: #f8fafc;
	margin: 8px 0 6px;
	font-size: 1.45rem;
}

.wupb-portal-header p {
	color: #94a3b8;
	margin: 0;
}

.wupb-pill {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	background: rgba(37, 99, 235, 0.2);
	color: #60a5fa;
	border: 1px solid rgba(59, 130, 246, 0.35);
	padding: 3px 10px;
	border-radius: 999px;
}

.wupb-agent-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	border-radius: 999px;
	background: #111c33;
	border: 1px solid #334155;
	font-size: 13px;
}

.wupb-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #f59e0b;
}

.wupb-agent-status[data-state="online"] .wupb-dot {
	background: #10b981;
}

.wupb-step-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	margin-bottom: 16px;
}

.wupb-box {
	background: #111c33;
	border: 1px solid #1e293b;
	border-radius: 10px;
	padding: 18px;
}

.wupb-box h3 {
	color: #f8fafc;
	margin: 0 0 10px;
	font-size: 1.05rem;
}

.wupb-field {
	margin-bottom: 14px;
}

.wupb-field label {
	display: block;
	font-size: 13px;
	color: #cbd5e1;
	margin-bottom: 6px;
}

.wupb-input-group {
	display: flex;
	gap: 8px;
}

.wupb-portal input[type="text"],
.wupb-portal select {
	width: 100%;
	background: #0b1120;
	color: #f8fafc;
	border: 1px solid #334155;
	border-radius: 7px;
	padding: 9px 11px;
	font-size: 14px;
}

.wupb-help {
	display: block;
	color: #94a3b8;
	margin-top: 6px;
	font-size: 12px;
}

.wupb-help a {
	color: #38bdf8;
}

.wupb-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.wupb-portal .wupb-btn {
	display: inline-block;
	padding: 9px 14px;
	border-radius: 7px;
	border: 1px solid #334155;
	background: #1e293b;
	color: #f8fafc;
	text-decoration: none;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.wupb-portal .wupb-btn-primary {
	background: #2563eb;
	border-color: #2563eb;
}

.wupb-portal .wupb-btn-block {
	width: 100%;
	text-align: center;
}

.wupb-radmin-box {
	margin-bottom: 16px;
}

.wupb-meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 13px;
}

.wupb-meta-row code {
	background: #0b1120;
	color: #38bdf8;
	padding: 2px 6px;
	border-radius: 4px;
}

.wupb-console {
	background: #020617;
	border: 1px solid #1e293b;
	border-radius: 8px;
	padding: 12px 14px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12.5px;
	color: #93c5fd;
	max-height: 180px;
	overflow-y: auto;
	line-height: 1.55;
}

.wupb-btn-row-os {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
}

.wupb-btn-row-os .wupb-btn {
	flex: 1 1 auto;
	text-align: center;
	padding: 9px 10px;
}

.wupb-remote-assist {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #1e293b;
}

.wupb-remote-text {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.5;
	color: #cbd5e1;
}

.wupb-portal .wupb-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
}

.wupb-os-icon,
.wupb-wa-icon {
	flex-shrink: 0;
	display: inline-block;
	vertical-align: middle;
}

.wupb-portal .wupb-btn-wa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	box-sizing: border-box;
	background: #16a34a;
	border-color: #22c55e;
	color: #ffffff;
	margin-bottom: 10px;
	font-weight: 700;
	letter-spacing: 0.2px;
}

.wupb-portal .wupb-btn-wa:hover {
	background: #15803d;
	border-color: #4ade80;
	color: #ffffff;
}
