/**
 * Canal de Denuncias SPLAFT Stylesheet
 *
 * @package           FactoringCapital\CanalDenunciasSplaft
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

.fcc-cds-container {
	font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
	max-width: 850px;
	margin: 30px auto;
	padding: 40px;
	box-sizing: border-box;
	color: #334155;
	line-height: 1.6;
}

.fcc-cds-container * {
	box-sizing: border-box;
}

/* Header & Titles */
.fcc-cds-header {
	text-align: center;
	margin-bottom: 30px;
	border-bottom: 2px solid #f1f5f9;
	padding-bottom: 25px;
}

.fcc-cds-title {
	font-size: 28px;
	font-weight: 700;
	color: #1a3a5c;
	margin: 0 0 8px 0;
	letter-spacing: -0.5px;
	text-transform: uppercase;
}

.fcc-cds-subtitle {
	font-size: 16px;
	color: #d70027;
	margin: 0;
	font-weight: 600;
	letter-spacing: 0.5px;
}

/* Intro text */
.fcc-cds-intro {
	margin-bottom: 30px;
}

.fcc-cds-intro p {
	font-size: 15px;
	color: #475569;
	margin: 0 0 15px 0;
}

.fcc-cds-intro p strong {
	color: #1a3a5c;
}

/* Reportable situations cards */
.fcc-cds-info-block {
	background: #f8fafc;
	border-radius: 12px;
	padding: 25px;
	margin-bottom: 35px;
	border: 1px solid #e2e8f0;
}

.fcc-cds-info-title {
	font-size: 16px;
	font-weight: 700;
	color: #1a3a5c;
	margin: 0 0 20px 0;
	text-align: center;
	letter-spacing: 0.5px;
}

.fcc-cds-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

@media (max-width: 640px) {
	.fcc-cds-grid {
		grid-template-columns: 1fr;
	}
}

.fcc-cds-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 15px 20px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fcc-cds-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.fcc-cds-card h3 {
	font-size: 14px;
	font-weight: 700;
	color: #d70027;
	margin: 0 0 10px 0;
}

.fcc-cds-card ul {
	margin: 0;
	padding-left: 15px;
}

.fcc-cds-card ul li {
	font-size: 13px;
	color: #475569;
	margin-bottom: 6px;
}

/* Guarantee Alert */
.fcc-cds-guarantee {
	border-left: 4px solid #1a3a5c;
	background: #eff6ff;
	padding: 20px;
	border-radius: 0 8px 8px 0;
	margin-bottom: 40px;
}

.fcc-cds-guarantee h2 {
	font-size: 15px;
	font-weight: 700;
	color: #1a3a5c;
	margin: 0 0 8px 0;
}

.fcc-cds-guarantee p {
	font-size: 13.5px;
	color: #1e3a8a;
	margin: 0;
}

/* Form Fields */
.fcc-cds-form-el {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.fcc-cds-fieldset {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 25px;
	margin: 0;
}

.fcc-cds-fieldset legend {
	font-size: 16px;
	font-weight: 700;
	color: #1a3a5c;
	padding: 0 10px;
}

.fcc-cds-helper-text {
	font-size: 13px;
	color: #64748b;
	margin: 0 0 15px 0;
}

.fcc-cds-field-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 18px;
}

.fcc-cds-field-group:last-child {
	margin-bottom: 0;
}

.fcc-cds-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

@media (max-width: 600px) {
	.fcc-cds-field-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

.fcc-cds-field-group label {
	font-size: 14px;
	font-weight: 600;
	color: #334155;
}

.fcc-cds-field-group label .required {
	color: #d70027;
}

.fcc-cds-field-group input[type="text"],
.fcc-cds-field-group input[type="email"],
.fcc-cds-field-group input[type="date"],
.fcc-cds-field-group select,
.fcc-cds-field-group textarea {
	background-color: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 10px 14px;
	font-family: inherit;
	font-size: 14px;
	color: #1e293b;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	width: 100%;
}

.fcc-cds-field-group input:focus,
.fcc-cds-field-group select:focus,
.fcc-cds-field-group textarea:focus {
	border-color: #1a3a5c;
	box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.15);
	outline: none;
	background-color: #ffffff;
}

.fcc-cds-field-group textarea {
	resize: vertical;
}

/* Radio Group */
.fcc-cds-radio-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fcc-cds-radio-label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 500;
	color: #334155;
	cursor: pointer;
}

.fcc-cds-radio-label input[type="radio"] {
	margin: 0;
	width: 18px;
	height: 18px;
	accent-color: #1a3a5c;
}

/* Checkbox group */
.fcc-cds-checkbox-group {
	display: flex;
	flex-direction: column;
}

.fcc-cds-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 13px;
	color: #475569;
	cursor: pointer;
}

.fcc-cds-checkbox-label input[type="checkbox"] {
	margin-top: 3px;
	width: 16px;
	height: 16px;
	accent-color: #1a3a5c;
	flex-shrink: 0;
}

.fcc-cds-checkbox-label .required {
	color: #d70027;
}

/* Character Counter */
.fcc-cds-char-counter {
	font-size: 12px;
	color: #64748b;
	text-align: right;
	margin-top: 4px;
}

/* File selector */
.fcc-cds-file-preview {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 10px;
}

.fcc-file-item {
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 6px 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12.5px;
	color: #334155;
}

.fcc-file-item span {
	font-weight: 500;
}

/* Error Messages */
.error-msg {
	color: #d70027;
	font-size: 12px;
	font-weight: 500;
	margin-top: 4px;
	display: block;
}

.fcc-cds-field-group.has-error input,
.fcc-cds-field-group.has-error select,
.fcc-cds-field-group.has-error textarea {
	border-color: #d70027;
	box-shadow: 0 0 0 3px rgba(215, 0, 39, 0.1);
}

/* Submit Actions */
.fcc-cds-submit-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	margin-top: 10px;
}

.fcc-cds-button {
	background: #1a3a5c;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 14px 30px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.1s ease;
	width: 100%;
	max-width: 320px;
	box-shadow: 0 4px 6px -1px rgba(26, 58, 92, 0.2), 0 2px 4px -1px rgba(26, 58, 92, 0.1);
}

.fcc-cds-button:hover:not(:disabled) {
	background: #122942;
	transform: translateY(-1px);
}

.fcc-cds-button:active:not(:disabled) {
	transform: translateY(0);
}

.fcc-cds-button:disabled {
	background: #cbd5e1;
	color: #94a3b8;
	cursor: not-allowed;
	box-shadow: none;
}

/* Loading states */
.fcc-cds-loader-el {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #1a3a5c;
	font-weight: 600;
}

.fcc-spinner {
	border: 3px solid #f3f3f3;
	border-top: 3px solid #1a3a5c;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Response Containers */
.fcc-cds-response-container {
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 30px;
	font-size: 14px;
	animation: fadeIn 0.3s ease;
}

.fcc-cds-response-container.success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.fcc-cds-response-container.error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.fcc-cds-success-title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 10px 0;
	color: #047857;
	display: flex;
	align-items: center;
	gap: 8px;
}

.fcc-cds-tracking-box {
	background: #ffffff;
	border: 2px dashed #059669;
	border-radius: 6px;
	padding: 15px;
	text-align: center;
	margin-top: 15px;
}

.fcc-cds-tracking-label {
	font-size: 12px;
	color: #047857;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.5px;
	margin-bottom: 4px;
}

.fcc-cds-tracking-code {
	font-size: 24px;
	font-weight: 800;
	color: #065f46;
	letter-spacing: 1px;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(-5px); }
	to { opacity: 1; transform: translateY(0); }
}
