/**
 * GRK Data Checker - Modern Frontend Stylesheet
 * Single Page Application & Certificate Verification Card
 * Tailwind CSS Aesthetics
 */

/* ====================================================
   1. SEARCH WIDGET [grk_check_search]
   ==================================================== */
.grk-search-widget-wrap {
	width: 100%;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	box-sizing: border-box;
}

.grk-search-form {
	display: flex;
	align-items: center;
	background: #ffffff;
	border: 2px solid #e2e8f0;
	border-radius: 9999px;
	padding: 6px 8px 6px 8px;
	box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
	transition: all 0.2s ease-in-out;
	box-sizing: border-box;
}

.grk-search-form:focus-within {
	border-color: #0284c7;
	box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15), 0 12px 28px -5px rgba(15, 23, 42, 0.1);
}

.grk-search-input-box {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	width: 100% !important;
}

.grk-search-icon-wrap {
	position: absolute !important;
	left: 14px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 20px;
	height: 20px;
	color: #94a3b8;
	pointer-events: none !important;
	z-index: 5 !important;
	transition: color 0.15s ease;
	line-height: 1;
}

.grk-search-icon-svg {
	display: block;
	width: 18px;
	height: 18px;
}

.grk-search-form:focus-within .grk-search-icon-wrap {
	color: #0284c7;
}

.grk-search-input {
	width: 100% !important;
	border: none !important;
	outline: none !important;
	background: transparent !important;
	padding-left: 44px !important; /* CRITICAL: guarantees text never collides with search icon */
	padding-right: 36px !important; /* space for clear button */
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 15px;
	color: #0f172a;
	font-weight: 500;
	box-shadow: none !important;
	line-height: 1.4;
	box-sizing: border-box !important;
	margin: 0 !important;
}

.grk-search-input::placeholder {
	color: #94a3b8;
	font-weight: 400;
}

.grk-search-clear-btn {
	position: absolute !important;
	right: 12px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	z-index: 6 !important;
	background: #f1f5f9;
	border: none !important;
	border-radius: 50%;
	width: 22px;
	height: 22px;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 15px;
	color: #64748b;
	cursor: pointer !important;
	padding: 0;
	line-height: 1;
	transition: all 0.15s ease;
}

.grk-search-clear-btn:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.grk-search-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
	color: #ffffff;
	border: none;
	border-radius: 9999px;
	padding: 10px 24px;
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
	transition: all 0.2s ease;
	flex-shrink: 0;
	white-space: nowrap;
}

.grk-search-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4);
	background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
}

.grk-search-btn:active {
	transform: translateY(0);
}

.grk-search-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: grk-spin 0.75s linear infinite;
	display: inline-block;
}

@keyframes grk-spin {
	to { transform: rotate(360deg); }
}

.grk-shake {
	animation: grk-shake 0.4s ease-in-out;
}

@keyframes grk-shake {
	0%, 100% { transform: translateX(0); }
	20%, 60% { transform: translateX(-6px); }
	40%, 80% { transform: translateX(6px); }
}

@media (max-width: 640px) {
	.grk-search-form {
		flex-direction: column;
		border-radius: 16px;
		padding: 12px 14px;
		gap: 10px;
	}
	.grk-search-input-box {
		width: 100%;
	}
	.grk-search-btn {
		width: 100%;
		border-radius: 10px;
		padding: 12px 20px;
	}
}

/* ====================================================
   2. RESULT CONTAINER [grk_check_result]
   ==================================================== */
.grk-result-widget-wrap {
	width: 100%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	box-sizing: border-box;
	margin-top: 15px;
}

/* 2.1 IDLE STATE */
.grk-idle-card {
	background: #ffffff;
	border: 1px dashed #cbd5e1;
	border-radius: 16px;
	padding: 40px 24px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.grk-idle-icon-wrap {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #f0f9ff;
	color: #0284c7;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.grk-idle-icon-wrap .dashicons {
	font-size: 32px;
	width: 32px;
	height: 32px;
}

.grk-idle-heading {
	margin: 0 0 8px 0;
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
}

.grk-idle-subtext {
	margin: 0 0 20px 0;
	font-size: 14px;
	color: #64748b;
	max-width: 480px;
	line-height: 1.5;
}

.grk-idle-badges {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
}

.grk-idle-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: #475569;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 9999px;
	padding: 4px 12px;
}

.grk-idle-badge .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
	color: #059669;
}

/* 2.2 SKELETON LOADER STATE */
.grk-skeleton-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 30px;
	box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.grk-skeleton-shimmer {
	background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
	background-size: 200% 100%;
	animation: grk-shimmer 1.5s infinite;
	border-radius: 6px;
}

@keyframes grk-shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

.grk-skel-badge {
	width: 120px;
	height: 24px;
	border-radius: 9999px;
	margin-bottom: 14px;
}

.grk-skel-title {
	width: 70%;
	height: 28px;
	margin-bottom: 10px;
}

.grk-skel-subtitle {
	width: 45%;
	height: 16px;
}

.grk-skeleton-divider {
	height: 1px;
	background: #f1f5f9;
	margin: 24px 0;
}

.grk-skeleton-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 24px;
}

.grk-skel-cell {
	height: 60px;
}

.grk-skel-button {
	width: 160px;
	height: 40px;
	border-radius: 8px;
}

/* 2.3 VERIFIED SUCCESS CARD */
.grk-verified-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	padding: 28px 32px;
	box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
	position: relative;
	overflow: hidden;
}

.grk-verified-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, #059669 0%, #0284c7 50%, #4f46e5 100%);
}

/* Top Bar */
.grk-card-top-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 18px;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 22px;
	flex-wrap: wrap;
}

.grk-org-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #475569;
}

.grk-org-badge .dashicons {
	color: #0284c7;
	font-size: 17px;
	width: 17px;
	height: 17px;
}

.grk-status-pill-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	border-radius: 9999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	border: 1px solid #a7f3d0;
	background: #ecfdf5;
	color: #059669;
}

.grk-pill-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #059669;
	display: inline-block;
	box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2);
}

/* Card Header (Name & Scheme) */
.grk-card-header {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 26px;
}

.grk-verified-stamp {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #ecfdf5;
	color: #059669;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 4px 14px rgba(5, 150, 105, 0.18);
}

.grk-verified-stamp .dashicons {
	font-size: 34px;
	width: 34px;
	height: 34px;
}

.grk-holder-info {
	flex: 1;
	min-width: 0;
}

.grk-holder-label {
	font-size: 11.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #64748b;
	display: block;
	margin-bottom: 2px;
}

.grk-holder-name {
	margin: 0 0 6px 0;
	font-size: 22px;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.grk-scheme-tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13.5px;
	font-weight: 600;
	color: #0369a1;
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	padding: 3px 10px;
	border-radius: 6px;
}

.grk-scheme-tag .dashicons {
	font-size: 15px;
	width: 15px;
	height: 15px;
}

/* Details Grid */
.grk-details-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 22px;
}

.grk-col-span-2 {
	grid-column: span 2;
}

.grk-detail-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.grk-detail-label {
	font-size: 11.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #64748b;
}

.grk-detail-value {
	font-size: 14px;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.4;
}

.grk-detail-value-mono code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 13.5px;
	font-weight: 700;
	color: #0369a1;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	padding: 3px 8px;
	border-radius: 5px;
	display: inline-block;
}

.grk-val-date {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #0f172a;
}

.grk-val-date .dashicons {
	color: #0284c7;
	font-size: 16px;
	width: 16px;
	height: 16px;
}

/* Dynamic Extra Meta Grid */
.grk-extra-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 6px;
	padding-top: 14px;
	border-top: 1px dashed #cbd5e1;
}

.grk-extra-cell {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.grk-extra-cell-key {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	color: #64748b;
}

.grk-extra-cell-val {
	font-size: 13.5px;
	font-weight: 600;
	color: #0f172a;
}

/* Attachment Card */
.grk-attachment-card {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 12px;
	padding: 14px 18px;
	margin-bottom: 22px;
}

.grk-attachment-icon-box {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #dbeafe;
	color: #1d4ed8;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.grk-attachment-icon-box .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
}

.grk-attachment-info {
	flex: 1;
	min-width: 0;
}

.grk-attachment-title {
	font-size: 13px;
	font-weight: 700;
	color: #1e3a8a;
	margin-bottom: 2px;
}

.grk-attachment-name {
	font-size: 12px;
	color: #3b82f6;
	word-break: break-all;
}

.grk-btn-download {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #1d4ed8;
	color: #ffffff;
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.15s ease;
	flex-shrink: 0;
}

.grk-btn-download:hover {
	background: #1e40af;
	transform: translateY(-1px);
}

.grk-btn-download .dashicons {
	font-size: 15px;
	width: 15px;
	height: 15px;
}

/* Footer */
.grk-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 16px;
	border-top: 1px solid #f1f5f9;
	flex-wrap: wrap;
}

.grk-verified-time {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12.5px;
	color: #64748b;
}

.grk-verified-time .dashicons {
	font-size: 15px;
	width: 15px;
	height: 15px;
	color: #94a3b8;
}

.grk-action-buttons {
	display: flex;
	align-items: center;
	gap: 10px;
}

.grk-btn-action {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 7px 14px;
	font-size: 12.5px;
	font-weight: 600;
	color: #334155;
	cursor: pointer;
	transition: all 0.15s ease;
	line-height: 1.4;
}

.grk-btn-action .dashicons {
	font-size: 15px;
	width: 15px;
	height: 15px;
	color: #64748b;
}

.grk-btn-action:hover {
	background: #f8fafc;
	border-color: #94a3b8;
	color: #0f172a;
}

.grk-btn-copy.is-copied {
	background: #ecfdf5;
	border-color: #6ee7b7;
	color: #059669;
}

.grk-btn-copy.is-copied .dashicons {
	color: #059669;
}

/* 2.4 ERROR NOT FOUND STATE */
.grk-error-card {
	background: #ffffff;
	border: 1px solid #fed7aa;
	border-radius: 16px;
	padding: 36px 28px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.grk-error-icon-box {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #fff7ed;
	color: #ea580c;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.grk-error-icon-box .dashicons {
	font-size: 30px;
	width: 30px;
	height: 30px;
}

.grk-error-heading {
	margin: 0 0 8px 0;
	font-size: 18px;
	font-weight: 700;
	color: #9a3412;
}

.grk-error-msg {
	margin: 0 0 20px 0;
	font-size: 14px;
	color: #475569;
	max-width: 520px;
	line-height: 1.5;
}

.grk-error-tips {
	background: #fffbeb;
	border: 1px solid #fef3c7;
	border-radius: 10px;
	padding: 14px 20px;
	text-align: left;
	font-size: 12.5px;
	color: #78350f;
	max-width: 520px;
	width: 100%;
	box-sizing: border-box;
}

.grk-error-tips ul {
	margin: 6px 0 0 0;
	padding-left: 18px;
}

.grk-error-tips li {
	margin-bottom: 3px;
}

@media (max-width: 640px) {
	.grk-verified-card {
		padding: 20px 16px;
	}
	.grk-card-header {
		flex-direction: column;
		text-align: center;
	}
	.grk-details-grid {
		grid-template-columns: 1fr;
		padding: 14px;
	}
	.grk-col-span-2 {
		grid-column: span 1;
	}
	.grk-extra-grid {
		grid-template-columns: 1fr;
	}
	.grk-attachment-card {
		flex-direction: column;
		text-align: center;
	}
	.grk-card-footer {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}

/* ====================================================
   3. PRINT STYLESHEET (@media print)
   ==================================================== */
@media print {
	body * {
		visibility: hidden;
	}
	#grk-print-area,
	#grk-print-area * {
		visibility: visible;
	}
	#grk-print-area {
		position: absolute;
		left: 0;
		top: 0;
		width: 100% !important;
		margin: 0 !important;
		padding: 24px !important;
		box-shadow: none !important;
		border: 1px solid #cbd5e1 !important;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
	.grk-search-widget-wrap,
	.grk-action-buttons,
	.grk-btn-download {
		display: none !important;
	}
}

/* ====================================================
   4. DESIGN TEMPLATES (TEMA DESAIN KARTU & FORM)
   ==================================================== */

/* ----------------------------------------------------
   4.1 TEMPLATE: ELEGANT NAVY & GOLD (.grk-tpl-navy-gold)
   ---------------------------------------------------- */
:where(.grk-tpl-navy-gold) .grk-search-form {
	border-color: #d97706;
	box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12);
}

:where(.grk-tpl-navy-gold) .grk-search-form:focus-within {
	border-color: #b45309;
	box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.2);
}

:where(.grk-tpl-navy-gold) .grk-search-icon-wrap {
	color: #d97706;
}

:where(.grk-tpl-navy-gold) .grk-search-btn {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	border: 1px solid #d97706;
	color: #fef3c7;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.3);
}

:where(.grk-tpl-navy-gold) .grk-search-btn:hover {
	background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
	color: #fbbf24;
}

:where(.grk-tpl-navy-gold) .grk-verified-card {
	border-color: #fde68a;
	box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.12);
}

:where(.grk-tpl-navy-gold) .grk-verified-card::before {
	background: linear-gradient(90deg, #d97706 0%, #fbbf24 50%, #b45309 100%);
	height: 6px;
}

:where(.grk-tpl-navy-gold) .grk-verified-stamp {
	background: #fef3c7;
	color: #b45309;
	border: 1px solid #fde68a;
	box-shadow: 0 4px 14px rgba(217, 119, 6, 0.2);
}

:where(.grk-tpl-navy-gold) .grk-holder-name {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	color: #0f172a;
	font-size: 24px;
}

:where(.grk-tpl-navy-gold) .grk-scheme-tag {
	background: #0f172a;
	color: #fbbf24;
	border-color: #d97706;
}

:where(.grk-tpl-navy-gold) .grk-scheme-tag .dashicons {
	color: #fbbf24;
}

:where(.grk-tpl-navy-gold) .grk-details-grid {
	background: #fcfbf8;
	border-color: #fde68a;
}

:where(.grk-tpl-navy-gold) .grk-detail-value-mono code {
	background: #0f172a;
	color: #fbbf24;
	border-color: #d97706;
}

:where(.grk-tpl-navy-gold) .grk-attachment-card {
	background: #fefce8;
	border-color: #fef08a;
}

:where(.grk-tpl-navy-gold) .grk-btn-download {
	background: #0f172a;
	color: #fbbf24;
	border: 1px solid #d97706;
}

:where(.grk-tpl-navy-gold) .grk-btn-download:hover {
	background: #1e293b;
	color: #ffffff;
}

/* ----------------------------------------------------
   4.2 TEMPLATE: AURORA GRADIENT (.grk-tpl-aurora-gradient)
   ---------------------------------------------------- */
:where(.grk-tpl-aurora-gradient) .grk-search-form {
	border-color: rgba(99, 102, 241, 0.35);
	box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.15);
}

:where(.grk-tpl-aurora-gradient) .grk-search-form:focus-within {
	border-color: #a855f7;
	box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.2);
}

:where(.grk-tpl-aurora-gradient) .grk-search-icon-wrap {
	color: #6366f1;
}

:where(.grk-tpl-aurora-gradient) .grk-search-btn {
	background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
	color: #ffffff;
	box-shadow: 0 4px 16px rgba(236, 72, 153, 0.35);
}

:where(.grk-tpl-aurora-gradient) .grk-search-btn:hover {
	background: linear-gradient(135deg, #4f46e5 0%, #db2777 100%);
}

:where(.grk-tpl-aurora-gradient) .grk-verified-card {
	border-color: #e9d5ff;
	box-shadow: 0 12px 30px -4px rgba(168, 85, 247, 0.12);
}

:where(.grk-tpl-aurora-gradient) .grk-verified-card::before {
	background: linear-gradient(90deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
	height: 6px;
}

:where(.grk-tpl-aurora-gradient) .grk-verified-stamp {
	background: #fdf4ff;
	color: #c026d3;
	box-shadow: 0 4px 14px rgba(192, 38, 211, 0.2);
}

:where(.grk-tpl-aurora-gradient) .grk-scheme-tag {
	background: #f5f3ff;
	color: #6366f1;
	border-color: #ddd6fe;
}

:where(.grk-tpl-aurora-gradient) .grk-detail-value-mono code {
	background: #fdf4ff;
	color: #a21caf;
	border-color: #f0abfc;
}

:where(.grk-tpl-aurora-gradient) .grk-attachment-card {
	background: #faf5ff;
	border-color: #f3e8ff;
}

:where(.grk-tpl-aurora-gradient) .grk-btn-download {
	background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
	box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

/* ----------------------------------------------------
   4.3 TEMPLATE: MINIMALIST MONOCHROME (.grk-tpl-minimal-mono)
   ---------------------------------------------------- */
:where(.grk-tpl-minimal-mono) .grk-search-form {
	border: 2px solid #18181b;
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

:where(.grk-tpl-minimal-mono) .grk-search-form:focus-within {
	border-color: #000000;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}

:where(.grk-tpl-minimal-mono) .grk-search-icon-wrap {
	color: #18181b;
}

:where(.grk-tpl-minimal-mono) .grk-search-btn {
	background: #18181b;
	color: #ffffff;
	border-radius: 8px;
	box-shadow: none;
}

:where(.grk-tpl-minimal-mono) .grk-search-btn:hover {
	background: #27272a;
}

:where(.grk-tpl-minimal-mono) .grk-verified-card {
	border: 2px solid #18181b;
	border-radius: 12px;
	box-shadow: none;
}

:where(.grk-tpl-minimal-mono) .grk-verified-card::before {
	background: #18181b;
	height: 4px;
}

:where(.grk-tpl-minimal-mono) .grk-verified-stamp {
	background: #18181b;
	color: #ffffff;
	border-radius: 10px;
	box-shadow: none;
}

:where(.grk-tpl-minimal-mono) .grk-scheme-tag {
	background: #f4f4f5;
	color: #18181b;
	border-color: #d4d4d8;
}

:where(.grk-tpl-minimal-mono) .grk-details-grid {
	background: #ffffff;
	border: 1px solid #e4e4e7;
	border-radius: 8px;
}

:where(.grk-tpl-minimal-mono) .grk-detail-value-mono code {
	background: #f4f4f5;
	color: #18181b;
	border-color: #18181b;
}

:where(.grk-tpl-minimal-mono) .grk-attachment-card {
	background: #f4f4f5;
	border: 1px solid #e4e4e7;
	border-radius: 8px;
}

:where(.grk-tpl-minimal-mono) .grk-btn-download {
	background: #18181b;
	border-radius: 6px;
}

/* ----------------------------------------------------
   4.4 TEMPLATE: OFFICIAL EMERALD (.grk-tpl-official-emerald)
   ---------------------------------------------------- */
:where(.grk-tpl-official-emerald) .grk-search-form {
	border-color: #047857;
	box-shadow: 0 10px 25px -5px rgba(4, 120, 87, 0.1);
}

:where(.grk-tpl-official-emerald) .grk-search-form:focus-within {
	border-color: #065f46;
	box-shadow: 0 0 0 4px rgba(4, 120, 87, 0.18);
}

:where(.grk-tpl-official-emerald) .grk-search-icon-wrap {
	color: #047857;
}

:where(.grk-tpl-official-emerald) .grk-search-btn {
	background: linear-gradient(135deg, #047857 0%, #065f46 100%);
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(4, 120, 87, 0.3);
}

:where(.grk-tpl-official-emerald) .grk-verified-card {
	border: 3px double #047857;
	border-radius: 16px;
	box-shadow: 0 10px 30px -4px rgba(4, 120, 87, 0.1);
}

:where(.grk-tpl-official-emerald) .grk-verified-card::before {
	background: linear-gradient(90deg, #065f46 0%, #047857 50%, #059669 100%);
	height: 6px;
}

:where(.grk-tpl-official-emerald) .grk-verified-stamp {
	background: #ecfdf5;
	color: #047857;
	border: 2px solid #a7f3d0;
}

:where(.grk-tpl-official-emerald) .grk-scheme-tag {
	background: #ecfdf5;
	color: #065f46;
	border-color: #a7f3d0;
}

:where(.grk-tpl-official-emerald) .grk-details-grid {
	background: #f0fdf4;
	border-color: #bbf7d0;
}

:where(.grk-tpl-official-emerald) .grk-detail-value-mono code {
	background: #ffffff;
	color: #047857;
	border-color: #047857;
}

:where(.grk-tpl-official-emerald) .grk-attachment-card {
	background: #f0fdf4;
	border-color: #bbf7d0;
}

:where(.grk-tpl-official-emerald) .grk-btn-download {
	background: #047857;
}

:where(.grk-tpl-official-emerald) .grk-btn-download:hover {
	background: #065f46;
}


