.nav-link, .navbar-brand {
    color: #ffab40 !important;
}

footer, header {
    text-align: center;
}

body, footer {
    font-family: Arial, sans-serif;
}

body {
    background-color: #121212;
    color: #e0e0e0;
    transition: background-color 0.3s, color 0.3s;
}

header {
    background-color: #1e1e1e;
    color: #e0e0e0;
    padding: 20px 0;
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
    color: #ffab40;
}

.navbar {
    margin-bottom: 20px;
    background-color: #1e1e1e !important;
    border-bottom: 2px solid #ffab40;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-size: 1.1rem;
}

.nav-link:hover {
    color: #ff6f00 !important;
}

.breadcrumb-item.active, .card, footer {
    color: #e0e0e0;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #1e1e1e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.2s;
}

.breadcrumb-item a, .card-title {
    color: #ffab40;
}

.card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
}

.card-img-container {
    overflow: hidden;
    position: relative;
}

.card-img-top {
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s, z-index 0.3s;
    width: 100%;
    position: relative;
    z-index: 1;
}

.card-img-top:hover {
    transform: scale(1.1);
    z-index: 2;
}

.card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-text {
    font-size: 0.95rem;
    flex-grow: 1;
}

.btn-primary {
    background-color: #ffab40;
    border: none;
    transition: background-color 0.3s;
    align-self: flex-start;
    color: #000;
}

.breadcrumb, footer {
    background-color: #1e1e1e;
}

.btn-primary:hover, .navbar-toggler:hover {
    background-color: #ff6f00;
}

footer {
    padding: 20px;
}

.footer-links h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #ffab40;
}

.breadcrumb {
    border-radius: 5px;
}

.button-change-movie ul li a, .navbar-toggler {
    background-color: #ffab40;
    color: #000;
}

.breadcrumb-item a:hover {
    color: #ff6f00;
}

nav[aria-label=breadcrumb] {
    display: flex;
    justify-content: center;
}

.button-change-movie ul li a {
    border-color: #ff6f00;
}

.button-change-movie ul li a:hover {
    background-color: #ff6f00;
    border-color: #e65100;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #333;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1e1e1e;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #e0e0e0;
}

.autocomplete-items div:hover {
    background-color: #333;
}

.autocomplete-items img {
    width: 40px;
    height: 60px;
    object-fit: cover;
    margin-right: 10px;
}

.autocomplete-active {
    background-color: #ffab40 !important;
    color: #000;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.footer-links ul li {
    display: inline-block;
}

.footer-links ul li a {
    text-decoration: none;
    color: #1e1e1e;
    background-color: #ffab40;
    border: 1px solid transparent;
    padding: 5px 10px;
    border-radius: 5px;
    transition: 0.3s;
    font-size: 14px;
}

.footer-links ul li a:hover {
    background-color: #1e1e1e;
    color: #ffab40;
    border: 1px solid #ffab40;
}

@media screen and (max-width: 768px) {
    .footer-links ul {
        gap: 8px;
    }

    .footer-links ul li a {
        font-size: 12px;
        padding: 4px 8px;
    }
}
/* css/style.css */

/* Biểu tượng bật chatbox */
#chatbox-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

#chatbox-toggle:hover {
    background-color: #0056b3;
}

/* Container cho chatbox */
#chatbox-container {
    position: fixed;
    top: 80px; /* Đặt phía dưới biểu tượng toggle */
    right: 20px;
    width: 400px;
    max-width: 90%;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    display: none; /* Ẩn chatbox container mặc định */
}

#chatbox-container.active {
    display: flex; /* Hiển thị khi có class active */
}

/* Iframe chatbox */
#chatbox-frame {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
}

/* Nút đóng iframe */
#chatbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-color: #f44336;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    display: none; /* Ẩn nút đóng mặc định */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    transition: background-color 0.3s ease;
}

#chatbox-container.active #chatbox-close {
    display: flex; /* Hiển thị nút đóng khi chatbox active */
}

#chatbox-close:hover {
    background-color: #d32f2f;
}

/* Điều chỉnh khi kích thước màn hình nhỏ */
@media (max-width: 500px) {
    #chatbox-container {
        width: 95%;
        right: 2.5%;
        left: 2.5%;
        top: 80px;
        align-items: center;
    }

    #chatbox-frame {
        height: 400px;
    }
}
