/* custom.css - CSS tùy chỉnh */
body {
    font-family: 'Arial', sans-serif;
    padding-top: 70px;
    background-color: #f5f5f5;
}

.navbar-fixed-top {
    border-bottom: 2px solid #e74c3c;
}

.logotext {
    font-family: 'Tangerine', cursive;
    font-size: 28px;
    font-weight: bold;
    color: #e74c3c !important;
    margin-left: 10px;
    line-height: 50px;
}

.input-search {
    border-radius: 20px;
    padding: 10px 20px;
    border: 2px solid #ddd;
}

.btnsearch {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
}

#nav-search {
    margin: 20px 0;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

#nav-search ul {
    margin: 0;
    padding: 0;
}

#nav-search li {
    margin-right: 15px;
}

#nav-search li a {
    color: #666;
    font-weight: bold;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 3px;
}

#nav-search li.active a {
    background: #e74c3c;
    color: white;
}

.site-view {
    background: white;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.subject {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
}

.item {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 3px;
}

.item:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-color: #ddd;
}

.item-info h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.item-info h3 a {
    color: #333;
    text-decoration: none;
}

.item-info h3 a:hover {
    color: #e74c3c;
}

.content h5 {
    color: #666;
    font-size: 14px;
    margin: 10px 0;
}

.content em {
    color: #888;
    font-style: italic;
    line-height: 1.4;
}

.box {
    background: white;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.box h3 {
    font-size: 16px;
    color: #333;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.box li {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.box li:last-child {
    border-bottom: none;
}

.li_r_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.li_r_row .info {
    flex: 1;
}

.li_r_row .icon a {
    color: #ccc;
}

.li_r_row .icon a:hover {
    color: #e74c3c;
}

.detail-item .item {
    border: none;
    box-shadow: none;
}

.more-info p {
    margin: 10px 0;
    color: #666;
}

.change-button {
    margin: 15px 0;
}

.change-button .btn {
    margin-right: 5px;
    border-radius: 3px;
}

.change-button .btn i {
    color: #666;
}

.change-button .btn:hover i {
    color: #e74c3c;
}

.detail {
    font-size: 16px;
    line-height: 1.6;
    white-space: pre-line;
}

.chord-info {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 3px;
    border-left: 3px solid #e74c3c;
}

.current-tone {
    display: inline-block;
    margin-left: 15px;
    padding: 5px 10px;
    background: #f8f9fa;
    border-radius: 3px;
    font-weight: bold;
}

.guitar-tab {
    margin-top: 20px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 3px;
}

.tab-content {
    font-family: monospace;
    white-space: pre-wrap;
    margin: 0;
}

.artist-profile {
    background: white;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.artist-profile h1 {
    color: #333;
    margin-top: 0;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
}

.biography {
    margin-top: 20px;
}

.pagination {
    margin-top: 20px;
}

.pagination li a {
    color: #e74c3c;
    border: 1px solid #ddd;
}

.pagination li.active span {
    background: #e74c3c;
    border-color: #e74c3c;
}

.search-results h3 {
    color: #333;
    margin-top: 0;
}

.search-results .alert {
    margin-top: 20px;
}

.btnUpTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.btnUpTop a {
    display: block;
    width: 40px;
    height: 40px;
    background: #e74c3c;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    font-size: 18px;
    text-decoration: none;
}

.btnUpTop a:hover {
    background: #c0392b;
}

/* Responsive */
@media (max-width: 768px) {
    .col-md-6 {
        width: 100%;
    }
    
    .logotext {
        font-size: 22px;
    }
    
    .detail {
        font-size: 14px;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.item {
    animation: fadeIn 0.3s ease-in;
}
/* footer */
/* ===== FOOTER – LIGHT TONE (MATCH HEADER) ===== */

.site-footer {
    margin-top: 40px;
    padding: 24px 16px;
    background: #ffffff;              /* nền trắng như header */
    border-top: 1px solid #e5e7eb;     /* viền nhẹ */
    color: #374151;                    /* text xám đậm */
    font-size: 14px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Tiêu đề footer */
/* ==============================
   FOOTER – MATCH NAVBAR (BS3)
================================ */

.site-footer {
    margin-top: 40px;
    padding: 20px 15px;
    background-color: #ffffff;        /* giống navbar */
    border-top: 1px solid #e7e7e7;     /* đúng Bootstrap 3 */
    color: #333333;                    /* text chuẩn navbar */
    font-size: 14px;
}

.footer-container {
    max-width: 1170px;                /* giống .container BS3 */
    margin: 0 auto;
    text-align: center;
}

/* Title */
.footer-about h4 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: bold;
    color: #333333;
}

/* Description */
.footer-about p {
    margin: 0 auto 10px;
    max-width: 760px;
    line-height: 1.6;
    color: #555555;
}

/* Links */
.footer-links {
    margin-bottom: 8px;
}

.footer-links a {
    margin: 0 10px;
    color: #333333;
    text-decoration: none;
}

.footer-links a:hover {
    color: #d9534f;                   /* đỏ Bootstrap + giống logo */
    text-decoration: none;
}

/* Meta */
.footer-meta {
    font-size: 13px;
    color: #777777;                   /* text phụ giống navbar */
}

/* end footer*/
/* header css*/
/* CSS cho brand trong header */
.navbar-brand {
    display: flex;
    align-items: center;
    height: auto;
    padding: 8px 15px;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    height: 40px;
    width: auto;
    max-height: 100%;
    object-fit: contain;
}

.brand-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

/* Đảm bảo responsive */
@media (max-width: 768px) {
	body > div.container.mt-4 {
		margin-top:0px !important;
	}
    .brand-text {
        font-size: 16px;
    }
    
    .brand-logo {
        height: 35px;
    }
	/* sửa lại mặc định của Bootstrap*/
	.col-md-4
	{
		padding-right:0px;
		padding-left:0px;
	}
	.col-md-12
	{
		padding-right:0px;
		padding-left:0px;
	}
	.col-md-6
	{
		padding-right:0px;
		padding-left:0px;
	}
	.col-md-8
	{
		padding-right:0px;
		padding-left:0px;
	}
	.site-view
	{
		padding-left:0px;
		padding-right:0px;
	}
}

@media (max-width: 480px) {
    .brand-text {
        font-size: 14px;
    }
    
    .brand-wrapper {
        gap: 8px;
    }
}
/**/
.nav-pills .nav-link.active
{
	background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);

}
