@charset "utf-8";
/* Level submission pages (/tests/submit/). Builds on pukestyle.css. */

.pn-wrap { width: 920px; text-align: left; }
.pn-wrap p { margin: 8px 0; }
.pn-wrap h1 { margin: 10px 0 6px 0; }
.pn-wrap h2 { margin: 18px 0 8px 0; color: #FFCC00; }
.pn-wrap h3 { margin: 14px 0 6px 0; }
.pn-small { font-size: 12px; color: #BBBBBB; }
.pn-muted { color: #8E8E8E; }
.pn-nowrap { white-space: nowrap; }
.pn-right { text-align: right; }

.pn-box {
	background: rgba(59, 95, 134, 0.19);
	border-radius: 12px;
	padding: 6px 20px 16px 20px;
	margin: 16px 0;
}

/* Messages */
.pn-msg { border-radius: 8px; padding: 10px 14px; margin: 12px 0; font-size: 14px; line-height: 1.4; }
.pn-msg-ok { background: rgba(38, 150, 30, 0.30); border: 1px solid #26961E; }
.pn-msg-error { background: rgba(255, 0, 0, 0.19); border: 1px solid #C00; }
.pn-msg-warn { background: rgba(255, 102, 0, 0.18); border: 1px solid #F60; }
.pn-msg-info { background: rgba(59, 95, 134, 0.35); border: 1px solid #3B5F86; }
.pn-msg ul { margin: 4px 0 0 0; padding-left: 20px; }

/* Tables */
table.pn-table { border-collapse: collapse; width: 100%; font-size: 13px; }
table.pn-table th {
	text-align: left; padding: 5px 8px; color: #FFCC00;
	border-bottom: 2px solid #F60; white-space: nowrap;
}
table.pn-table td { padding: 5px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.10); vertical-align: middle; }
table.pn-table tr:hover td { background: rgba(0, 0, 0, 0.30); }
table.pn-table td.pn-thumbcell { width: 104px; padding: 3px 8px; }
table.pn-form td { padding: 5px 8px 5px 0; font-size: 14px; vertical-align: top; }
table.pn-form td.pn-label { width: 170px; padding-top: 8px; color: #DDDDDD; }

/* Badges */
.pn-badge {
	display: inline-block; padding: 2px 8px; border-radius: 10px;
	font-size: 11px; font-weight: bold; white-space: nowrap; color: #FFF;
}
.pn-new, .pn-approved { background: #26961E; }
.pn-queued { background: #1F7A5A; }
.pn-identical { background: #2E7D7D; }
.pn-server { background: #3B5F86; }
.pn-missing, .pn-rejected { background: #C00; }
.pn-conflict { background: #F60; }
.pn-pending { background: #B58900; }
.pn-withdrawn, .pn-info { background: #5A5A5A; }
.pn-warning { background: #A05000; }

/* Forms and buttons */
.pn-wrap input[type=text], .pn-wrap textarea {
	font: 14px arial, sans-serif; padding: 4px 6px; border: 1px solid #999; border-radius: 3px;
}
.pn-wrap textarea { resize: vertical; }
.pn-btn {
	background-color: #F60; border: 0; border-radius: 3px; color: #FFF;
	padding: 6px 18px; font-size: 14px; font-weight: bold; cursor: pointer;
	transition-duration: 0.3s; margin: 2px 4px 2px 0;
}
.pn-btn:hover { background-color: #FF9C5B; }
.pn-btn:disabled { background-color: #828282; cursor: not-allowed; }
.pn-btn-green { background-color: #26961E; }
.pn-btn-green:hover { background-color: #6BD364; }
.pn-btn-red { background-color: #B00000; }
.pn-btn-red:hover { background-color: #E04040; }
.pn-btn-grey { background-color: #5A5A5A; }
.pn-btn-grey:hover { background-color: #7A7A7A; }
.pn-btn-small { padding: 3px 10px; font-size: 12px; }
.pn-linkbtn { background: none; border: 0; color: #FFCC00; cursor: pointer; font: inherit; padding: 0; }
.pn-linkbtn:hover { color: #C00; }

/* Thumbnails */
.pn-thumb { width: 200px; height: 150px; border: 1px solid #555; background: #111; display: block; }
.pn-thumb-small { width: 100px; height: 75px; border: 1px solid #444; background: #111; display: block; }
.pn-thumbs { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.pn-thumbs figure { margin: 0; }
.pn-thumbs figcaption { font-size: 12px; color: #BBB; margin-top: 4px; max-width: 220px; }

/* Map picker */
.pn-map-scroll {
	max-width: 920px; max-height: 460px; overflow: auto;
	border: 1px solid #555; background: #1A1A22; margin: 8px 0;
}
.pn-map { position: relative; display: inline-block; cursor: crosshair; line-height: 0; }
.pn-map img { display: block; image-rendering: pixelated; }
.pn-map-view {
	position: absolute; border: 2px solid #FFCC00; box-shadow: 0 0 0 1px #000;
	pointer-events: none; box-sizing: border-box;
}
.pn-map-start {
	position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px;
	border-radius: 50%; background: #FF00FF; border: 1px solid #FFF; pointer-events: none;
}

/* Script viewer */
details.pn-script { margin: 8px 0; }
details.pn-script summary { cursor: pointer; font-size: 14px; padding: 4px 0; }
.pn-code {
	background: #0E0E12; border: 1px solid #444; border-radius: 4px;
	max-height: 520px; overflow: auto; margin: 6px 0;
	font: 12px Consolas, "Lucida Console", "Courier New", monospace; line-height: 1.45;
	white-space: pre; color: #DCDCDC; text-align: left;
}
.pn-code .ln { display: block; padding-right: 10px; }
.pn-code .no { display: inline-block; width: 46px; padding-right: 10px; text-align: right; color: #666; user-select: none; }
.pn-code .note { background: rgba(255, 204, 0, 0.18); }
.pn-code .note::after { content: attr(data-note); color: #FFCC00; margin-left: 16px; font-style: italic; }
.pn-text { white-space: pre-wrap; font: 12px Consolas, "Courier New", monospace; background: #0E0E12; border: 1px solid #444; padding: 8px; max-height: 300px; overflow: auto; }

.pn-preview-name { font-size: 14px; text-align: center; color: #FFF; margin-top: 6px; line-height: 1.3; }
