.container {
    width: 600px;
    max-width: 100%;
    max-height: 60%; /* Adjust max height to prevent overflow */
    overflow-y: auto; /* Enable vertical scrollbar */
    margin: 50px auto;
    padding: 15px;
    background-color: #333;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    position: relative;
}

/* Scrollbar styles */
.container {
    scrollbar-width: thin;
    scrollbar-color: #ffffff #000;
}

.container::-webkit-scrollbar {
    width: 8px;
}

.container::-webkit-scrollbar-track {
    background: #000;
}

.container::-webkit-scrollbar-thumb {
    background-color: #ffffff;
    border-radius: 4px;
    border: 2px solid #000;
}

.container .header {
    display: flex;
    justify-content: flex-end;
}

.header {
    padding: 1px;
}

.container .close-btn {
    cursor: pointer;
    font-size: 15px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 50%;
}

h1 {
    text-align: center;
    color: #fff;
    padding-bottom: 5px;
}

#searchInput {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
}

ul {
    list-style-type: none;
    padding: 0;
}

#search_bar {
    padding: 10px;
    border-bottom: 1.5px dashed #ccc;
}

#noResult {
    color:#fff; 
}

li:last-child {
    border-bottom: none;
}

a {
    text-decoration: none;
    color: #fff;
}

a:hover {
    text-decoration: underline;
}

.footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    background-color: #ffffff52;
    z-index: -1;
}

.footer p {
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.65px;
}

/* Draggable */
#searchEngineContainer {
    position: absolute;
    z-index: 1000;
    cursor:grab;
}

/* Responsive adjustments */
@media only screen and (max-width: 600px) {
    .container {
        max-width: 90%;
    }

    h1 {
        font-size: 1.2rem;
    }
}
