html, body {
	margin: 0;
	padding: 0;
}

body {
	background: #f5f7fb !important;
}

.cfp-app {
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch;
	min-height: 100vh;
	width: 100%;
	background: #f5f7fb;
}

.cfp-sidebar {
	width: 260px;
	min-width: 260px;
	background: #111827;
	color: #ffffff;
	padding: 24px 18px;
	box-sizing: border-box;
	flex-shrink: 0;
	min-height: 100vh;
}

.cfp-logo h2 {
	margin: 0 0 28px;
	font-size: 24px;
	color: #ffffff;
}

.cfp-menu {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cfp-menu-link {
	display: block;
	padding: 12px 14px;
	border-radius: 10px;
	text-decoration: none;
	color: #e5e7eb !important;
	background: transparent;
	transition: 0.2s ease;
}

.cfp-menu-link:hover {
	background: #1f2937;
	color: #ffffff !important;
}

.cfp-main {
	flex: 1;
	padding: 30px;
	box-sizing: border-box;
	min-width: 0;
}

.cfp-header {
	margin-bottom: 20px;
}

.cfp-header h1 {
	margin: 0;
	font-size: 34px;
	color: #111827;
}

.cfp-content {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.cfp-box,
.cfp-card {
	background: #ffffff;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
	box-sizing: border-box;
}

.cfp-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}

.cfp-card h3 {
	margin: 0 0 8px;
	font-size: 15px;
	color: #6b7280;
}

.cfp-card p {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	color: #111827;
}

.cfp-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cfp-form-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.cfp-form-row input,
.cfp-form-row select {
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	font-size: 14px;
	box-sizing: border-box;
}

.cfp-form-actions {
	margin-top: 8px;
}

.cfp-btn {
	display: inline-block;
	padding: 10px 16px;
	background: #2563eb;
	color: #ffffff !important;
	border: none;
	border-radius: 10px;
	text-decoration: none;
	cursor: pointer;
}

.cfp-btn-danger {
	background: #dc2626;
}

.cfp-table {
	width: 100%;
	border-collapse: collapse;
	background: #ffffff;
}

.cfp-table th,
.cfp-table td {
	padding: 12px;
	border-bottom: 1px solid #e5e7eb;
	text-align: left;
}

.cfp-color-dot {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	margin-right: 8px;
	vertical-align: middle;
}

.cfp-alert {
	padding: 14px 16px;
	border-radius: 10px;
	font-weight: 600;
}

.cfp-alert-success {
	background: #dcfce7;
	color: #166534;
}

.cfp-alert-error {
	background: #fee2e2;
	color: #991b1b;
}

/* Quitar estilos molestos del tema alrededor del shortcode */
.entry-content > .cfp-app,
.wp-block-post-content > .cfp-app,
.post-content > .cfp-app {
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

/* Responsive */
@media (max-width: 900px) {
	.cfp-app {
		flex-direction: column !important;
	}

	.cfp-sidebar {
		width: 100%;
		min-width: 100%;
		min-height: auto;
	}

	.cfp-main {
		padding: 20px;
	}
}
