/* Design 4 - Icon + Button Combo Search Field */
.mv-default-field-container {
    display: flex;
    gap: 0;
    background: white;
    border: 0.0625rem solid #e0e0e0;
    border-radius: .5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    align-items: stretch;
    width: 100%;
    height:2.8rem;
    align-items:center;
}

.mv-default-field-container:focus-within {
    border-color: #ef4444;
    box-shadow: 0 0.5rem 1.25rem rgba(239, 68, 68, 0.2);
}

/* Search Icon */
.mv-default-field-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-size: 1.25rem;
    pointer-events: none;
    width: 1.25rem;
    height: 1.25rem;
}

/* Search Box */
.mv-default-box {
    display: flex;
    align-items: stretch;
    background-color: white;
    border-radius: 62.4375rem;
    overflow: hidden;
    margin-bottom: 1rem;
   padding: 0rem 0rem 0rem .5rem;
}

.mv-highlight {
    color: var(--mv-primary-color);
}

.mv-default-box {
    display: flex;
    align-items: center;
    background: var(--mv-white);
    padding: 0.5rem 1rem;
    border-radius: 3.125rem;
    gap: 1rem;
    border: 0.0625rem solid #e0e0e0;
}

.mv-default-box vaadin-combo-box {
    flex: 1;
    border: none;
    outline: none;
}

.mv-default-box vaadin-combo-box::part(input-field) {
    border: none;
    box-shadow: none;
     background: transparent;
}

.mv-default-btn {
    background: var(--mv-primary-color) !important;
    color: var(--mv-white) !important;
    border: none;
    padding: 0.75rem 1.5rem !important;
    border-radius: 62.4375rem !important;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
    white-space: nowrap;
    height:auto !Important;
}

.mv-location-search-section{
	margin-top: 0rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}

.mv-highlight {
    color: #ef4444;
}


.mv-default-btn:hover {
    background: #d62839 !important;
}

/* Hide map marker icon in search box */
.mv-default-box vaadin-icon[icon="vaadin:map-marker"] {
    display: none;
}

/* LocationSearchComboBox container styling */
.mv-default-box .search-layout {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Hide all extra buttons in search box */
.mv-default-box .dropdown-button,
.mv-default-box .tooltip {
    display: none !important;
}

/* Autocomplete container */
.mv-default-box .autocomplete {
    background: transparent;
    padding: 0;
    width: 100%;
}


/* Search Input Field */
.mv-default-field-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    outline: none !important;
    width: 100%;
}

.mv-default-field-input::part(input-field) {
    padding: 0.2rem .5rem !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 1rem;
    min-height: auto !important;
}

.mv-default-field-input input {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.mv-default-field-input input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.mv-default-field-input input::placeholder {
    color: #9ca3af;
    opacity: 1;
}

/* Search Button with Gradient */
.mv-default-field-btn {
    padding: 1rem 2rem !important;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: white !important;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    height: auto !important;
    flex-shrink: 0;
}
/* Vaadin text field - remove all default styling */
.mv-default-box vaadin-text-field {
    background: transparent !important;
    padding: 0rem 0.5rem !important;
    border: none !important;
    width: 100%;
}

.mv-default-box vaadin-text-field::part(input-field) {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.5rem 0 !important;
    min-height: auto !important;
}
vaadin-text-field::part(value) {
    padding: 0 !important;
    font-size: 1rem;
    font-weight: normal;
}

/* Input field itself */
.mv-default-box vaadin-text-field input,
.mv-default-box input[type="text"] {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    padding: 0 !important;
    font-size: 1rem;
    font-family: in;
}

.mv-default-box vaadin-text-field input:focus,
.mv-default-box input[type="text"]:focus {
    outline: none !important;
    box-shadow: none !important;
}

.mv-default-btn {
    background-color: #ef4444 !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border: none;
    border-radius: 0 2rem 2rem 0 !important;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 500;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    height: 100%;
}

.mv-default-btn:hover {
    background-color: #dc2626 !important;
}

.mv-default-field-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0.25rem 0.75rem rgba(239, 68, 68, 0.4);
}

.mv-default-field-btn:active {
    transform: scale(0.98);
}
.mv-location-search-section {
    margin-top: 0rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}

.mv-default-box vaadin-combo-box {
    flex: 1;
    border: none;
    outline: none;
}

.mv-default-box vaadin-combo-box::part(input-field) {
    border: none;
    box-shadow: none;
     background: transparent;
}

.mv-default-btn {
    background: var(--mv-primary-color) !important;
    color: var(--mv-white) !important;
    border: none;
    padding: 0.75rem 1.5rem !important;
    border-radius: 62.4375rem !important;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
    white-space: nowrap;
    height:auto !Important;
}

.mv-default-btn:hover {
    background: #d62839 !important;
}
