/* Email Capture – form.css v2.0.0 */

/* Wrapper compartido por shortcode y widget Elementor */
.ec-wrapper,
.ec-widget-wrapper {
    font-family: inherit;
    width: 100%;
}

/* Contenedor principal: fondo oscuro, pill shape */
.ec-form-container {
    display: flex;
    align-items: center;
    background-color: #2a2a2a;
    border-radius: 50px;
    padding: 6px 6px 6px 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.35);
    position: relative;
}

/* Input */
.ec-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    caret-color: #00c8c8;
    min-width: 0;
    padding: 0;
    line-height: 1;
}

.ec-input::placeholder {
    color: #6b6b6b;
    letter-spacing: 0.14em;
}

/* Fix autofill Chrome */
.ec-input:-webkit-autofill,
.ec-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #2a2a2a inset;
    -webkit-text-fill-color: #ffffff;
    transition: background-color 5000s ease-in-out 0s;
}

/* Botón – superpuesto al final del input, redondeado */
.ec-wrapper .ec-button,
.ec-widget-wrapper .ec-button,
.ec-form-container .ec-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #00b5c3;
    color: #ffffff;
    border: none !important;
    border-radius: 50px !important;
    padding: 14px 32px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
}

.ec-wrapper .ec-button:hover,
.ec-widget-wrapper .ec-button:hover,
.ec-form-container .ec-button:hover {
    background-color: #00a2af;
}

.ec-button:active {
    transform: scale(0.97);
}

.ec-button:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

/* Spinner loader */
.ec-btn-loader svg {
    display: block;
}

/* Mensaje de respuesta */
.ec-message {
    margin-top: 10px;
    padding: 0 8px;
    font-size: 13px;
    letter-spacing: 0.03em;
    min-height: 18px;
    transition: opacity 0.3s ease;
}

.ec-message.ec-success { color: #00b5c3; }
.ec-message.ec-error   { color: #ff6b6b; }

/* Responsivo */
@media (max-width: 480px) {
    .ec-form-container {
        padding: 5px 5px 5px 16px;
    }
    .ec-button {
        padding: 12px 20px;
        font-size: 12px;
    }
    .ec-input {
        font-size: 12px;
    }
}

/* Contenedor del aviso de privacidad (inicialmente oculto) */
.ec-privacy-container {
    margin-top: 14px;
    padding: 0 8px;
    font-size: 13px;
    color: #b0b0b0;
    line-height: 1.4;
    text-align: left;
}

.ec-privacy-label {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.ec-privacy-checkbox {
    margin-top: 3px;
    cursor: pointer;
    accent-color: #00b5c3; /* Coincide con el color del botón por defecto */
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.ec-privacy-text-span {
    color: #b0b0b0;
}

.ec-privacy-link {
    color: #00b5c3;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.ec-privacy-link:hover {
    color: #00a2af;
}
