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

.sl-wrap { max-width: 920px; width: 100%; box-sizing: border-box; padding: 0 16px; margin: 0 auto; text-align: left; font-size: 14px; line-height: 1.5; }
.sl-wrap p { margin: 8px 0; font-size: 14px; }
.sl-wrap h2 { margin: 26px 0 10px 0; font-size: 20px; color: #FFCC00; }
.sl-wrap h3 { margin: 16px 0 6px 0; }
.sl-wrap .sl-title { margin: 18px 0 2px 0; font-size: 30px; line-height: 1.2; color: #FFF; }
.sl-wrap .sl-lead { margin: 0 0 16px 0; font-size: 16px; color: #DDD; }
.sl-wrap .sl-small, .sl-small { font-size: 12px; color: #BBB; }
.sl-muted { color: #8E8E8E; }
.sl-nowrap { white-space: nowrap; }
.sl-hl { color: #FFCC00; }
.sl-warn-text { color: #FFB060; }
.sl-link { color: #FFCC00; text-decoration: underline; }

/* Boxes */
.sl-card {
	background: rgba(12, 16, 24, 0.82);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 14px;
	padding: 18px 20px;
	margin: 16px 0;
}
.sl-note {
	background: rgba(255, 204, 0, 0.07);
	border: 1px solid rgba(255, 204, 0, 0.35);
	border-radius: 10px;
	padding: 9px 14px;
	margin: 0 0 14px 0;
	font-size: 14px;
}

/* The four steps */
.sl-steps {
	list-style: none; padding: 0; margin: 14px 0 18px 0;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
}
.sl-steps li {
	background: rgba(12, 16, 24, 0.82); border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px;
}
.sl-steps strong { font-size: 15px; }
.sl-steps span { font-size: 12.5px; color: #BBB; line-height: 1.4; }
.sl-steps .sl-step-no {
	display: inline-flex; align-items: center; justify-content: center;
	width: 24px; height: 24px; border-radius: 50%; margin-bottom: 6px;
	background: #F60; color: #FFF; font-size: 13px; font-weight: bold;
}
@media (max-width: 720px) {
	.sl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Upload box */
.sl-drop {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
	padding: 28px 16px; text-align: center; cursor: pointer;
	border: 2px dashed rgba(255, 255, 255, 0.28); border-radius: 12px;
	background: rgba(255, 255, 255, 0.02);
	transition: border-color 0.2s, background-color 0.2s;
}
.sl-drop:hover, .sl-drop.sl-dragover { border-color: #F60; background: rgba(255, 102, 0, 0.08); }
.sl-drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.sl-drop:focus-within { outline: 2px solid #F60; outline-offset: 2px; }
.sl-drop-icon { color: #F60; }
.sl-drop-title { font-size: 16px; }
.sl-chosen { margin: 10px 0 0 0; }
.sl-chosen-row {
	display: flex; justify-content: space-between; gap: 12px;
	padding: 6px 10px; margin-bottom: 4px; font-size: 13px;
	background: rgba(255, 255, 255, 0.05); border-radius: 8px;
}
.sl-chosen-row span:last-child { color: #BBB; white-space: nowrap; }
.sl-chosen-sum { font-size: 12px; color: #BBB; margin-top: 4px; }
.sl-chosen-error { font-size: 13px; color: #FF7070; margin-top: 4px; }

/* Forms */
.sl-label { display: block; font-weight: bold; font-size: 14px; margin: 18px 0 6px 0; }
.sl-label .sl-muted { font-weight: normal; }
.sl-wrap textarea, .sl-wrap input[type=text] {
	font: 14px arial, sans-serif; color: #FFF;
	background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 8px;
	padding: 7px 10px;
}
.sl-wrap input[type=text] { padding: 4px 8px; border-radius: 6px; }
.sl-wrap textarea { resize: vertical; }
.sl-form textarea { width: 100%; box-sizing: border-box; }
.sl-wrap textarea:focus, .sl-wrap input[type=text]:focus { outline: 2px solid #F60; outline-offset: 0; border-color: transparent; }
.sl-rules { margin: 16px 0 12px 0; padding-left: 18px; color: #CFCFCF; font-size: 13.5px; line-height: 1.6; }
.sl-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin: 0 0 16px 0; cursor: pointer; }
.sl-check input { margin-top: 3px; }
table.sl-form-table td { padding: 5px 10px 5px 0; font-size: 14px; vertical-align: top; }
table.sl-form-table td.sl-label-cell { width: 170px; padding-top: 8px; color: #DDD; }

/* Buttons */
.sl-btn, a.sl-btn {
	display: inline-block; background-color: #F60; border: 0; border-radius: 8px; color: #FFF;
	padding: 10px 22px; font: bold 15px arial, sans-serif; cursor: pointer;
	transition: background-color 0.2s; margin: 2px 4px 2px 0; text-decoration: none;
}
.sl-btn:hover, a.sl-btn:hover { background-color: #FF9C5B; color: #FFF; }
/* navigation.php loads pukestyle.css again after this file, so its link colours need beating here. */
.sl-wrap a.sl-btn:link, .sl-wrap a.sl-btn:visited, .sl-wrap a.sl-btn:hover { color: #FFF; }
.sl-btn:disabled { background-color: #828282; cursor: not-allowed; }
.sl-btn-green { background-color: #26961E; }
.sl-btn-green:hover { background-color: #3DB534; }
.sl-btn-red { background-color: #B00000; }
.sl-btn-red:hover { background-color: #E04040; }
.sl-btn-grey { background-color: #4A4F58; }
.sl-btn-grey:hover { background-color: #686E79; }
.sl-btn-small, a.sl-btn-small { padding: 4px 12px; font-size: 12px; border-radius: 6px; }
.sl-linkbtn { background: none; border: 0; padding: 0; color: #FFCC00; cursor: pointer; font: inherit; text-decoration: underline; }
.sl-linkbtn:hover { color: #C00; }

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

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

/* Lists and tables */
.sl-list { display: flex; flex-direction: column; gap: 6px; }
a.sl-row, a.sl-row:visited {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	padding: 10px 14px; color: #FFF;
	background: rgba(12, 16, 24, 0.82); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px;
	transition: border-color 0.2s;
}
a.sl-row:hover { border-color: #F60; color: #FFF; }
.sl-row-main { display: flex; flex-direction: column; min-width: 0; }
.sl-row-main strong { overflow-wrap: anywhere; }
table.sl-table { border-collapse: collapse; width: 100%; font-size: 13px; }
table.sl-table th {
	text-align: left; padding: 5px 8px; color: #FFCC00;
	border-bottom: 2px solid #F60; white-space: nowrap;
}
table.sl-table td { padding: 5px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.10); vertical-align: middle; }
table.sl-table tr:hover td { background: rgba(0, 0, 0, 0.30); }
table.sl-table td.sl-thumbcell { width: 104px; padding: 3px 8px; }
.sl-admin-link { margin-top: 20px; }
.sl-result { margin: 6px 0; padding-left: 20px; }

/* Levels */
.sl-level { padding: 14px 16px; }
.sl-level-clash { border-color: rgba(255, 102, 0, 0.65); }
.sl-level-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 10px; overflow-wrap: anywhere; }
.sl-level-body { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.sl-level-info { flex: 1; min-width: 260px; }
.sl-level-info .sl-msg { margin: 8px 0 0 0; }
.sl-fig { margin: 0; }
.sl-fig figcaption { font-size: 12px; color: #BBB; margin-top: 4px; max-width: 200px; }
.sl-thumb { width: 200px; height: 150px; border: 1px solid #333; border-radius: 6px; background: #111; display: block; }
.sl-thumb-small { width: 100px; height: 75px; border: 1px solid #333; border-radius: 4px; background: #111; display: block; }
.sl-nothumb { display: flex; align-items: center; justify-content: center; color: #777; font-size: 11px; }
table.sl-facts { border-collapse: collapse; font-size: 13px; }
table.sl-facts th { text-align: left; font-weight: normal; color: #AAA; padding: 2px 14px 2px 0; white-space: nowrap; vertical-align: top; }
table.sl-facts td { padding: 2px 0; overflow-wrap: anywhere; }
.sl-choice { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.09); }
.sl-wrap .sl-clash-text { margin: 0 0 6px 0; color: #FFCC99; }
.sl-option {
	display: block; padding: 9px 12px; margin: 6px 0; cursor: pointer; font-size: 14px;
	border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 8px; transition: border-color 0.2s;
}
.sl-option:hover { border-color: rgba(255, 102, 0, 0.7); }
.sl-option:has(input[type=radio]:checked) { border-color: #F60; background: rgba(255, 102, 0, 0.08); }
.sl-option-inline { display: inline-block; margin-right: 6px; }
.sl-option-help { display: block; font-size: 12px; color: #BBB; margin: 4px 0 0 22px; }
.sl-bulk { margin: 4px 0 10px 0; }

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