.ewb-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #ffffff;
    border-radius: 18px;
    padding: 14px;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}

.ewb-box * {
    box-sizing: border-box;
}

.ewb-field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #faf3e9;
    border-radius: 12px;
    padding: 8px 16px;
    border: 2px solid transparent;
    flex: 1 1 160px;
    min-width: 160px;
}

.ewb-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.ewb-icon svg {
    width: 20px;
    height: 20px;
    stroke: #c0392b;
}

.ewb-field-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.ewb-field-label {
    font-size: 13px;
    font-weight: 600;
    color: #b5652e;
    margin-bottom: 2px;
}

.ewb-field input,
.ewb-field select {
    border: none;
    background: transparent;
    outline: none;
    font-size: 15px;
    color: #2b4a63;
    font-weight: 600;
    padding: 0;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.ewb-field select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232b4a63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px;
}

.ewb-field input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

.ewb-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #c0472e;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 18px 28px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease;
    flex: 0 0 auto;
}

.ewb-button:hover {
    background: #a53a25;
}

.ewb-search-icon {
    width: 16px;
    height: 16px;
}

/* La orientación (fila/columna) por dispositivo ahora se controla
   desde Elementor: Estilo > Contenedor > Orientación.
   Con "Alineación de los campos" en Estirar (valor por defecto),
   los campos ocupan el ancho completo automáticamente al apilarse. */
.ewb-box {
    width: 100%;
    box-sizing: border-box;
}
