.event-main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.header-wrapper {
    width: 100%;
}
.content-wrapper {
    padding: 0 !important;
}

/* Header Event */
.header-event {
    padding: 10px;
}

/* Login Section */
.login {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Body Event */
.body-event {
    flex: 1;
    overflow-y: auto;
}

/* Event Container */
.event-container {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Event Header */
.event-header {
    position: relative;
    height: 30vh;
}

/* Event Content */
.event-content {
    flex: 1;
    padding: 10px 0 100px 0;
    overflow-y: auto;
}
.nav-wrapper {
    z-index: 999 !important;
}
/* Icon Styles */
.icon i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

/* Flag Icon for Featured Events */
.flag-vn {
    background: #ec0016;
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.flag-vn i {
    font-size: 16px;
    color: #ffff01;
}

/* Event Image */
.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Event Info Overlay */
.event-info-overlay {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
}

/* Participant Avatar */
.participant-avatar {
    width: 30px;
    height: 30px;
}

/* Description */
.description {
    position: relative;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 5px 0;
    background: #fff;
    text-align: justify;
    font-size: 12px;
    height: 10vh;
}
.read-more {
    cursor: pointer;
    color: blue;
    position: absolute;
    right: 10px;
    bottom: 0;
}

/* Event Item */
.event-item {
    display: flex;
    flex-direction: column;
    justify-content: between;
    margin-bottom: 10px;
}

/* Event Location Info and Date */
.event-location-info span,
.event-date {
    color: #000;
}

/* Event Count */
.event-count {
    position: absolute;
    top: -7px;
    right: -7px;
    background: red;
    border-radius: 50%;
    padding: 5px;
    color: white;
    font-size: 12px;
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Header Background */
.header-background {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
}
.header-background i {
    color: #ffc107;
}

/* Height Full Viewport */
.h-vh-100 {
    height: 100vh;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Event Section */
.event {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #000;
    position: relative;
}

/* Avatar */
.avatar img {
    width: 50px;
    height: 50px;
}

.event-image-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.nav-tabs .nav-link.active {
    border-top: none;
    border-left: none;
    border-right: none;
}

.nav-tabs .nav-link.active {
    color: #5e72e4;
    border-color: #5e72e4;
    border-bottom: 2px solid #5e72e4;
    background-color: transparent;
}
.nav-tabs .nav-link {
    color: #555;
    padding: 10px;
}
.list-group-item {
    padding: 0;
    height: 35vh;
}
.event-item {
    border-radius: 10px !important;
}
.event-title-overlay {
    background: rgba(0, 0, 0, .4);
    width: 100%;
    text-align: left;
    bottom: 0;
    display: flex;
    align-items: center;
}
.event-title-overlay h5 {
    margin: 0;
}
.event-info-container {
    background: #cccccc33;
}
.event-participants, .event-location {
    display: flex;
    align-items: center;
    gap: 10px;
}
.event-list {
    margin: 10px 0 100px 0;
}
.comment-avatar img {
    width: 30px;
    border-radius: 50%;
}
.comment-body i {
    font-size: 14px;
    color: #000;
    background: #ddd;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.comment-footer, .comment-footer i {
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
}
.user_number, .heart-number {
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.heart-icon.heart-number.liked i {
    color: red;
}
.event-info-overlay.join {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.join-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.share-event {
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.comment-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
}
.comment-group {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 5px;
    gap: 5px;
}
.comment-divider {
    flex: 1;
    border: none;
    border-top: 1px solid #ccc;
}
.event-header, .event-header a {
    color: #fff;
}

/* Định dạng div bao quanh input */
.input-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff; /* Nền trắng cho toàn bộ phần dưới */
    z-index: 999; /* Đặt dưới input-group-fixed (z-index: 1000) */
}

/* Đảm bảo input-group-fixed nằm trong input-footer mà không bị ảnh hưởng */
.input-group-fixed {
    position: absolute;
    bottom: 0; /* Mặc định dính đáy input-footer */
    left: 0;
    right: 0;
    z-index: 1000; /* Đảm bảo input ở trên input-footer */
    background: #fff; /* Nền trắng cho input */
    padding: 10px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

/* Điều chỉnh chiều cao của input-footer trên di động để bao gồm khoảng cách 70px */
@media (max-width: 576px) {
    .input-footer {
        height: 120px; /* Chiều cao bao gồm input (giả sử ~50px) + 70px khoảng cách */
    }
}

/* Đảm bảo nội dung không bị che */
.event-content {
    padding-bottom: 120px; /* Tăng padding để chứa input-footer */
}