/**
 * EuroEmotur - Área Privada (reemplazo de PrivateContent)
 * Estilos propios de las pestañas "Documentación privada", "Documentación de grupo" y
 * "Mi perfil". Reutiliza los colores de marca ya presentes en el theme (negro, amarillo
 * #f2c308, azul #2d4480) para mantener coherencia visual con el resto del sitio.
 * Cargado únicamente en las páginas del Área Privada (ver private-area-render.php).
 */

/* ------------------------------------------------------------------ */
/* Listado de documentos (privados y de grupo)                        */
/* ------------------------------------------------------------------ */

.entry-content ul.euro-pc-files-list,
.euro-pc-files-list {
	list-style: none !important;
	margin: 0 0 30px 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.euro-pc-files-list .euro-pc-file {
	list-style: none !important;
	margin: 0;
	padding: 0;
}

.euro-pc-files-list .euro-pc-file::marker {
	content: '';
}

.euro-pc-file-link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	background: #f7f8fc;
	border: 1px solid #e5e8f0;
	border-radius: 10px;
	text-decoration: none !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.euro-pc-file-link:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(45, 68, 128, 0.12);
	border-color: #2d4480;
}

.euro-pc-file-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	background: #2d4480;
	color: #fff;
	font-size: 16px;
}

.euro-pc-file-name {
	flex: 1 1 auto;
	color: #151515;
	font-weight: 600;
	word-break: break-word;
}

.euro-pc-file-size {
	flex: 0 0 auto;
	font-size: 12px;
	color: #7c828f;
	background: #ecedf3;
	padding: 3px 10px;
	border-radius: 20px;
	white-space: nowrap;
}

.euro-pc-file-download {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	color: #2d4480;
	background: transparent;
	transition: background 0.15s ease, color 0.15s ease;
}

.euro-pc-file-link:hover .euro-pc-file-download {
	background: #f2c308;
	color: #151515;
}

.euro-pc-no-files {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 24px 18px;
	margin-bottom: 30px;
	background: #f7f8fc;
	border: 1px dashed #d7dae3;
	border-radius: 10px;
	color: #8a8f9a;
	font-style: italic;
}

.euro-pc-no-files i {
	font-size: 20px;
}

/* ------------------------------------------------------------------ */
/* Formularios (contraseña y perfil)                                   */
/* ------------------------------------------------------------------ */

.celr_box_pass,
.celr_box_perfil {
	width: 100%;
	box-sizing: border-box;
	margin: 0 0 30px 0;
	padding: 30px 32px;
	background: #fff;
	border: 1px solid #eaecf2;
	border-radius: 14px;
	box-shadow: 0 4px 20px rgba(20, 25, 45, 0.06);
}

.celr_box_pass h2,
.celr_box_perfil h2 {
	margin-top: 0;
	margin-bottom: 22px;
	font-size: 20px;
	padding-bottom: 14px;
	border-bottom: 2px solid #f2c308;
}

.euro-pc-form p {
	margin-bottom: 18px;
}

.euro-pc-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #565b66;
}

.euro-pc-form input[type="text"],
.euro-pc-form input[type="password"],
.euro-pc-form input[type="url"],
.euro-pc-form input[type="file"],
.euro-pc-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 14px;
	border: 1px solid #dcdfe6;
	border-radius: 8px;
	background: #fbfbfd;
	font-size: 14px;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.euro-pc-form input[type="text"]:focus,
.euro-pc-form input[type="password"]:focus,
.euro-pc-form input[type="url"]:focus,
.euro-pc-form textarea:focus {
	outline: none;
	border-color: #2d4480;
	background: #fff;
}

.euro-pc-form textarea {
	resize: vertical;
}

.euro-pc-form button[type="submit"] {
	display: inline-block;
	padding: 12px 28px !important;
	background: #151515;
	color: #fff !important;
	border: none;
	border-radius: 30px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.euro-pc-form button[type="submit"]:hover {
	background: #f2c308;
	color: #151515 !important;
}

/* Formulario de contraseña: 4 columnas en desktop, apilado en móvil */
@media screen and (min-width: 768px) {
	.euro-pc-password-form-grid {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 16px;
		align-items: end;
	}

	.euro-pc-password-form-grid .euro-pc-password-field,
	.euro-pc-password-form-grid .euro-pc-password-submit {
		margin-bottom: 0;
	}

	.euro-pc-password-form-grid .euro-pc-password-submit button[type="submit"] {
		width: 100%;
		margin: 0;
		white-space: nowrap;
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
}

.euro-pc-current-image {
	margin-bottom: 18px;
}

.euro-pc-current-image img {
	border-radius: 10px;
	border: 1px solid #eaecf2;
	box-shadow: 0 2px 10px rgba(20, 25, 45, 0.08);
}

.euro-pc-form input[type="file"] {
	padding: 8px 10px;
	background: #fff;
}

/* Notices (éxito / error) */

.euro-pc-notice {
	width: 100%;
	box-sizing: border-box;
	margin: 0 0 20px 0;
	padding: 14px 18px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
}

.euro-pc-notice-success {
	background: #eaf7ee;
	color: #1e7d3c;
	border: 1px solid #cdeed9;
}

.euro-pc-notice-error {
	background: #fdecec;
	color: #b3261e;
	border: 1px solid #f6cfcf;
}

/* ------------------------------------------------------------------ */
/* Respiro general del contenido de las pestañas                       */
/* ------------------------------------------------------------------ */

.celr_tab_content .tab-pane {
	padding-top: 10px;
}
