/**
 * PK Core admin styles - PublisherKits admin design standard (Style A):
 * navy band page header, section cards, structured fields, guidance sidebar.
 * Palette: navy #1a2d4a, blue #4a7fc1, borders #d0e0f0, secondary #5a6a7a,
 * admin accent #1e40af. The core is the platform itself, so the band name
 * accent is brand blue (plugins use their own identity colours).
 */

.pkcore-wrap {
	font-family: "Source Sans 3", "Source Sans Pro", -apple-system, sans-serif;
	color: #1a2d4a;
	max-width: 1100px;
}

/* --- Navy band page header (Style A) --- */
.pkcore-band {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #1a2d4a;
	color: #fff;
	padding: 16px 20px;
	margin: 20px 0 24px;
	border-radius: 4px;
}
.pkcore-mark {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	line-height: 36px;
	text-align: center;
	border: 2px solid #e8f0f8;
	border-radius: 8px;
	color: #fff;
	font-family: "Roboto Slab", serif;
	font-weight: 700;
	font-size: 15px;
}
.pkcore-band-eyebrow {
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.pkcore-band-kicker { color: rgba(255, 255, 255, 0.6); }
.pkcore-band-sep { color: rgba(255, 255, 255, 0.35); margin: 0 4px; }
.pkcore-band-name { color: #4a7fc1; font-weight: 600; text-transform: none; font-size: 12px; letter-spacing: 0.4px; }
.pkcore-band-title {
	font-family: "Roboto Slab", serif;
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	margin: 2px 0 0;
	padding: 0;
	line-height: 1.3;
}
.pkcore-band-subtitle {
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
	margin: 4px 0 0;
}

/* --- Layout: main column + guidance sidebar --- */
.pkcore-layout { display: flex; gap: 24px; align-items: flex-start; }
.pkcore-main { flex: 1 1 auto; max-width: 720px; min-width: 0; }
.pkcore-sidebar { flex: 0 0 240px; }
.pkcore-sidebar-card {
	background: #f6f9fc;
	border: 1px solid #d0e0f0;
	border-radius: 8px;
	padding: 16px 18px;
	font-size: 13px;
	color: #5a6a7a;
}
.pkcore-sidebar-card h3 {
	font-family: "Roboto Slab", serif;
	font-size: 13px;
	color: #1a2d4a;
	margin: 0 0 8px;
}

/* --- Section cards --- */
.pkcore-card {
	background: #fff;
	border: 1px solid #d0e0f0;
	border-radius: 8px;
	padding: 20px 24px;
	margin-bottom: 20px;
}
.pkcore-card-title {
	font-family: "Roboto Slab", serif;
	font-size: 15px;
	font-weight: 600;
	color: #1a2d4a;
	margin: 0 0 4px;
}
.pkcore-card-description {
	font-size: 13px;
	color: #5a6a7a;
	margin: 0 0 16px;
}

/* --- Fields --- */
.pkcore-field { margin-bottom: 16px; }
.pkcore-field label,
.pkcore-field .pkcore-field-label {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	font-size: 11px;
	font-weight: 700;
	color: #1a2d4a;
	margin-bottom: 4px;
}
.pkcore-field-description {
	font-size: 12px;
	color: #5a6a7a;
	margin: 4px 0 0;
}
.pkcore-input,
.pkcore-select {
	width: 100%;
	max-width: 460px;
	border: 1px solid #d0e0f0;
	border-radius: 5px;
	padding: 6px 10px;
}
.pkcore-input:focus,
.pkcore-select:focus {
	border-color: #4a7fc1;
	box-shadow: 0 0 0 1px #4a7fc1;
	outline: none;
}
.pkcore-input-short { max-width: 200px; }
.pkcore-check { display: block; margin: 4px 0; font-size: 13px; text-transform: none; }
.pkcore-check input { margin-right: 6px; }

/* --- Status + topics tables --- */
.pkcore-status-table { border-collapse: collapse; margin-bottom: 14px; }
.pkcore-status-table th {
	text-align: left;
	padding: 4px 16px 4px 0;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: #1a2d4a;
	vertical-align: top;
	white-space: nowrap;
}
.pkcore-status-table td { padding: 4px 0; font-size: 13px; }
.pkcore-topics-table { width: 100%; border-collapse: collapse; }
.pkcore-topics-table td { padding: 6px 8px 6px 0; border-bottom: 1px solid #eef4fa; font-size: 13px; }
.pkcore-topics-table td.pkcore-actions { text-align: right; white-space: nowrap; }

.pkcore-topic-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid #eef4fa;
}
.pkcore-topic-row:last-child { border-bottom: 0; }
.pkcore-topic-row-fixed { color: #1a2d4a; font-size: 13px; gap: 10px; }
.pkcore-topic-main { display: flex; gap: 8px; flex: 1 1 380px; min-width: 0; }
.pkcore-topic-label { flex: 0 1 180px; }
.pkcore-topic-keywords { flex: 1 1 200px; }
.pkcore-topic-controls { display: flex; gap: 6px; align-items: center; flex: 0 0 auto; }
.pkcore-inline-form { display: inline-flex; gap: 8px; align-items: center; margin: 6px 0; }

.pkcore-muted { color: #5a6a7a; font-size: 12px; }
.pkcore-steps { font-size: 12px; text-transform: uppercase; letter-spacing: 0.4px; color: #5a6a7a; }
.pkcore-topic-preview { columns: 2; margin: 0 0 12px; font-size: 13px; }
.pkcore-topic-preview li { margin: 2px 0; }
.pkcore-upsell {
	background: #f6f9fc;
	border-left: 3px solid #4a7fc1;
	padding: 10px 14px;
	font-size: 13px;
	color: #1a2d4a;
	margin: 14px 0 0;
}

@media screen and (max-width: 960px) {
	.pkcore-layout { flex-direction: column; }
	.pkcore-sidebar { flex-basis: auto; width: 100%; }
}
