/* Partner dashboard (shortcode) */
.ic-pd-wrap {
	max-width: 960px;
	margin: 0 auto;
	padding: 1rem 0 2rem;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: #1a1a1a;
}

.ic-pd-header {
	margin-bottom: 1.25rem;
}

.ic-pd-title {
	margin: 0 0 0.35rem;
	font-size: 1.5rem;
	color: #2e7d32;
}

.ic-pd-welcome {
	margin: 0;
	color: #555;
	font-size: 0.95rem;
}

.ic-pd-logout {
	margin: 0.5rem 0 0;
	font-size: 0.9rem;
}

.ic-pd-logout a {
	color: #666;
}

.ic-pd-allapot {
	max-width: 11rem;
	font-size: 0.85rem;
	padding: 0.35rem 0.5rem;
	border-radius: 6px;
	border: 1px solid #ccc;
	font-family: inherit;
	background: #fff;
}

.ic-pd-allapot:disabled {
	opacity: 0.6;
}

.ic-pd-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
	border-bottom: 2px solid #e0e0e0;
	padding-bottom: 0.5rem;
}

.ic-pd-tab {
	background: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 8px 8px 0 0;
	padding: 0.55rem 1rem;
	font-size: 0.95rem;
	cursor: pointer;
	font-family: inherit;
}

.ic-pd-tab:hover {
	background: #eee;
}

.ic-pd-tab.is-active {
	background: #fff;
	border-bottom-color: #fff;
	margin-bottom: -2px;
	padding-bottom: calc(0.55rem + 2px);
	font-weight: 600;
	color: #2e7d32;
	border-color: #2e7d32 #2e7d32 #fff;
}

.ic-pd-panel[hidden] {
	display: none !important;
}

.ic-pd-panel:not([hidden]) {
	display: block;
}

.ic-pd-help {
	font-size: 0.9rem;
	color: #666;
	margin: 0 0 1rem;
	line-height: 1.5;
}

.ic-pd-loading,
.ic-pd-error,
.ic-pd-empty {
	padding: 1rem;
	text-align: center;
	color: #666;
}

.ic-pd-error {
	color: #c62828;
}

.ic-pd-table-wrap {
	overflow-x: auto;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background: #fff;
}

.ic-pd-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.88rem;
}

.ic-pd-table th,
.ic-pd-table td {
	padding: 0.65rem 0.75rem;
	text-align: left;
	border-bottom: 1px solid #eee;
	vertical-align: top;
}

.ic-pd-table th {
	background: #f9f9f9;
	font-weight: 600;
	color: #444;
	white-space: nowrap;
}

.ic-pd-table tr:last-child td {
	border-bottom: none;
}

.ic-pd-table a {
	color: #2e7d32;
}

.ic-pd-desc {
	max-width: 220px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: help;
}

.ic-pd-badge {
	display: inline-block;
	font-size: 0.75rem;
	padding: 0.15rem 0.45rem;
	border-radius: 4px;
	background: #e8f5e9;
	color: #1b5e20;
}

.ic-pd-badge.is-warn {
	background: #fff3e0;
	color: #e65100;
}

.ic-pd-guest .button,
.ic-pd-deny {
	padding: 0.5rem 0;
}

/* Profil shortcode illesztése */
.ic-pd-panel .ic-profile {
	margin-top: 0.5rem;
}
