/*body{font-size: 14px!important}*/
.button-sound-pulse-disable{transform: scale(0.6); box-shadow: 0 0 0 0 rgba(255,255,255,0.7);}
.audio-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.audio-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
#audio-container {
  transform: translateZ(0); /* Bắt iOS render chuẩn */
  will-change: transform;
  z-index: 9999; /* Tránh bị flipbook che */
}
@keyframes pulse {
  0% { transform: scale(0.6); box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70% { transform: scale(0.7); box-shadow: 0 0 20px 10px rgba(255,255,255,0); }
  100% { transform: scale(0.6); box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0px); }
}
@keyframes shake {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(8deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(6deg); }
  40% { transform: rotate(-6deg); }
  50% { transform: rotate(4deg); }
  60% { transform: rotate(-4deg); }
  70% { transform: rotate(2deg); }
  80% { transform: rotate(-2deg); }
  90% { transform: rotate(1deg); }
  100% { transform: rotate(0deg); }
}
@keyframes blink {
  0% { box-shadow: 0 0 15px rgba(255,255,255,0.3); }
  50% { box-shadow: 0 0 30px rgba(255,255,255,0.8); }
  100% { box-shadow: 0 0 15px rgba(255,255,255,0.3); }
}
@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}
.emagazine-audio-player{position: fixed;top: 151px;right: 20px;z-index: 9999;}
button#play-audio-button{padding: 10px 20px;font-size: 1em;background: #e51010;color: #fff;border: none;border-radius: 5px;cursor: pointer;}
#play-audio-button{
    /* position: fixed; */
    /* bottom: 20px; */
    /* left: 20px; */
    /* z-index: 9; */
    /* background: linear-gradient(135deg, #f12711, #f5af19); */
    /* padding: 20px 30px; */
    /* border-radius: 5px; */
    /* box-shadow: 0 8px 20px rgba(0,0,0,0.3); */
    /* display: flex; */
    /* align-items: center; */
    /* cursor: pointer; */
    /* transition: transform 0.3s ease; */
    /* animation: blink 2s infinite; */
    /* color: #fff; */
}
.button-sound{
        width: 60px; 
        height: 60px; 
        border-radius: 50%; 
        background: #fff; 
        display: flex; 
        justify-content: center; 
        align-items: center;
        margin-right: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.4);
        font-size: 30px;
        color: #f12711;
        /*animation: pulse 1.5s infinite;
        animation: shake 2.5s infinite;*/
}
/*.button-sound-pulse {
  animation: pulse 1.5s infinite ease-in-out;
}*/
.button-sound-container {
  position: relative;
  font-size: 2.5em;
  background: radial-gradient(circle, #fff 40%, #d32d2d 80%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  overflow: visible;
  /* margin-right: 20px; */
  z-index: 9;
}

.ripple {
  position: absolute;
  width: 70px;
  height: 70px;
  border: 3px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  top: 0;
  left: 0;
  animation: ripple 2s infinite;
  z-index: -1;
}

.button-sound-pulse {
  animation: pulse 1.5s infinite ease-in-out;
  border-radius: 50%;
}

.button-sound-shake {
  animation: shake 3s infinite ease-in-out;
  border-radius: 50%;
}



.auth-container {

    position: fixed;

    right: 20px;

    top: 10px;

    z-index: 10000;

}

.auth-container .login-button, .auth-container .change-password-button {

    background-color: #007bff;

    color: white;

    padding: 5px 10px;

    border: none;

    border-radius: 5px;

    cursor: pointer;

    text-decoration: none;

}

.auth-container .login-button:hover, .auth-container .change-password-button:hover {

    background-color: #0056b3;

}

.user-info {

    display: flex;

    align-items: center;

    gap: 10px;

}



.like-container {position: fixed;right: 20px;top: 50px;z-index: 9999;font-size: 1em;}

.comment-container {

    position: fixed;

    right: 20px;

    top: 100px;

    z-index: 9999;

}

.like-button, .comment-toggle {background-color: #007bff;color: white;padding: 10px 15px;border: none;border-radius: 5px;cursor: pointer;display: flex;align-items: center;gap: 5px;min-width: 76px;font-weight: bold;justify-content: center;z-index: 999999;}

.like-button:hover {

    background-color: #0056b3;

}

.comment-toggle {

    background-color: #eea91e;

    color: white;

}

.comment-toggle:hover {

    background-color: #bb861c;

}

.comment-box {

    position: absolute;

    top: 50px;

    right: 0;

    width: 550px;

    height: 600px;

    overflow-y: auto !important;

    background: white;

    border: 1px solid #ddd;

    border-radius: 5px;

    padding: 10px;

    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

    border-radius: 20px 0 0 0;

    overflow-x: hidden;

    max-height: calc(100vh - 170px);

}

.html-before-comments {

    display: none;

}

.like-button:active, .comment-toggle:active {

    transform: scale(0.95);

}

.like-button .fa-thumbs-up, .comment-toggle .fa-comments {

    transition: transform 0.4s ease, filter 0.4s ease;

}

.like-button.liked .fa-thumbs-up, .comment-toggle.commented .fa-comments {

    animation: thumbsUpGlow 0.6s ease forwards;

}

.like-count-updated, .comment-count-updated {

    animation: flyUp 0.5s ease;

    display: inline-block;

}

.like-particles, .comment-particles {

    position: absolute;

    top: 50%;

    left: 50%;

    width: 10px;

    height: 10px;

    background: rgba(255, 255, 255, 0.8);

    border-radius: 50%;

    pointer-events: none;

    animation: particleBurst 0.8s ease-out forwards;

}

@keyframes thumbsUpGlow {

    0% { transform: scale(1) rotate(0deg); filter: brightness(1); }

    50% { transform: scale(1.6) rotate(10deg); filter: brightness(1.5) drop-shadow(0 0 5px #fff); }

    100% { transform: scale(1) rotate(0deg); filter: brightness(1); }

}

@keyframes flyUp {

    0% { transform: translateY(0); opacity: 0.5; }

    50% { transform: translateY(-10px); opacity: 1; }

    100% { transform: translateY(0); opacity: 1; }

}

@keyframes particleBurst {

    0% { transform: scale(1) translate(-50%, -50%); opacity: 1; }

    100% { transform: scale(0) translate(calc(-50% + var(--x)), calc(-50% + var(--y))); opacity: 0; }

}

.comment-form-cookies-consent { display: none; }

.comment-error { color: red; margin-top: 10px; }

.mention-dropdown { max-height: 200px; overflow-y: auto; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }

.mention-item:hover { background-color: #f0f0f0; }





.mention-dropdown {

    position: absolute;

    background: #fff;

    border: 1px solid #ccc;

    z-index: 99999999999;

    max-height: 200px;

    overflow-y: auto;

    box-shadow: 0 2px 5px rgba(0,0,0,0.1);

}

.mention-item:hover {

    background-color: #f0f0f0;

}

#wpadminbar{display: none;}











/* CSS cho submenu */

.user-info{

    height: 33px;

}

.user-info .showsub{

    height: 100%;    align-items: center;

    display: flex;

}

.user-info .ab-sub-wrapper {

    display: none;

    position: absolute;

    top: 100%;

    right: 0;

    background: #23282d;

    border-radius: 3px;

    box-shadow: 0 2px 5px rgba(0,0,0,0.2);

}

.user-info .showsub:hover .ab-sub-wrapper {

    display: block;

}

.user-info .ab-submenu {

    list-style: none;

    padding: 0;

    margin: 0;

    min-width: 200px;

    height: 100%;

}

.user-info .ab-submenu li {

    border-bottom: 1px solid #32373c;

}

.user-info .ab-submenu li:last-child {

    border-bottom: none;

}

.user-info .ab-submenu .ab-item {

    display: block;

    padding: 10px 15px;

    color: #a0a5aa;

    text-decoration: none;

    font-size: 14px;

}

.user-info .ab-submenu .ab-item:hover {

    background: #32373c;

    color: #eea91e;

}

.user-info .ab-submenu .user-info-item .ab-item {

    display: flex;

    align-items: center;

    gap: 10px;

}

.user-info .ab-submenu .user-info-item .avatar {

    border-radius: 50%;

}

.user-info .ab-submenu .user-info-item .display-name {

    display: block;

    color: #fff;

    font-weight: bold;

}

.user-info .ab-submenu .user-info-item .username {

    display: block;

    color: #a0a5aa;

    font-size: 12px;

}



.comment-form-comment{position: relative;}



ol.comment-list .comment-content a{color: #d18d03}



#respond{

        border-bottom: solid 1px #603913;

    margin-bottom: 1em;

    padding-bottom: .5em;

}

.comment-editor{

    margin-bottom: .5em;

}

li.comment {

    border-top: solid 1px #ccc !important;

}

ol.comment-list{

    padding: 0;

}



.comment-list .edit-link{

    /* display: inline-block; */

    margin: 0 .5em 0 0;

    font-weight: normal;

}

.comment-list a.comment-edit-link {

    margin: 0 1em;

}

.comment-list time{margin-bottom: .5em;}

.comment-list .says{display: none;}

.comment-list .strong.fn:after{content: ":"}

#close-cb{



    position: fixed;

    top: 125%;

    right: 20px;

    font-size: 25px;

    /* line-height: 2; */

    background: #fff;

    /* border-radius: 200px; */

    z-index: 9999999;

    /* border: solid 1px #603913; */

    width: 30px;

    height: 30px;

    display: flex;

    align-items: center;

    text-align: center;

    justify-content: center;

    color: #603913;

    padding: 20px;

}





.comment-editor {

    border: 1px solid #ccc;

    padding: 10px;

    min-height: 100px;

    width: 100%;

    resize: vertical;

    background: #fff;

    overflow-y: auto;

}

.comment-editor:empty:before {

    content: attr(placeholder);

    color: #999;

}

.comment-editor a {

    color: #d18d03; /* Màu link khác biệt */

    text-decoration: none;

    font-weight: bold;

}

.mention-dropdown {

    position: absolute;

    background: #fff;

    border: 1px solid #ccc;

    max-height: 200px;

    overflow-y: auto;

    box-shadow: 0 2px 5px rgba(0,0,0,0.1);

    width: 100%;

    z-index: 9999;

}

.mention-item {

    padding: 5px;

    cursor: pointer;

}

.mention-item:hover {

    background: #f0f0f0;

}



.comment-form,.comment-form-comment{

        width: 100%;

    margin: 0;

}

p.form-submit{

    padding: 0;

    margin-top: .5em;

}





.custom-loading {

    display: inline-block;

    width: 20px;

    height: 20px;

    border: 2px solid #555;

    border-top: 2px solid #eea91e; 

    border-radius: 50%;

    animation: spin 1s linear infinite;

/*    vertical-align: middle;*/

    margin-left: 10px;

}



@keyframes spin {

    0% { transform: rotate(0deg); }

    100% { transform: rotate(360deg); }

}



#loginform input[type="submit"] {

    transition: opacity 0.3s;

}



.menu__close.open {

    background: #fff;

}



@media only screen and (max-width: 1100px) and (orientation: portrait) {

    

    .mfp-content input{

        height: 40px;

    }

    .mfp-content input[type="checkbox"]{

        height: initial;

    }

    .mfp-content .lightbox-content{

        transform: scale(1.5) !important;

        transform-origin: bottom;

    }



    .mlmz155{

        zoom: 1.5;
/*  -webkit-transform: scale(1.5);
  -ms-transform: scale(1.5);
  transform: scale(1.5);
  transform-origin: top left;*/

    }
    .mlmz156{

        zoom: 1.5;
/*  -webkit-transform: scale(1.5);
  -ms-transform: scale(1.5);
  transform: scale(1.5);
  transform-origin: top left;*/

    }

    .bg-nghe{
  -webkit-transform: scale(2);
  -ms-transform: scale(2);
  transform: scale(2);
  transform-origin: bottom left;
    }
    .bg-remote-nghe{
  -webkit-transform: scale(2);
  -ms-transform: scale(2);
  transform: scale(2);
  transform-origin: bottom left;
    }


    .comment-container{/* top: 150px; *//* right: 30px; */}

    /*.emagazine-audio-player{right: 30px;top: 227px;}*/
    #audio-container{/* width: 30%!important; */}
}



/*@media only screen and (max-width: 1500px) and (min-width: 1101px) and (orientation: landscape) {

        .mlmz155{

        zoom: 0.5;

    }

}*/

@media only screen and (max-width: 1100px) and (orientation: landscape) {

    .comment-box {top: 50px;}

    #close-cb {top: 125%;}
        .mlmz155{

        zoom: 0.5;
/*  -webkit-transform: scale(0.5);
  -ms-transform: scale(0.5);
  transform: scale(0.5);
  transform-origin: top left;*/

    }
    #audio-container{/* bottom: 260px!important; */}

}





























































/* Style cho container đăng nhập mạng xã hội */

.social-login-container {

    margin: 20px 0;

    text-align: center;

    border-top: 1px solid #e5e5e5;

    padding-top: 15px;

}



.social-login-title {

    font-size: 14px;

    color: #777;

    margin-bottom: 15px;

    position: relative;

}



/* Style cho nút đăng nhập mạng xã hội */

.nsl-container {

    display: flex;

    justify-content: center;

    margin-bottom: 15px;

}



.nsl-button {

    margin: 0 5px !important;

    transition: all 0.3s ease;

}



.nsl-button:hover {

    transform: translateY(-2px);

    box-shadow: 0 2px 5px rgba(0,0,0,0.2);

}



/* Tùy chỉnh phù hợp với giao diện hiện tại */

.nsl-container-buttons {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

}



/* Responsive */

@media (max-width: 480px) {

    .nsl-container-buttons {

        flex-direction: column;

    }

    

    .nsl-button {

        margin: 5px 0 !important;

    }
}



@media only screen and (max-width: 767px) and (orientation: portrait) {

    #audio-container{width: 100%!important;}
}





/* Thông báo đăng nhập thành công */

.social-login-success {

    position: fixed;

    top: 20px;

    right: 20px;

    background-color: #4CAF50;

    color: white;

    padding: 15px 20px;

    border-radius: 4px;

    z-index: 9999;

    box-shadow: 0 2px 10px rgba(0,0,0,0.2);

    display: none;

    font-size: 14px;

}



/* Style thêm cho hiển thị thông tin nhà cung cấp (provider) */

.user-info .showsub span {

    display: flex;

    align-items: center;

}



/* Badge cho nhà cung cấp */

.provider-badge {

    font-size: 11px;

    padding: 2px 5px;

    border-radius: 3px;

    margin-left: 5px;

    font-weight: normal;

}



.provider-badge.google {

    background-color: #ea4335;

    color: white;

}



.provider-badge.facebook {

    background-color: #3b5998;

    color: white;

}



/* Hiệu ứng chuyển tiếp khi click nút đăng nhập */

.nsl-button {

    transition: transform 0.2s ease, box-shadow 0.2s ease;

}



.nsl-button:active {

    transform: scale(0.95);

}



/* Màu chủ đề cho separator */

.social-login-container {

    position: relative;

}



.social-login-title {

    display: inline-block;

    background-color: white;

    padding: 0 10px;

    position: relative;

    top: -10px;

}







div.nsl-container .nsl-button-default, #nsl-custom-login-form-1 .nsl-container-embedded-login-layout-below,div.nsl-container div.nsl-container-buttons a[data-plugin="nsl"],div.nsl-container.nsl-container-block .nsl-container-buttons{

    margin: 0 !important;

    padding: 0 !important;

}



.login-submit,#nsl-custom-login-form-1,.reg-submit{

    float: left;

}

#loginform input[type="submit"]{

    margin-bottom: 0;

}















.comment-like {

    position: relative;

    margin-right: 10px;

}

.comment-like-link {

    text-decoration: none;

    color: #333;

}

.comment-like-link i {

    margin-right: 5px;

}

.comment-like-link .fa-heart {

    color: red;

}

.like-users {

    /*min-width: 200px;*/

    box-shadow: 0 2px 5px rgba(0,0,0,0.2);

    display: none; position: absolute; background: white; border: 1px solid #ccc; padding: 10px; z-index: 100;

    right: 0;

        text-transform: initial;

}

.like-users ul {

    list-style: none;

    margin: 0;

    padding: 0;

    min-width: 170px;

}

.like-users li {

    padding: 5px 10px;

}



        @keyframes heartBeat {

            0% { transform: scale(1); }

            14% { transform: scale(1.5); }

            28% { transform: scale(1); }

            42% { transform: scale(1.5); }

            70% { transform: scale(1); }

        }

        

        @keyframes heartPop {

            0% { transform: scale(0); opacity: 0; }

            50% { transform: scale(1.5); opacity: 1; }

            100% { transform: scale(1); opacity: 1; }

        }

        

        .fa-heart.animate-like {

            animation: heartBeat 1s ease-in-out;

            color: #ff5b5b;

        }

        

        .heart-burst {

            position: absolute;

            pointer-events: none;

            z-index: 999;

            transform-origin: center;

            opacity: 0;

        }

        

        .like-burst {

            animation: heartPop 1s ease-out forwards;

        }

        

        .comment-like-link {

            position: relative;

            overflow: visible;

        }

        

        .comment-like-link .fa {

            transition: all 0.6s ease;

            font-size: 1.1em;

        }

        

        .fa-heart-o {

            color: #888;

        }

        

        .fa-heart {

            color: #ff5b5b;

        }

        

        .like-count {

            transition: all 0.6s ease;

            display: inline-block;

        }

        

        .like-count.animate {

            transform: translateY(-5px);

        }