/* ==========================================================================
   Visa Status Checker — shared styles (admin + frontend)
   ========================================================================== */

/* ---- Status badges ---- */
.vsc-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	background: #e2e8f0;
	color: #334155;
}
.vsc-badge-approved,
.vsc-badge-done { background: #dcfce7; color: #166534; }
.vsc-badge-rejected { background: #fee2e2; color: #991b1b; }
.vsc-badge-in-process,
.vsc-badge-under-review { background: #fef3c7; color: #92400e; }
.vsc-badge-on-hold { background: #e0e7ff; color: #3730a3; }
.vsc-badge-received { background: #dbeafe; color: #1e40af; }
.vsc-badge-additional-documents-required { background: #fed7aa; color: #9a3412; }

/* ---- Admin form ---- */
.vsc-wrap .form-table th { width: 220px; }

/* ---- Frontend checker box ---- */
.vsc-checker-box {
	max-width: 520px;
	margin: 24px auto;
	padding: 28px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.vsc-label {
	display: block;
	margin-bottom: 10px;
	font-weight: 600;
	font-size: 15px;
	color: #1e293b;
}

.vsc-input-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.vsc-input {
	flex: 1 1 220px;
	padding: 12px 14px;
	font-size: 15px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	outline: none;
	transition: border-color 0.15s ease;
}
.vsc-input:focus { border-color: #1d4ed8; }

.vsc-btn {
	padding: 12px 22px;
	font-size: 15px;
	font-weight: 600;
	color: #ffffff;
	background: #1d4ed8;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.15s ease;
}
.vsc-btn:hover { background: #1e40af; }
.vsc-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.vsc-result-box {
	margin-top: 22px;
	padding: 18px 20px;
	border-radius: 10px;
}

.vsc-result-success {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.vsc-result-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.vsc-result-header { margin-bottom: 12px; }

.vsc-result-table {
	width: 100%;
	border-collapse: collapse;
}
.vsc-result-table th,
.vsc-result-table td {
	text-align: left;
	padding: 8px 6px;
	font-size: 14px;
	border-bottom: 1px solid #e2e8f0;
}
.vsc-result-table th {
	width: 40%;
	color: #64748b;
	font-weight: 500;
}
.vsc-result-table td {
	color: #0f172a;
	font-weight: 600;
}
.vsc-result-table tr:last-child th,
.vsc-result-table tr:last-child td {
	border-bottom: none;
}

@media (max-width: 480px) {
	.vsc-input-row { flex-direction: column; }
	.vsc-btn { width: 100%; }
}
