.prokompim-dashboard,
.prokompim-form,
.prokompim-cek-status,
.prokompim-tracking,
.prokompim-success,
.prokompim-modal {
	box-sizing: border-box;
}

.prokompim-dashboard *,
.prokompim-form *,
.prokompim-cek-status *,
.prokompim-tracking *,
.prokompim-success *,
.prokompim-modal * {
	box-sizing: border-box;
}

.prokompim-dashboard {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
}

.prokompim-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: -2px;
}

.prokompim-tab {
	padding: 10px 24px;
	font-weight: 600;
	font-size: 14px;
	line-height: 1;
	border: 1px solid #dee2e6;
	border-radius: 0.375rem 0.375rem 0 0;
	background: #fff;
	color: #0d6efd;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.prokompim-tab:hover {
	background: #e7f1ff;
}

.prokompim-tab:focus-visible {
	outline: 2px solid #0d6efd;
	outline-offset: 2px;
}

.prokompim-tab-active,
.prokompim-tab-active:hover {
	background: #0d6efd;
	color: #fff;
	border-color: #0d6efd;
}

.prokompim-tab-panel {
	border: 1px solid #dee2e6;
	border-radius: 0 0.375rem 0.375rem 0.375rem;
	background: #fff;
	padding: 24px;
	min-height: 420px;
}

.prokompim-tab-content[hidden] {
	display: none;
}

.prokompim-dashboard-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 8px;
	color: #212529;
}

.prokompim-dashboard-desc {
	color: #6c757d;
	margin: 0 0 20px;
	font-size: 14px;
}

.prokompim-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin: 0;
}

.prokompim-card {
	border: 1px solid #dee2e6;
	border-radius: 0.375rem;
	padding: 20px;
	text-align: center;
	background: #fff;
	transition: box-shadow 0.15s ease;
}

.prokompim-card:hover {
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.prokompim-card-badge {
	display: inline-block;
	background: #0d6efd;
	color: #fff;
	border-radius: 999px;
	padding: 2px 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	margin-bottom: 12px;
}

.prokompim-card-title {
	font-size: 16px;
	margin: 0 0 8px;
}

.prokompim-card-teaser {
	font-size: 13px;
	color: #6c757d;
	margin: 0 0 16px;
}

.prokompim-btn {
	display: inline-block;
	background: #0d6efd;
	color: #fff;
	border: 1px solid #0d6efd;
	border-radius: 0.375rem;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.prokompim-btn:hover {
	background: #0b5ed7;
	border-color: #0a58ca;
	color: #fff;
}

.prokompim-btn[disabled] {
	background: #6c757d;
	border-color: #6c757d;
	cursor: not-allowed;
}

.prokompim-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: center;
	margin-top: 20px;
}

.prokompim-btn-back {
	background: #fff;
	color: #0d6efd;
	border: 1px solid #0d6efd;
	font-weight: 500;
}

.prokompim-btn-back:hover {
	background: #0d6efd;
	color: #fff;
	border-color: #0d6efd;
}

.prokompim-btn-back::before {
	content: '\2190';
	margin-right: 6px;
}

.prokompim-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
}

.prokompim-modal[hidden] {
	display: none;
}

.prokompim-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.prokompim-modal-content {
	position: relative;
	background: #fff;
	max-width: var(--prokompim-modal-width, 560px);
	margin: 40px auto;
	padding: 24px;
	border-radius: 8px;
	max-height: var(--prokompim-modal-height, 85vh);
	overflow-y: auto;
}

.prokompim-modal-close {
	position: absolute;
	top: 12px;
	right: 12px;
	background: none;
	border: 0;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #333;
}

.prokompim-sop-list {
	margin: 0 0 16px;
	padding-left: 20px;
}

.prokompim-sop-list li {
	margin-bottom: 6px;
}

.prokompim-sop-content {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.6;
}

.prokompim-sop-content img {
	max-width: 100%;
	height: auto;
}

.prokompim-sop-content ul,
.prokompim-sop-content ol {
	padding-left: 20px;
}

.prokompim-sop-links a {
	display: inline-block;
	margin-right: 12px;
	color: #0d6efd;
}

.prokompim-sop-check {
	display: block;
	margin: 16px 0;
	font-size: 14px;
}

.prokompim-btn-lanjut {
	width: 100%;
}

body.prokompim-modal-open {
	overflow: hidden;
}

.prokompim-form {
	max-width: 640px;
	margin-bottom: 40px;
}

.prokompim-form-el {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.prokompim-field {
	display: flex;
	flex-direction: column;
}

.prokompim-hp {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.prokompim-field label {
	font-weight: 600;
	margin-bottom: 4px;
	font-size: 14px;
}

.prokompim-required {
	color: #dc3545;
}

.prokompim-field input[type="text"],
.prokompim-field input[type="date"],
.prokompim-field input[type="time"],
.prokompim-field input[type="tel"],
.prokompim-field input[type="email"],
.prokompim-field input[type="number"],
.prokompim-field input[type="file"],
.prokompim-field select,
.prokompim-field textarea {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ced4da;
	border-radius: 0.375rem;
	font-size: 14px;
	background: #fff;
}

.prokompim-field input:focus,
.prokompim-field select:focus,
.prokompim-field textarea:focus {
	outline: none;
	border-color: #86b7fe;
	box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.prokompim-radio-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.prokompim-radio {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
}

.prokompim-field-hint {
	margin: 4px 0 0;
	font-size: 12px;
	color: #6c757d;
}

.prokompim-btn-submit {
	align-self: flex-start;
	margin-top: 8px;
}

.prokompim-form-error {
	background: #f8d7da;
	color: #842029;
	border: 1px solid #f5c2c7;
	padding: 10px 14px;
	border-radius: 0.375rem;
	margin-bottom: 12px;
	font-size: 14px;
}

.prokompim-notice {
	background: #cff4fc;
	color: #055160;
	border: 1px solid #b6effb;
	padding: 10px 14px;
	border-radius: 0.375rem;
	margin-bottom: 16px;
	font-size: 14px;
}

.prokompim-timeline {
	list-style: none;
	margin: 16px 0;
	padding: 0;
	position: relative;
}

.prokompim-timeline::before {
	content: '';
	position: absolute;
	left: 10px;
	top: 21px;
	bottom: 21px;
	width: 2px;
	background: #e0e0e0;
}

.prokompim-timeline-step {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 10px 0;
	position: relative;
}

.prokompim-timeline-marker {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #ccc;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	line-height: 1;
	color: #fff;
	z-index: 1;
}

.prokompim-timeline-step-done .prokompim-timeline-marker {
	background: #198754;
	border-color: #198754;
}

.prokompim-timeline-step-current .prokompim-timeline-marker {
	background: #0d6efd;
	border-color: #0d6efd;
}

.prokompim-timeline-step-pending .prokompim-timeline-marker {
	color: transparent;
}

.prokompim-timeline-label {
	font-size: 14px;
	line-height: 1.5;
	padding-top: 2px;
}

.prokompim-tracking {
	max-width: 640px;
}

.prokompim-tracking-header {
	margin-bottom: 12px;
}

.prokompim-tracking-kode {
	font-size: 18px;
	font-weight: 700;
}

.prokompim-tracking-service {
	color: #555;
	font-size: 14px;
}

.prokompim-tracking-status {
	font-weight: 600;
	font-size: 14px;
	margin-top: 4px;
}

.prokompim-tracking-pemohon {
	font-size: 14px;
	margin-top: 8px;
}

.prokompim-tracking-note {
	background: #fff3cd;
	border: 1px solid #ffecb5;
	border-left: 4px solid #ffc107;
	color: #664d03;
	padding: 10px 12px;
	border-radius: 0.375rem;
	font-size: 14px;
	margin-top: 8px;
}

.prokompim-success {
	max-width: 480px;
	text-align: center;
	padding: 24px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
}

.prokompim-kode {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 1px;
	background: #f5f5f5;
	padding: 16px;
	border-radius: 6px;
	margin: 16px 0;
}

.prokompim-success-note {
	font-size: 13px;
	color: #666;
}

.prokompim-cek-status {
	max-width: 480px;
	margin: 0;
}

.prokompim-cek-status-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 8px;
	color: #212529;
}

.prokompim-cek-status-desc {
	color: #6c757d;
	margin: 0 0 16px;
	font-size: 14px;
}

.prokompim-cek-status-form {
	display: block;
}

.prokompim-cek-status-label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 4px;
}

.prokompim-cek-status-row {
	display: flex;
	gap: 8px;
}

.prokompim-cek-status-row input[type="text"] {
	flex: 1;
	padding: 10px;
	border: 1px solid #ced4da;
	border-radius: 0.375rem;
	font-size: 14px;
}

.prokompim-cek-status-row input[type="text"]:focus {
	outline: none;
	border-color: #86b7fe;
	box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.prokompim-cek-status-result {
	margin-top: 16px;
}

.prokompim-loading,
.prokompim-error {
	font-size: 14px;
}

.prokompim-result {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 16px;
	margin-top: 16px;
}

.prokompim-result h3 {
	margin-top: 0;
}

.prokompim-result-table {
	width: 100%;
	border-collapse: collapse;
}

.prokompim-result-table th,
.prokompim-result-table td {
	text-align: left;
	padding: 8px;
	border-bottom: 1px solid #eee;
	font-size: 14px;
}

.prokompim-result-video {
	width: 100%;
	height: auto;
	margin-bottom: 12px;
	display: block;
}

.prokompim-result-catatan {
	margin-top: 12px;
	font-size: 14px;
}

@media (min-width: 600px) {
	.prokompim-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 960px) {
	.prokompim-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 600px) {
	.prokompim-modal-content {
		margin: 16px;
	}

	.prokompim-tab {
		padding: 10px 16px;
	}

	.prokompim-tab-panel {
		padding: 16px;
	}

	.prokompim-cek-status-row {
		flex-direction: column;
	}
}
