.tfh-search-form {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.tfh-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.tfh-search-row--dates {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    gap: 12px;
}

.tfh-search-row--filters {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 12px;
}

.tfh-search-field {
    display: flex;
    flex-direction: column;
}

.tfh-search-field label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.7);
}

.tfh-search-field input,
.tfh-search-field select {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: border-color 0.2s, background 0.2s;
    min-width: 0;
}

.tfh-search-field input:focus,
.tfh-search-field select:focus {
    outline: none;
    border-color: #c69b3c;
    background: rgba(255, 255, 255, 0.15);
}

.tfh-search-field select option {
    background: #1a1a2e;
    color: #fff;
}

.tfh-search-field--time {
    max-width: 110px;
}

.tfh-search-field--time input {
    width: 100%;
}

.tfh-search-row--submit {
    justify-content: center;
    margin-top: 6px;
}

.tfh-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 36px;
    background: #c69b3c;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.tfh-search-btn:hover {
    background: #b08a32;
}

.tfh-search-btn:active {
    transform: scale(0.97);
}

/* Flatpickr */
.flatpickr-calendar {
    z-index: 100100 !important;
    font-family: inherit;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.tfh-search-field .flatpickr-input,
.tfh-search-field input.flatpickr-input {
    width: 100%;
    cursor: pointer;
}

.tfh-search-field input.tfh-js-datepicker,
.tfh-search-field input.tfh-js-timepicker {
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .tfh-search-row--dates {
        grid-template-columns: 1fr 1fr;
    }

    .tfh-search-row--filters {
        grid-template-columns: 1fr 1fr;
    }

    .tfh-search-field--time {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .tfh-search-row--dates,
    .tfh-search-row--filters {
        grid-template-columns: 1fr;
    }

    .tfh-search-btn {
        width: 100%;
    }
}
