/*
Theme Name: xapes2
Theme URI: #
Author: Angel Aparicio
Author URI: #
Description: Funcionalidades y diseño para Capsmuselets. Versión usando API-Rest
Tags: capsmuselets
Version: 3.1
Tested up to: 6.0.0
Requires PHP: 7.0
Language: es_ES
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: capsmuselets
Domain Path: /languages
This theme, like WordPress, is licensed under the GPL.
*/

 .container-filtro {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.search-form-customluis {
	background: #f1f5f9;
	padding: 15px;
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-form-customluis input,
.search-form-customluis select {
	width: 100%;
	padding: 8px;
	margin-bottom: 10px;
	border: 1px solid #ddd;
	border-radius: 3px;
}

.search-button-customluis {
	background: #82c91e;
	color: white;
	padding: 8px;
	width: 100%;
	border: none;
	border-radius: 3px;
	cursor: pointer;
}

.reset-button {
	background: #ccc;
	color: #333;
	padding: 8px;
	width: 100%;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	margin-top: 2em;
	text-align: center;
	display: block;
}

.search-results-customluis {
	background: white;
	border: 1px solid #ddd;
	max-width: 100%;
	margin-top: 5px;
	padding: 5px;
	/*display: none;
	position: absolute;*/
	width: 100%;
	z-index: 1000;
}

.search-result-item-customluis {
	padding: 8px;
	border-bottom: 1px solid #eee;
}

.search-result-item-customluis a {
	text-decoration: none;
	color: #333;
}

.no-results-customluis {
	padding: 8px;
	color: #777;
	text-align: center;
}

.otro-form {
	width: 50%;
}

.search-form-customluis {
	width: 100%;
	background: #f1f5f9;
	padding: 15px;
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	flex-direction: column;
	align-items: center;
}

#search-input-customluis {
	width: 100%;
	padding: 10px;
	margin-bottom: 10px;
	border: 1px solid #ddd;
	border-radius: 3px;
}

.category-buttons {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	gap: 8px;
}

.category-button {
	flex: 1;
	padding: 10px;
	background: #ddd;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	text-align: center;
	transition: background 0.3s;
}

.category-button:hover {
	background: #bbb;
}

.category-button:focus {
	background: #82c91e;
	color: white;
}

.select_label {
	width: 100%;
	padding: 0.25em 0;
}

.select_label input {
	width: 25px;
	cursor: pointer;
}

.select_label label {
	width: auto;
	margin-bottom: 10px;
}

.select_label_field {
	margin-bottom: 1em;
}

.select_label_field select {
	margin-bottom: 0;   
}

@media(max-width: 998px) {
	.otro-form {
		width: 100%;
	}
}

.xapes-preview {
  position: absolute;
  pointer-events: none;
  z-index: 9999;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.xapes-preview img {
  display: block;
  max-width: 120px;
  height: auto;
}

.fep-form-field-fep-message-to, .fep-form-field-message_title {
display: flex;
padding-bottom: 0.5em;
}

.fep-form-field-fep-message-to .fep-label, .fep-form-field-message_title .fep-label {
min-width: 75px;
}

.fep-form-field-fep-message-to .fep-field input, .fep-form-field-message_title .fep-field input {
padding: 0 12px;
margin: 0 10px;
box-sizing: border-box;
background: #eee;
}

#fep-content {
border: 0;	
}

#wp-message_content-wrap {
padding-bottom: 1em;	
}

#fep-content h2 {
background: rgb(136 197 91);
padding: 0.25em 1em;
margin-bottom: 1em;
}

.fep-form-field-message_content .fep-label {
display: none;	
}

.fep-button, .fep-button-active,
.fep-button:hover, .fep-button-active:hover {
background-color: rgb(136 197 91);
border-color: rgb(136 197 91);	
}

#fep-footer {
display: none;	
}

#wp-message_content-editor-tools {
display: none;	
}

.fep-message .fep-message-title-heading.participants {
border: 0;
background: inherit;
font-size: 100%;
}