/* Formulario de Contacto Seguro - Estilos */

.fcs-formulario-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.fcs-formulario {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.fcs-campo {
    margin-bottom: 20px;
}

.fcs-campo label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.fcs-campo .requerido {
    color: #e74c3c;
}

.fcs-campo input[type="text"],
.fcs-campo input[type="email"],
.fcs-campo input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.fcs-campo input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.fcs-campo input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #e74c3c;
}

.fcs-boton {
    width: 100%;
    padding: 14px 20px;
    background-color: #3498db;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.fcs-boton:hover {
    background-color: #2980b9;
}

.fcs-boton:active {
    transform: translateY(1px);
}

.fcs-boton:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
    transform: none;
}

.fcs-spinner {
    display: inline-block;
}

.fcs-mensaje {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.fcs-mensaje.exito {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.fcs-mensaje.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Honeypot - debe estar completamente oculto */
.fcs-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Responsive */
@media (max-width: 768px) {
    .fcs-formulario-wrapper {
        padding: 10px;
    }
    
    .fcs-formulario {
        padding: 20px;
    }
}

/* Animación de carga */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fcs-boton .fcs-spinner::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}
