.zonacar-checklist-wrapper {
	max-width: 900px;
	margin: 0 auto;
	background: #ffffff;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.08);
	font-family: 'Inter', sans-serif;
	color: #333;
}

.zonacar-title {
	text-align: center;
	color: #ff6600; /* Color corporativo Naranja */
	margin-bottom: 30px;
	font-weight: 800;
	font-size: 2rem;
}

.zonacar-form-section {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 2px solid #f0f0f0;
}

.zonacar-form-section h3 {
	font-size: 1.3rem;
	color: #ff6600;
	margin-bottom: 20px;
	border-left: 4px solid #ff6600;
	padding-left: 10px;
}

.zonacar-form-row {
	display: flex;
	gap: 20px;
	margin-bottom: 15px;
	flex-wrap: wrap;
}

.zonacar-form-group {
	flex: 1;
	min-width: 250px;
	display: flex;
	flex-direction: column;
	margin-bottom: 15px;
}

.zonacar-form-group label {
	font-weight: 600;
	margin-bottom: 8px;
	color: #444;
	font-size: 0.95rem;
}

.zonacar-form-group input[type="text"],
.zonacar-form-group select,
.zonacar-form-group textarea {
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 1rem;
	transition: all 0.3s ease;
	width: 100%;
	box-sizing: border-box;
}

.zonacar-form-group input[type="text"]:focus,
.zonacar-form-group select:focus,
.zonacar-form-group textarea:focus {
	border-color: #ff6600;
	outline: none;
	box-shadow: 0 0 0 3px rgba(255,102,0,0.15);
}

.zc-accesorios-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 10px;
}

.zc-checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	padding: 8px;
	border-radius: 4px;
	background: #f9f9f9;
	transition: background 0.2s;
}

.zc-checkbox-label:hover {
	background: #fff0e6;
}

/* Dinamic Rows (3 botones) */
.zonacar-item-row {
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 15px;
	margin-bottom: 15px;
	transition: background-color 0.3s ease;
}

.zonacar-item-row.bg-funciona {
	background-color: #e8f5e9; /* Verde muy claro */
	border-color: #c8e6c9;
}

.zonacar-item-row.bg-nofunciona {
	background-color: #ffebee; /* Rojo muy claro */
	border-color: #ffcdd2;
}

.zonacar-item-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
}

.zonacar-item-title {
	font-weight: 700;
	font-size: 1.05rem;
	flex: 1;
}

.zonacar-item-actions {
	display: flex;
	gap: 10px;
}

.zc-radio-btn {
	cursor: pointer;
	padding: 8px 15px;
	border-radius: 20px;
	font-size: 0.9rem;
	font-weight: 600;
	background: #f0f0f0;
	color: #666;
	transition: all 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.zc-radio-btn input[type="radio"] {
	display: none;
}

/* Selected States for Radios */
.zc-radio-btn.zc-neutral input:checked + label, /* Fallback */
.zc-radio-btn.zc-neutral:has(input:checked) {
	background: #ccc;
	color: #333;
}

.zc-radio-btn.zc-funciona:has(input:checked) {
	background: #4caf50;
	color: white;
}

.zc-radio-btn.zc-nofunciona:has(input:checked) {
	background: #f44336;
	color: white;
}

/* Details Box */
.zonacar-item-details {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px dashed rgba(0,0,0,0.1);
}

.zonacar-item-row.bg-funciona .zonacar-item-details {
	opacity: 0.8; /* Color opaco si funciona */
}

.zc-details-inner textarea {
	width: 100%;
	margin-bottom: 15px;
}

.zc-media-inputs {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.zc-media-group {
	flex: 1;
	min-width: 200px;
	background: rgba(255,255,255,0.6);
	padding: 10px;
	border-radius: 6px;
}

.zc-media-group label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 8px;
}

.zc-audio-controls {
	display: flex;
	align-items: center;
	gap: 10px;
}

.zc-record-btn, .zc-stop-btn {
	padding: 6px 12px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 600;
	font-size: 0.85rem;
}

.zc-record-btn {
	background: #ff9800; /* Naranja secundario */
	color: white;
}

.zc-stop-btn {
	background: #f44336;
	color: white;
}

.zc-audio-status {
	font-size: 0.8rem;
	color: #d32f2f;
	font-weight: bold;
	animation: blink 1s infinite alternate;
}

@keyframes blink {
	0% { opacity: 1; }
	100% { opacity: 0.3; }
}

/* Submit */
.zonacar-form-submit {
	text-align: center;
	margin-top: 40px;
}

#zonacar-submit-btn {
	background: #ff6600; /* Naranja corporativo */
	color: #fff;
	border: none;
	padding: 15px 40px;
	font-size: 1.2rem;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 700;
	transition: all 0.3s;
	box-shadow: 0 4px 15px rgba(255,102,0,0.3);
}

#zonacar-submit-btn:hover {
	background: #e65c00;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255,102,0,0.4);
}

#zonacar-submit-btn:disabled {
	background: #ccc;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

#zonacar-form-message {
	margin-top: 20px;
	padding: 15px;
	border-radius: 6px;
	text-align: center;
	font-weight: bold;
}

.zonacar-success { background: #d4edda; color: #155724; }
.zonacar-error { background: #f8d7da; color: #721c24; }

/* CSS Buscador Frontend */
.zonacar-search-wrapper {
	max-width: 800px;
	margin: 20px auto;
	font-family: 'Inter', sans-serif;
}
.zonacar-search-box {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
}
.zonacar-search-box input {
	flex: 1;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 1rem;
}
.zonacar-search-box button {
	background: #ff6600;
	color: #fff;
	border: none;
	padding: 12px 25px;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 700;
}
.zc-result-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 15px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.zc-result-card h4 {
	margin-top: 0;
	color: #ff6600;
}
.zc-result-fallas {
	background: #fff3f3;
	padding: 10px;
	border-left: 4px solid #f44336;
	margin-top: 10px;
}
.zc-result-ok {
	background: #e8f5e9;
	padding: 10px;
	border-left: 4px solid #4caf50;
	margin-top: 10px;
}

/* Nuevos Estilos V3: Botones Toggle y Canvas */
.zc-btn-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
}
.zc-toggle-btn {
	display: block;
	cursor: pointer;
}
.zc-toggle-btn input[type="checkbox"] {
	display: none;
}
.zc-toggle-btn span {
	display: block;
	padding: 12px 15px;
	background: #f4f4f4;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	text-align: center;
	font-weight: 600;
	color: #555;
	transition: all 0.2s ease;
	user-select: none;
}
.zc-toggle-btn input[type="checkbox"]:checked + span {
	background: #fff0e6;
	border-color: #ff6600;
	color: #ff6600;
	box-shadow: 0 4px 10px rgba(255,102,0,0.15);
}
.zc-canvas-container {
	border: 2px dashed #ccc;
	border-radius: 8px;
	background: #fafafa;
	cursor: crosshair;
	overflow: hidden;
	touch-action: none; /* Previene scroll en móviles al dibujar */
}
#zc-firma-pad {
	display: block;
	width: 100%;
	background: transparent;
}
