/**
 * LearnKit — Payment Verification Form Styles
 */

/* ── Wrap ───────────────────────────────────────────────────────────────── */
.lk-pv-wrap {
	max-width: 600px;
	margin: 0 auto;
	padding: 24px 0;
	font-family: inherit;
}

.lk-pv-title {
	font-size: 22px;
	margin-bottom: 16px;
}

/* ── Instructions ───────────────────────────────────────────────────────── */
.lk-pv-instructions {
	background: #f0f7ff;
	border-left: 4px solid #0073aa;
	padding: 12px 16px;
	margin-bottom: 20px;
	font-size: 14px;
	border-radius: 0 4px 4px 0;
}

/* ── Notices ────────────────────────────────────────────────────────────── */
.lk-pv-notice {
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 16px;
	font-size: 14px;
}

.lk-pv-notice-success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.lk-pv-notice-error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* ── Field groups ───────────────────────────────────────────────────────── */
.lk-pv-field-group {
	margin-bottom: 18px;
}

.lk-pv-label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 6px;
	color: #333;
}

.lk-required {
	color: #c0392b;
}

.lk-pv-input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 9px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	color: #333;
	background: #fff;
	transition: border-color .15s;
}

.lk-pv-input:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 2px rgba(0,115,170,.15);
}

select.lk-pv-input {
	cursor: pointer;
}

.lk-pv-hint {
	font-size: 12px;
	color: #888;
	margin-top: 4px;
}

/* ── Order ID row with lookup button ────────────────────────────────────── */
.lk-pv-input-row {
	display: flex;
	gap: 8px;
}

.lk-pv-input-row .lk-pv-input {
	flex: 1;
}

/* ── Order info box ─────────────────────────────────────────────────────── */
.lk-pv-order-info {
	background: #f8fafc;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 18px;
}

.lk-pv-info-table {
	width: 100%;
	font-size: 14px;
	border-collapse: collapse;
}

.lk-pv-info-table th {
	text-align: left;
	color: #666;
	font-weight: 500;
	padding: 3px 0;
	width: 100px;
}

.lk-pv-info-table td {
	font-weight: 600;
	color: #333;
}

/* ── File upload area ───────────────────────────────────────────────────── */
.lk-pv-file-area {
	position: relative;
	border: 2px dashed #ccc;
	border-radius: 6px;
	padding: 24px 16px;
	text-align: center;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}

.lk-pv-file-area:hover,
.lk-pv-file-area.drag-over {
	border-color: #0073aa;
	background: #f0f7ff;
}

.lk-pv-file-area input[type="file"] {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
	width: 100%;
	height: 100%;
}

.lk-pv-file-label {
	pointer-events: none;
	font-size: 14px;
	color: #555;
}

.lk-pv-file-icon {
	display: block;
	font-size: 28px;
	margin-bottom: 6px;
}

#lk-pv-receipt-preview img {
	max-width: 120px;
	max-height: 120px;
	border: 1px solid #ddd;
	border-radius: 4px;
	object-fit: contain;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.lk-pv-btn {
	display: inline-block;
	padding: 10px 22px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	transition: opacity .15s;
}

.lk-pv-btn:disabled {
	opacity: .6;
	cursor: not-allowed;
}

.lk-pv-btn-primary {
	background: #0073aa;
	color: #fff;
}

.lk-pv-btn-primary:hover:not(:disabled) {
	background: #005f8d;
}

.lk-pv-btn-secondary {
	background: #f0f0f0;
	color: #333;
	border: 1px solid #ccc;
}

.lk-pv-btn-secondary:hover:not(:disabled) {
	background: #e0e0e0;
}
