.search-box {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.search-box input {
    padding: 8px 12px;
    border: 1px solid #f9d16b;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-box input:focus {
    border-color: #ffd700;
    box-shadow: 0 0 8px rgba(249, 209, 107, 0.5);
}

.search-box button {
    background: #f9d16b;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    margin-left: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px; /* Set a fixed width for the button */
    height: 30px; /* Set a fixed height for the button */
    border-radius: 50%; /* Make the button circular */      
    box-shadow: 0 0 5px rgba(249, 209, 107, 0.5);
    position: relative; /* Position relative for pseudo-elements */
}

.search-box button i {
    color: #000;
    font-size: 16px;
}

.search-box button:hover {
    background: #ffd700;
    transform: translateY(-2px);
}
.highlight-text {
    background-color: yellow; /* Màu nền cho phần nổi bật */
    color: black; /* Màu chữ */
    padding: 2px 4px;
    border-radius: 3px;
    animation: fadeHighlight 1s forwards; /* Thêm hiệu ứng mờ dần */
}

@keyframes fadeHighlight {
    from { background-color: yellow; }
    to { background-color: transparent; } /* Mờ dần về trong suốt */
}
/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .search-box {
        margin-top: 15px;
        margin-left: 0;
        width: 100%;
        justify-content: center;
        order: 3;
        display: flex;
    }
    .search-box input {
        width: 70%;
        max-width: 250px;
    }
}

@media screen and (max-width: 480px) {
    .search-box input {
        width: 80%;
    }
}