.bg {
    background: url(../img/background.jpg) bottom center fixed;
    background-size: cover;
}
.gradient-custom-2 {
/* fallback for old browsers */
background: #319cef;

/* Chrome 10-25, Safari 5.1-6 */
background: -webkit-linear-gradient(to right, #41a5f5, #319cef);

/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
background: linear-gradient(to right, #41a5f5, #319cef);
}

@media (min-width: 768px) {
.gradient-form {
height: 100vh !important;
}
}
@media (min-width: 769px) {
.gradient-custom-2 {
border-top-right-radius: .3rem;
border-bottom-right-radius: .3rem;
}
}







.header {
    background-color: #0084ff;
    color: #fff;
    padding: 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header h1 {
    margin: 0;
}
.logout {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #0056b3;
    transition: background-color 0.3s;
}
.logout:hover {
    background-color: #004080;
}
.chat-box {
    display: block;
    position: fixed;
    right: 20px;
    width: 300px;
    height: 400px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    bottom: 0px;
}
.chat-box.hide {
    transform: translateY(calc(100% - 50px));
	transition: transform 0.3s ease-in-out;
}
.chat-box-header {
    background-color: #0084ff;
    color: #fff;
    padding: 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.chat-box-header h2 {
    margin: 0;
	font-size:15px;
}
.close-btn {
    color: #fff;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 15px;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}
.chat-box-body {
    padding: 20px;
    overflow-y: auto;
    /* height: 300px; */
    height: 65%;
}
.admin div#chat-box-body {
    height:calc(65% - 60px);
}
.message { 
    width: 100%;
    display: flex;
}
.message.you {
    justify-content: end;
}
.message  span{
    background-color: #f2f2f2;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    max-width: 80%;
    word-wrap: break-word;
}
.message p {
    margin: 5px 0;
}
.chat-form {
    padding: 10px;
    border-top: 1px solid #ccc;
    background-color: #f9f9f9;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    position: absolute;
    bottom: 0;
   display: flex;
    left: 0px;
}
.chat-form input[type="text"], .chat-form select {
    width: calc(100% - 90px); 
    padding: 10px;
    margin-right: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.chat-form select {
	margin-bottom:5px;
}
.chat-form button {
    background-color: #0084ff;
    color: #fff;
    border: none;
    padding: 10px 0px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    width: 60px;
}
.chat-form button:hover {
    background-color: #0056b3;
}

/* Responsive adjustments */
@media only screen and (max-width: 600px) {
    .chat-box {
        width: calc(100% - 40px);
        left: 20px;
        right: auto;
    }
    .chat-form {
        width: calc(100% - 20px);
        left: 10px;
    }
}

.chat-box-body::-webkit-scrollbar {
    display: none;
}

.account-info {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 20px;
}

.welcome h2 {
    margin: 0;
    color: #333;
}

.user-list h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333;
}

.user-list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.user-list ul li {
    margin-bottom: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}
.user-list ul li a {
    padding: 5px 10px;
    text-decoration: none;
    color: #222;
	font-weight:600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.user-list ul li span.count {
    background-color: #0056b3;
    color: #fff;
    padding: 2px 4px;
    border-radius: 4px;
}
.user-list ul li a  small {
	font-size:80%;color:#999;
}
.user-list ul li:hover {
    transform: translateY(-3px);
}


.user-list ul li a:hover {
    background-color: #f0f0f0;
}

.message.ktv span {
    background-color: #daecfd;
}
.message  img {
    height: 15px;
    margin-right: 5px;
}
.message .join {
    color: #999;
    font-size: 12px;
	margin-bottom: 10px;
}
.admin div#chat-box-body {
    max-height: 400px;
}
.admin .chat-form {
    position: relative;
	    font-size: 13px;
}
.admin .chat-form input#sender {
    width: 150px;

}
.admin .chat-form input[type="text"]{
    width: calc(100% - 240px);
}
.note-editor .note-editing-area .note-editable {
    background-color: #fff;
}
.upload-container {
    position: relative;
    cursor: pointer;
    margin-left: -5px;
    margin-right: 5px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
        .upload-img {
            width: 25px; /* Điều chỉnh kích thước hình ảnh */
            height: auto;
            display: block;
        }

        /* Ẩn input file */
        .upload-input {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
        }
		
.message.image img {
    max-width: 220px;
    width: auto;
    height: auto;
}