.dropdown.suggest {
    top: 20px;
}

.show {
    padding-top: 20px !important;
}

.user_profile {
	padding: 20px;
	border-radius: 10px;
	border: 1px solid #f2f2f2;
}

.user_profile .user_avatar {
	text-align: center;
	border-radius: 100%;
}

.user_profile .user_avatar img {
	border-radius: 100%;
}

.user_profile .user_info {
	text-align: center;
}

#ls_submit_form .form-group .form-label {
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 10px;
	display: block;
}

#ls_submit_form .form-group input[type="text"] {
	line-height: 40px;
    padding: 0;
    border: 1px solid #e2e2e2;
    height: 40px;
    border-radius: 0;
    padding: 0 15px;
    box-shadow: 0 0 black;
}

#ls_submit_form .form-group input[type="text"]::placeholder {
	font-weight: 400;
	color: #ccc;
}

#ls_submit_form .form-group .tags-container {
	border: 0;
	padding: 0;
	box-shadow: none;
}

#ls_submit_form .form-group .tags-container .badge {
	line-height: 30px;
    display: inline-block;
    padding: 0 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    margin-right: 10px;
    font-size: 13px;
    font-weight: 400;
}

.tag-remove:after {
	content: 'x';
    display: inline-block;
    color: #fff;
    margin-left: 5px;
    width: 15px;
    height: 15px;
    line-height: 15px;
    border-radius: 100%;
    font-size: 15px;
    font-weight: 700;
}

.tag-remove img {
	display: none!important;
}
#song_videos {
	width: 100%;
    height: 100px;
    overflow-y: auto;
    border: 1px solid #e2e2e2;
    box-shadow: none;
    border-radius: 0;
    padding: 15px;
    line-height: 30px;
    letter-spacing: 0.5px;
}

#song_lyric {
	height: 450px;
	overflow-y: auto;
	border: 1px solid #e2e2e2;
	box-shadow: none;
	border-radius: 0;
	padding: 15px;
	line-height: 30px;
	letter-spacing: 0.5px;
}

.textoverlay-wrapper {
	line-height: 30px;
	letter-spacing: 0.5px;
	height: 450px;
	overflow-y: auto!important;
}

/* === ĐÃ CẬP NHẬT ID MỚI === */
#song_chords_lyric_submit {
	list-style: none;
    margin: 0;
    padding: 10px;
    border-bottom: 1px solid #e2e2e2;
    border-left: 1px solid #e2e2e2;
    border-right: 1px solid #e2e2e2;
}

/* === SỬA LỖI HIỂN THỊ DANH SÁCH HỢP ÂM & CẬP NHẬT ID MỚI === */
ul#song_chords_lyric_submit {
    list-style: none;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px; /* Tạo khoảng cách giữa các hợp âm */
}

#song_chords_lyric_submit ul li {
	display: inline-block;
	line-height: 30px;
	padding: 0 10px;
	border-radius: 4px;
	background: #f5f5f5;
	border: 1px solid #eee;
}

.dropdown.suggest .dropdown-item.d-none {
	display: none;
}

.dropdown.suggest .dropdown-item {
	display: block;
    line-height: 30px;
    padding: 0 15px;
    font-weight: 500;
    color: #444!important;
}

.dropdown.suggest .dropdown-item.active {
	background: #d33;
    color: #fff!important;
}


.tool_bar {
    padding: 10px;
    border-top: 1px solid #e2e2e2;
    border-left: 1px solid #e2e2e2;
    border-right: 1px solid #e2e2e2;
}

/* ==========================================================================
   CSS Fixes for Edit Modal
   ========================================================================== */

/* === SỬA LỖI CĂN CHỈNH HEADER CỦA MODAL === */
#editModal .modal-header {
    display: flex;
    flex-direction: row-reverse; /* Đảo ngược thứ tự hiển thị của các phần tử con */
    justify-content: space-between; /* Đẩy chúng ra hai bên */
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

#editModal .modal-header .close {
    /* Reset margin để không bị ảnh hưởng bởi row-reverse */
    margin: 0;
    padding: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    background-color: transparent;
    border: 0;
}

#editModal .modal-header .close:hover {
    opacity: .75;
}

#editModal .modal-title {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Thêm khoảng trống (padding) cho phần thân của modal */
#editModal .modal-body {
    padding: 1.5rem;
}

/* Tăng khoảng cách giữa các trường trong form */
#editModal .form-group {
    margin-bottom: 1.25rem;
}

/* Sửa lại giao diện cho ô nhập liệu Tags (Nghệ sĩ, Tags) */
#editModal div.tagsinput {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 8px 6px;
    background-color: #fff;
    width: 100% !important; /* Ghi đè style mặc định */
    height: auto !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#editModal div.tagsinput span.tag {
    display: inline-block;
    font-size: 14px;
    background: #007bff;
    color: white;
    border-radius: 4px;
    padding: 4px 8px;
    margin: 2px;
}

#editModal div.tagsinput span.tag a {
    color: white;
    text-decoration: none;
    margin-left: 8px;
    font-weight: bold;
}

#editModal div.tagsinput input {
    border: none;
    outline: none;
    margin: 2px;
    flex-grow: 1;
}

