/* Show content A (for mobile) */
.show-mobile {
    display: block;
}

.show-desktop {
    display: none;
}

.h-chat {
    margin-top: 10px;
    max-height: 100vh; /* Default height for desktop and larger screens */
}

.chat-sidebar-width{
    width: 25%;
}

.card-chat-content-width{
    width: 55%;
}

@media (max-width: 768px) { /* Adjust the max-width as needed for your mobile breakpoint */
    .h-chat {
        margin-top: 10px;
        max-height: 80vh; /* Height for mobile screens */
    }

    .chat-sidebar-width{
        width: 100%;
    }

    .card-chat-content-width{
        width: 100%;
    }
}


/* Show content B (for desktop) */
@media only screen and (min-width: 768px) {
    .show-mobile {
        display: none;
    }

    .show-desktop {
        display: block;
    }

    .card-padding-left-desktop {
        padding-left: 0px;
    }
}

.text-secondary-custom {
    color: #c1c1c1;
}

.text-active {
    color: #ffde59;
}

.danger-active {
    color: #fc0020;
}

.text-write {
    color: #ffffff;
}

.text-73798a {
    color: #344050;
}

.text-73798a:hover {
    color: #344050;
}

/* mobile-footer */

.mobile-footer {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 55px;
    background-color: #fff;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.footer-item {
    flex: 1;
    text-align: center;
}

.footer-item img {
    height: 24px;
}

/* ส่วนที่ทำให้ตรงกลางโดดเด่น */
.footer-item.logo {
    position: relative;
    top: -6px;
    /* ยกไอคอนตรงกลางขึ้น */
    flex: 1;
    text-align: center;
}

.footer-item.logo img {
    height: 64px;
    /* ขนาดใหญ่กว่า */
    border-radius: 50%;
    /* ทำให้เป็นวงกลม */
    background: linear-gradient(to right, #f90016, #ae000f);
    /* Gradient สีขอบ */
    padding: 2px;
    /* ระยะห่างขอบ */
    background-clip: padding-box;
    /* ให้ gradient อยู่ในพื้นที่ของ border */
    border: 2px solid transparent;
    /* เส้นขอบโปร่งใส */
    background-color: #fff;
    /* เพิ่มพื้นหลังขาว */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    /* เพิ่มเงา */
}

/* mobile-footer */

.none-underline {
    text-decoration: none !important;
}

.mt-custom-10 {
    margin-top: 10px;
}

.scrollable-dropdown {
    max-height: 60vh;
    overflow-y: auto;
}

.fixed-card {
    position: fixed;
    width: inherit;
    top: 0; /* or adjust based on where you want it fixed */
}

.nav-tabs .nav-link {
    margin-bottom: -1px;
    border: var(--falcon-border-color);
    color: var(--falcon-gray-800);
    font-weight: 700;
    font-size: 12pt;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}