h5 a:hover {
    color: #ff324d;
    transition: all 0.3s ease-in-out;
}

a:hover {
    color: #ff324d;
    transition: all 0.3s ease-in-out;
}

.anime__details__episodes .active {
    background-color: #ff324d;
}

.server_data .btn-server {
    background-color: #ff324d;
    color: aliceblue;
    opacity: 0.3;
}
.server_data .active {
    background-color: #ff324d;
    color: aliceblue;
    opacity: 1;
}

.search_film {
    margin: 0px auto;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}
.search_film .search-box {
    background-color: transparent !important;
    color: #ffff;
}

.film-suggestion {
    background-color: white;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Đảm bảo các phần tử căn trái */
}

.film-suggestion img {
    max-width: 50px;
    max-height: 50px;
    object-fit: cover; /* Đảm bảo hình ảnh không bị bóp méo, giữ tỉ lệ gốc */
    margin-right: 10px; /* Khoảng cách giữa ảnh và phần text */
    border-radius: 5px; /* Tạo góc bo cho ảnh */
}

.film-name {
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    display: block;
}

.film-quality {
    font-size: 12px;
    color: #777;
}

.input-group-text:hover {
    background-color: #0056b3;
    color: white;
}

.spinner-border {
    width: 1rem;
    height: 1rem;
}

.loading-spinner {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-left-color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.tt-menu {
    width: calc(100% + 40px);
    max-width: none;
    z-index: 1000;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
}

.empty-message {
    padding: 10px;
    text-align: center;
    color: #999;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    width: 100%;
}

.view-all {
    display: block;
    margin: 10px auto;
    padding: 10px;
    text-align: center;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.view-all:hover {
    background-color: #0056b3;
}

.search-box {
    width: 100%;
    max-width: 649px;
}

@media (min-width: 992px) {
    .search-box {
        width: 254px;
    }
}

@media (max-width: 991px) {
    .search-box {
        width: 100%;
        max-width: 649px;
    }
}

@media (max-width: 768px) {
    .search_film {
        max-width: 100% !important;
    }
    .search-box {
        width: 100%;
    }
}

@media (max-width: 515px) {
    .search-box {
        width: 100%;
    }
}

@media (max-width: 415px) {
    .search-box {
        width: 100%;
    }
}

@media (max-width: 374px) {
    .search-box {
        width: 100%;
    }
}

.text-black {
    color: black !important;
}
