.container {
    margin: 0 auto;
    max-width: 1200px;
}

.ddf-dropdown-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 15px;
    align-items: flex-end;
}

.ddf-dropdown {
    display: flex;
    flex-direction: column;
    min-width: 160px;
    max-width: 100%;
    flex: 1 1 160px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ddf-dropdown label {
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.ddf-dropdown select,
.ddf-dropdown button {
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 14px;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    touch-action: manipulation;
}

.ddf-dropdown select:focus,
.ddf-dropdown button:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

.ddf-dropdown button#ddf-search-btn {
    background-color: #ff0000;
    color: #fff;
    border: none;
    padding: 10px;
}

.ddf-dropdown button#ddf-search-btn:hover {
    background-color: #e60000;
}

#ddf-results {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    overflow-x: auto;
}

#ddf-results .table {
    width: 100%;
    margin-bottom: 0;
    table-layout: auto;
}

#ddf-results .table th,
#ddf-results .table td {
    vertical-align: middle;
    padding: 8px;
    text-align: center;
    word-wrap: break-word;
}

#ddf-results .table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

#ddf-results .result-image {
    border-radius: 4px;
    max-width: 80px;
    height: auto;
    margin: 4px;
    display: inline-block;
    vertical-align: middle;
    object-fit: cover;
}

.book-now-btn {
    display: inline-block;
    padding: 7px 12px;
    background-color: #ff0000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    margin: 4px auto;
    transition: background-color 0.2s ease;
}

.book-now-btn:hover {
    background-color: #000000;
    color: #fff;
}

.book-now-btn.disabled {
    background-color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 768px) {
    .ddf-dropdown-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px;
    }

    .ddf-dropdown {
        min-width: 100%;
    }

    .ddf-dropdown select,
    .ddf-dropdown button {
        font-size: 13px;
        padding: 7px 9px;
    }

    #ddf-results .table th,
    #ddf-results .table td {
        font-size: 13px;
        padding: 6px;
    }

    #ddf-results .result-image {
        max-width: 60px;
    }
}

@media (max-width: 576px) {
    .ddf-dropdown select,
    .ddf-dropdown button {
        font-size: 12px;
        padding: 6px 8px;
    }

    #ddf-results .table th,
    #ddf-results .table td {
        font-size: 12px;
        padding: 5px;
    }

    .book-now-btn {
        font-size: 12px;
        padding: 5px 10px;
    }

    #ddf-results .result-image {
        max-width: 50px;
    }
}