/**
 * Formularios frontend: campos de solo lectura del reporte y firma en canvas.
 * (Orden de import fijado por frontend.css; no reordenar sin revisar cascada.)
 */

/* Campos derivados de la cuenta (no editables en el formulario de reporte) */
.cc-ra-readonly-field {
	width: 100%;
	max-width: 100%;
	min-height: var(--cc-ra-input-height, 46px);
	padding: 0.68rem 0.78rem;
	border: 1px solid var(--cc-ra-border, #cbd5e1);
	border-radius: var(--cc-ra-radius-input, 14px);
	background: rgba(248, 250, 252, 0.9);
	color: var(--cc-ra-muted-strong, #334155);
	cursor: default;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.cc-ra-signature-section {
	margin-top: 0.5rem;
	border-color: rgba(11, 116, 209, 0.14);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.74));
}

.cc-ra-signature-section > p:first-of-type {
	margin-top: 0.35rem;
	color: #475569;
	font-size: 0.95rem;
}

.cc-ra-signature-pad {
	width: 100%;
	margin-top: 0.75rem;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	touch-action: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 24px rgba(15, 23, 42, 0.06);
}

.cc-ra-signature-pad canvas {
	display: block;
	width: 100%;
	height: 200px;
	cursor: crosshair;
	touch-action: none;
	background: #fff;
}

.cc-ra-signature-actions {
	margin-top: 0.65rem;
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.cc-ra-report-form > .cc-ra-card {
	width: 100%;
	max-width: var(--cc-ra-form-max-width, 100%);
	margin-left: auto;
	margin-right: auto;
	padding: clamp(20px, 3vw, 34px);
	border-radius: var(--cc-ra-radius-container, 16px);
}

.cc-ra-report-form > .cc-ra-card > h2 {
	margin-bottom: 18px;
	font-weight: 850;
	letter-spacing: -0.04em;
}

.cc-ra-report-form .cc-ra-section-card {
	border-color: rgba(15, 23, 42, 0.08);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
}

.cc-ra-report-form .cc-ra-section-card h3 {
	display: flex;
	align-items: center;
	gap: 9px;
}

.cc-ra-report-form .cc-ra-section-card h3::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--cc-ra-blue), var(--cc-ra-green));
	box-shadow: 0 0 0 5px rgba(11, 116, 209, 0.08);
	flex: 0 0 auto;
}

.cc-ra-report-form .cc-ra-file-drop h4 {
	margin-bottom: 6px;
	color: var(--cc-ra-text);
}

.cc-ra-report-form .cc-ra-file-drop .cc-ra-btn {
	margin-top: 6px;
}
