.mcbe-searchbar-wrapper { }
.mcbe-searchbar-horizontal {
display: flex;
gap: 15px;
flex-wrap: wrap;
align-items: flex-end;
}
.mcbe-searchbar-vertical .mcbe-searchbar-field {
margin-bottom: 15px;
}
.mcbe-searchbar-field {
flex: 1;
min-width: 150px;
}
.mcbe-searchbar-field label {
display: block;
margin-bottom: 5px;
font-size: 14px;
font-weight: 600;
color: #1d2327;
}
.mcbe-searchbar-field input,
.mcbe-searchbar-field select {
width: 100%;
padding: 12px 16px;
border: 1px solid #dcdcde;
border-radius: 4px;
font-size: 15px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
transition: all 0.2s ease;
background: #fff;
}
.mcbe-searchbar-field input:focus,
.mcbe-searchbar-field select:focus {
outline: none;
border-color: #4f46e5;
box-shadow: 0 0 0 1px #4f46e5;
}
.mcbe-searchbar-field input[readonly] {
cursor: pointer;
background: #fff;
}
.mcbe-searchbar-field input[readonly]:hover {
border-color: #4f46e5;
}
.mcbe-searchbar-button {
flex: 0 0 auto;
}
.mcbe-searchbar-submit {
padding: 12px 32px;
border: none;
border-radius: 4px;
font-size: 16px;
font-weight: 600;
color: #fff;
cursor: pointer;
transition: all 0.2s ease;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
white-space: nowrap;
}
.mcbe-searchbar-submit:hover {
opacity: 0.9;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.mcbe-searchbar-submit:active {
transform: translateY(0);
} .flatpickr-calendar {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
border-radius: 8px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
border: none;
} .flatpickr-months {
background: transparent !important;
border-radius: 8px 8px 0 0;
}
.flatpickr-weekdays {
background: transparent !important;
}
.flatpickr-weekday {
color: #6b7280 !important;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
background: #4f46e5;
border-color: #4f46e5;
}
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
background: #135e96;
border-color: #135e96;
}
.flatpickr-day.inRange {
background: rgba(34, 113, 177, 0.1);
border-color: rgba(34, 113, 177, 0.1);
}
.flatpickr-day:hover {
background: rgba(34, 113, 177, 0.2);
} @media (max-width: 768px) {
.mcbe-searchbar-horizontal {
flex-direction: column;
align-items: stretch;
}
.mcbe-searchbar-field {
min-width: 100%;
}
.mcbe-searchbar-button {
flex: 1;
}
.mcbe-searchbar-submit {
width: 100%;
padding: 14px 24px;
}
}
@media (max-width: 480px) {
.mcbe-searchbar-wrapper {
padding: 15px;
}
.mcbe-searchbar-horizontal {
gap: 12px;
}
} .mcbe-searchbar-wrapper.loading {
opacity: 0.6;
pointer-events: none;
}
.mcbe-searchbar-wrapper.loading .mcbe-searchbar-submit::after {
content: '...';
animation: mcbeDots 1.5s infinite;
}
@keyframes mcbeDots {
0%, 20% { content: ''; }
40% { content: '.'; }
60% { content: '..'; }
80%, 100% { content: '...'; }
}