:root {
	--gplx-primary: #a12f45;
	--gplx-primary-dark: #7a2233;
	--gplx-primary-light: #c23a54;
	--gplx-bg-soft: #faf5f6;
}

.gplx-lookup-wrap {
	max-width: 640px;
	margin: 0 auto;
	font-family: inherit;
}

.gplx-page-title {
	text-align: center;
	color: var(--gplx-primary);
	font-size: 26px;
	font-weight: 800;
	margin: 0 0 20px;
}

.gplx-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.gplx-card-header {
	background: linear-gradient(135deg, var(--gplx-primary-dark), var(--gplx-primary-light));
	color: #fff;
	text-align: center;
	padding: 28px 24px 24px;
}

.gplx-icon-circle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

.gplx-card-header h2 {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 700;
}

.gplx-subtitle {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
}

.gplx-form {
	padding: 24px;
}

.gplx-field {
	margin-bottom: 16px;
}

.gplx-field label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	margin-bottom: 6px;
	color: #333;
}

.gplx-icon {
	flex-shrink: 0;
	color: var(--gplx-primary);
}

.gplx-input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	box-sizing: border-box;
}

.gplx-input:focus {
	outline: none;
	border-color: var(--gplx-primary);
	box-shadow: 0 0 0 3px rgba(161, 47, 69, 0.12);
}

.gplx-hint {
	display: block;
	font-size: 12px;
	color: #888;
	margin-top: 4px;
	font-style: italic;
}

.gplx-captcha-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.gplx-captcha-image {
	height: 42px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #f2f2f2;
}

.gplx-refresh {
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	color: var(--gplx-primary);
	line-height: 1;
}

.gplx-captcha-input {
	flex: 1;
}

.gplx-submit-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: linear-gradient(135deg, var(--gplx-primary-dark), var(--gplx-primary-light));
	color: #fff;
	border: none;
	padding: 13px 20px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.3px;
	cursor: pointer;
	width: 100%;
}

.gplx-submit-btn .gplx-icon {
	color: #fff;
}

.gplx-submit-btn:hover {
	filter: brightness(1.05);
}

.gplx-loader {
	margin-top: 10px;
	font-size: 13px;
	color: #666;
}

.gplx-message {
	margin-top: 10px;
	font-size: 13px;
}

.gplx-message.is-error {
	color: var(--gplx-primary);
}

.gplx-message.is-success {
	color: #2f9e44;
}

.gplx-source-note {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	background: var(--gplx-bg-soft);
	border-left: 3px solid var(--gplx-primary);
	border-radius: 4px;
	padding: 10px 12px;
	font-size: 12px;
	color: #555;
}

.gplx-source-note .gplx-icon {
	color: var(--gplx-primary);
}

/* Modal */
.gplx-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 100000;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.gplx-modal-overlay.is-open {
	display: flex;
}

.gplx-modal {
	background: #fff;
	border-radius: 12px;
	max-width: 780px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: 28px;
	position: relative;
}

.gplx-modal h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 0;
	color: var(--gplx-primary, #a12f45);
}

.gplx-modal-close {
	position: absolute;
	top: 16px;
	right: 20px;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: #888;
}

.gplx-modal-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 24px;
	margin: 20px 0;
}

.gplx-modal-grid div {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.gplx-modal-grid strong {
	white-space: nowrap;
}

@media (max-width: 600px) {
	.gplx-modal-grid {
		grid-template-columns: 1fr;
	}
}

.gplx-violation-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}

.gplx-violation-table th {
	background: #a12f45;
	background: var(--gplx-primary, #a12f45);
	color: #fff;
	padding: 8px 10px;
	text-align: left;
	font-size: 13px;
}

.gplx-violation-table td {
	border-bottom: 1px solid #eee;
	padding: 8px 10px;
	text-align: left;
	font-size: 13px;
}

.gplx-text-center {
	text-align: center;
	color: #888;
}

.gplx-modal-footer {
	text-align: right;
	margin-top: 20px;
}

.gplx-close-btn {
	background: #a12f45;
	background: linear-gradient(135deg, #7a2233, #c23a54);
	color: #fff;
	border: none;
	padding: 10px 24px;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 600;
}
