* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f0e6f6;
}

.tenten-iframe {
    display: none;
}

.container {
    display: flex;
    max-width: 1200px;
    margin: 20px auto;
    height: 80vh;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    background: linear-gradient(90deg, #4a1e8a 0%, #2d55a9 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar h1 {
    font-size: 24px;
    font-weight: bold;
}

.navbar-buttons {
    display: flex;
    gap: 15px;
}

.navbar-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.navbar-button i {
    font-size: 18px;
}

.chat-container {
    display: flex;
    width: 1140px;
    height: calc(100vh - 76px);
    margin: 0 auto;
}

.contacts-list {
    width: 100%;
    overflow-y: auto;
    position: relative;
}

.chat-area {
    width: 65%;
    background-color: white;
    display: flex;
    flex-direction: column;
}

.back-button {
    padding: 0px;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding-bottom: 25px;
    font-weight: bold;
}

.back-button svg {
    margin-right: 15px;
}

.back-button i {
    margin-right: 15px;
}

.contact-item {
    display: flex;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.contact-item:hover {
    background-color: #f9f9f9;
}

.contact-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.contact-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info {
    flex: 1;
}

.contact-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.contact-message {
    font-size: 14px;
    color: #666;
}

.chat-header {
    display: flex;
    padding: 15px 20px;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #f9f9f9;
}

.message {
    max-width: 70%;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
}

.message.received {
    background-color: #e7ddf3;
    align-self: flex-start;
}

.chat-input {
    display: flex;
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    background-color: #f0f0f0;
}

.chat-input input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 20px;
    outline: none;
    background-color: #e6e6e6;
}

.send-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-left: 10px;
}

.active {
    background-color: #f8f4ff;
}

div[data-elementor-type="header"],
div[data-elementor-type="footer"] {
    display: none;
}

.wp-friend-notification-content strong,
.wp-friend-notification-content {
    color: #000
}

@media (max-width: 600px) {
    .chat-container {
        width: 100%;
    }
    .wp-friend-chat-sidebar {
        max-width: 486px;
    }
    .wp-friend-chat-container {
        margin-top: 12px;
    }
    .wp-friend-chat-window {
        max-width: 100%;
    }
    .wp-friend-chat-windows {
        width: 93%;
    }
    .chat_area {
        position: absolute;
        width: 100%;
        bottom: 0px;
    }
}

.menu-dashboard-mobile-item {
    position: fixed;
    right: 0px;
    top: 0px;
    bottom: 0px;
    z-index: 9999999;
    background: linear-gradient(to right, #4b1e7d, #3f56a6, #3f7fb6);
    width: 75%;
    padding: 15px;
}

.menu-dashboard {
    flex-direction: column !important;
    width: 100%;
    align-items: self-end !important;
    margin-top: 28px;
    justify-content: end !important;
}

.menu-dashboard-item a {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important;
    justify-content: start !important;
}

.menu-dashboard-item span {
    color: #fff;
}

.logo_mobile h3 {
    color: #fff;
    text-align: end;
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
}

.menu-dashboard-item {
    width: 100%;
}

.close_btn {
    text-align: right;
}

.menu-dashboard-mobile-item {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1000;
    overflow-y: auto;
    opacity: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.menu-dashboard-mobile-item.menu-active {
    opacity: 1;
}


/* Add this for a nice backdrop effect */

.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.menu-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.wp-friend-notifications-dropdown {
    width: 354px;
    left: -273px;
}

.thongbao-tieude span {
    display: none;
}

.ticket-page-wrapper {
    width: 100%;
    padding: 15px;
}

.menu-dashboard-mobile-item {
    width: 20% !important;
    right: 0px;
    left: unset;
}