/*
Theme Name: comarca
Theme URI: 
Author: Antonio Ortiz
Author URI: https://formacionlibre.com
Description: Bespoke theme for Mancomunidad de Municipios Comarca de Huéscar. FSE Theme, Blocks, etc.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: comarca
Tags: 


/** 
* Construction 
*/
footer {
    margin: 0;
}

/**
 * Utility Classes
 */
.fit-content {
    width: fit-content;
}


/* Estilos generales del formulario */
.nf-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Estilos para etiquetas */
.nf-form-fields-required {
    display: none;
}

.nf-field-label {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
    display: block;
    color: #333;
}

/* Estilos para inputs y textarea */
.nf-field-element input,
.nf-field-element textarea,
.nf-field-element select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.nf-field-element input:focus,
.nf-field-element textarea:focus,
.nf-field-element select:focus {
    border-color: #0073e6;
    box-shadow: 0 0 5px rgba(0, 115, 230, 0.3);
    outline: none;
}

/* Estilos para el botón de enviar */
.nf-field-element input[type="submit"] {
    background: var(--wp--preset--color--primary-600);
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    padding: 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.nf-field-element input[type="submit"]:hover {
    background: var(--wp--preset--color--primary-500);
}

/* Ajustes para mensajes de error */
.nf-error-msg {
    color: red;
    font-size: 14px;
    margin-top: 5px;
}
