/*
 * Security and fraud prevention: the checkout note, the dispatch details in
 * the customer's account, and the staff box on orders, repairs and gold
 * buying records. Loaded by includes/sections/security.php on the checkout,
 * the account pages and those admin screens only.
 */

/* ------------------------------------------------------------ the shop */

.gftsec-note {
	margin: 0 0 18px;
	padding: 12px 16px;
	border: 1px solid #E8E2D5;
	border-left: 3px solid #A8802D;
	background: #FBF7EF;
	color: #23201A;
	font-size: 14px;
	line-height: 1.55;
}

.gftsec-note strong {
	color: #23201A;
}


.gftsec-dispatch {
	margin: 0 0 28px;
	padding: 16px 20px;
	border: 1px solid #E8E2D5;
	background: #FBF7EF;
	color: #23201A;
}

.gftsec-dispatch h2 {
	margin: 0 0 10px;
	font-size: 22px;
}

.gftsec-dispatch table {
	margin: 0;
	border: 0;
}

.gftsec-dispatch th,
.gftsec-dispatch td {
	border: 0;
	background: transparent;
	font-size: 14px;
	word-break: break-word;
}

/* ------------------------------------------------ staff box on a record */

.gftsec-box .gftsec-part {
	padding: 12px 0 14px;
	border-bottom: 1px solid #F1EAD9;
}

.gftsec-box .gftsec-part:last-of-type {
	border-bottom: 0;
}

.gftsec-box h4 {
	margin: 0 0 6px;
	font-size: 13px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #8A8172;
}

.gftsec-box label {
	display: block;
	margin-bottom: 3px;
	font-weight: 600;
	color: #23201A;
}

.gftsec-box input[type="text"],
.gftsec-box input[type="date"],
.gftsec-box select {
	width: 100%;
	max-width: 100%;
}

.gftsec-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 0 16px;
}

.gftsec-grid p {
	margin: 6px 0;
}

.gftsec-help {
	margin: 4px 0 8px;
	color: #8A8172;
	font-size: 12px;
}

.gftsec-empty {
	color: #8A8172;
	font-style: italic;
}

.gftsec-videos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 12px;
	margin: 8px 0;
}

.gftsec-video {
	border: 1px solid #E6DFD1;
	border-radius: 8px;
	background: #FAF6EF;
	overflow: hidden;
}

.gftsec-video-player video {
	display: block;
	width: 100%;
	height: 150px;
	background: #1A1A1A;
	object-fit: contain;
}

.gftsec-video-meta {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 8px 10px 10px;
	font-size: 12px;
}

.gftsec-video-name {
	word-break: break-all;
}

.gftsec-video-by {
	color: #8A8172;
}

.gftsec-remove.button-link {
	align-self: flex-start;
	color: #9B2C2C;
}

.gftsec-flag {
	margin: 4px 0 8px;
	padding: 8px 12px;
	border-left: 3px solid #9B2C2C;
	background: #FBEDED;
	color: #9B2C2C;
	font-weight: 600;
}

.gftsec-flag-inline {
	display: inline-block;
	padding: 1px 7px;
	border-radius: 10px;
	background: #FBEDED;
	color: #9B2C2C;
	font-size: 11px;
	font-weight: 600;
}

.gftsec-log summary {
	cursor: pointer;
	color: #8A8172;
}

.gftsec-log ul {
	margin: 8px 0 0;
	max-height: 220px;
	overflow: auto;
}

.gftsec-log li {
	margin: 0 0 4px;
	font-size: 12px;
}

.gftsec-log li span {
	color: #8A8172;
}

.gftsec-sum {
	font-size: 12px;
}

/* ------------------------------------------------------- the two screens */

.gftsec-badge {
	display: inline-block;
	margin-right: 6px;
	padding: 2px 9px;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .03em;
	vertical-align: 1px;
}

.gftsec-badge-on {
	background: #E6F2EA;
	color: #2F7D4F;
}

.gftsec-badge-off {
	background: #EFECE6;
	color: #5A554B;
}

.gftsec-badge-warn {
	background: #FBF1DF;
	color: #B4761B;
}

.gftsec-status th {
	width: 320px;
	font-weight: 600;
}

.gftsec-find {
	margin: 0 0 16px;
}

.gftsec-find input[type="search"] {
	width: 320px;
	max-width: 100%;
}

.gftsec-table-wrap {
	overflow-x: auto;
}

.gftsec-table td {
	vertical-align: top;
}

.gftsec-screen .form-table th {
	width: 240px;
}

@media (max-width: 782px) {
	.gftsec-status th {
		width: auto;
	}

	.gftsec-videos {
		grid-template-columns: 1fr;
	}
}
