/*
Theme Name: QLVBNB - DNA | Nhôm Đắk Nông - TKV
Theme URI: https://qlvbnb.namdh.vn/
Author: namdh.vn
Author URI: https://namdh.vn/
Description: DNA Chuyển đổi số, số hoá văn bản tài liệu 2026
Text Domain: dna
Version: 1.0.3-2025.12.18
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/*
    font-family: 'Open Sans', sans-serif;
    font-family: 'Roboto', sans-serif;
    font-family: 'Roboto Condensed', sans-serif;
*/
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #dadce0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #bdc1c6;
}

a {
    cursor: pointer;
}

*,
p,
span,
a,
.p,
.span,
.a {
    font-family: 'Roboto', sans-serif;
}

h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1,
th,
.card-title,
.overline-title,
.title,
.btn,
.badge,
.overline-title,
.page-title {
    font-family: 'Roboto Condensed', sans-serif;
}

/*ul[class*=-menu]>li a span,ul[class*=nav]>li a span*/
h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1,
th,
td,
p,
a,
label.form-label,
label.custom-control-label {
    color: #000;
}

span.badge {
    padding-top: 1.5px;
}

/**/
.nk-fmg-body,
.nk-fmg {
    /*background-color: #fff;*/
}

.nk-fmg-body-content {
    padding: 20px 15px;
}

/**/
.user-avatar,
[class^=user-avatar]:not([class*=-group]) {
    background-color: #8091a7;
}

/**/
input.form-control.focus {
    font-weight: bold;
}

/*
 * Tuỳ biến table
 */
.nk-tb-col {
    padding: 5px;
    box-shadow: none !important;
}

/*
 * Custome style Sidebar
 */
.nk-sidebar.is-compact .nk-header-app-info {
    /*    transition: width 5s;*/
    opacity: 0;
}

.nk-sidebar.is-compact:hover .nk-header-app-info {
    opacity: 1;
    /*    transition: width 1s;*/
}

/**
 * Tùy biến style menu fn
 */
ul.nk-fmg-menu {
    padding: 0;
    padding-bottom: 100px;
}

li.ndh-menu-newstyle {}

li.ndh-menu-newstyle>a {
    background: none;
    padding: 8px;
    border-bottom: 1px solid #3333;
    border-radius: 0;
}

li.ndh-menu-newstyle>a span {
    color: #1f2b3a;
    /*margin: 0;*/
}

li.ndh-menu-newstyle>ul {
    padding: 5px;
}

li.ndh-menu-newstyle>ul li {
    padding-bottom: 0px !important;
    margin: 0;
}

li.ndh-menu-newstyle>ul li a span {
    color: #1f2b3a;
}

/*active*/
li.ndh-menu-newstyle.active {
    background: none;
}

li.ndh-menu-newstyle.active>a {
    background: none;
    border-radius: 0;
}

li.ndh-menu-newstyle.active>a span,
li.ndh-menu-newstyle>ul li:hover a span {
    color: #e14954 !important;
}

li.ndh-menu-newstyle.active>ul {}

li.ndh-menu-newstyle.active>ul li.active {}

li.ndh-menu-newstyle.active>ul li.active,
li.ndh-menu-newstyle.active>ul li a span {
    color: #1f2b3a;
}

li.ndh-menu-newstyle.active>ul li.active a {
    background: none;
}

li.ndh-menu-newstyle.active>ul li.active a span {
    color: #e14954;
}

img.icon {
    width: 12px !important;
    height: auto;
}

.list-choice img.icon {
    margin-right: 0 !important;
}

/*FORM CREAT AND EDIT POST*/
/*input#post_title {
    font-weight: bold; 
    color: var(--bs-primary);
}*/
/*Breadcrumb*/
nav>.breadcrumb {}

nav>.breadcrumb li.breadcrumb-item {}

nav>.breadcrumb li.breadcrumb-item.active {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 300px;
}

nav>.breadcrumb li.breadcrumb-item>a {}

/*
 *
 */
.custom-control .custom-control-input[disabled]~.custom-control-label,
.custom-control .custom-control-input:disabled~.custom-control-label {
    font-weight: bold;
    /*color: #000;*/
    opacity: 1;
}

.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label::before,
.custom-radio .custom-control-input:disabled:checked~.custom-control-label::before,
.custom-switch .custom-control-input:disabled:checked~.custom-control-label::before {
    /*border-color: #000;*/
    background-color: #fff;
}

.custom-control .custom-control-input:checked~.custom-control-label::after {
    /*color: #000;*/
}

/**/
.dataTables_filter label {
    width: 100%;
}

.form-control-wrap.focused span.select2-selection {
    border: 1px solid #e91e63;
}

.form-control-wrap.focused input.form-control,
.form-control-wrap.focused span.select2-selection,
.form-control-wrap.focused span.select2-selection>span {
    color: #007bff !important;
    border-color: #007bff !important;
    /*box-shadow: 0 0 4px rgba(0,123,255,0.5);*/
    font-weight: bold;
}

/*
 * Tuỳ chỉnh lại giao diện không viền
 */
.nk-header,
.nk-fmg-body-head {
    /*box-shadow: none;
    border: 0;*/
}

.nk-fmg-body-head {
    padding: 3px 15px
}

/** 
 * Nút gemini-shine đẹp lung lịn
 */
/* CSS chèn vào file style.css hoặc thẻ <style> */
.bg-ai,
.gemini-shine {
    position: relative;
    background: linear-gradient(135deg, #0056b3, #0056b3, #0056b3, #0056b3);
    background-size: 300% 300% !important;
    animation: gradientMove 6s ease infinite, shine 2.5s ease-in-out infinite;
    overflow: hidden;
    /*box-shadow: 0 4px 15px rgba(99, 91, 255, 0.4);*/
    transition: all 0.3s ease;
}

.gemini-shine {
    padding: 0.35rem 0.9rem !important;
}

/* Gradient trôi chậm từ trái sang phải */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Hiệu ứng ánh sáng lướt qua (shimmer) */
.bg-ai:before,
.gemini-shine::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.15),
            rgba(255, 255, 255, 0.4),
            transparent);
    transform: translateX(-100%) rotate(30deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }

    60% {
        transform: translateX(100%) rotate(30deg);
    }

    100% {
        transform: translateX(100%) rotate(30deg);
    }
}

/* Hover thì sáng hơn tí cho sang */
.bg-ai:hover,
.gemini-shine:hover {
    transform: translateY(-2px);
    /*box-shadow: 0 8px 25px rgba(99, 91, 255, 0.6);*/
}

.ai-logo {
    background: linear-gradient(135deg, #fff, #e0d9ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    font-size: 0.95em;
    letter-spacing: -1px;
    padding: 2px 4px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.gold-chrome {
    position: relative;
    background: linear-gradient(135deg,
            #FFD700, #FFEA6F, #FFFFFF, #FFE046, #D4AF37, #FFC24F, #B8860B);
    background-size: 400% 400% !important;
    animation: luxuryFlow 8s ease infinite, chromePulse 3s ease-in-out infinite;
    overflow: hidden;
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 40px rgba(255, 223, 0, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.5);
    transition: all 0.4s ease;
}

/* Nút nhỏ hơn một chút cho sang */
.gold-chrome {
    padding: 0.4rem 1rem !important;
    border-radius: 12px;
}

/* Gradient chảy chậm như kim loại nóng chảy */
@keyframes luxuryFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Nhịp đập nhẹ của chrome vàng */
@keyframes chromePulse {

    0%,
    100% {
        box-shadow:
            0 0 20px rgba(255, 215, 0, 0.6),
            0 0 40px rgba(255, 223, 0, 0.4),
            inset 0 0 30px rgba(255, 255, 255, 0.3);
    }

    50% {
        box-shadow:
            0 0 30px rgba(255, 215, 0, 0.9),
            0 0 60px rgba(255, 223, 0, 0.7),
            inset 0 0 50px rgba(255, 255, 255, 0.5);
    }
}

/* Hiệu ứng ánh kim cương lướt qua (cái này mới là điểm nhấn sang chảnh) */
.gold-chrome::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -50%;
    width: 150%;
    height: 300%;
    background: linear-gradient(120deg,
            transparent 20%,
            rgba(255, 255, 255, 0.1) 30%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0.1) 70%,
            transparent 80%);
    transform: rotate(25deg);
    animation: diamondShine 4s linear infinite;
}

@keyframes diamondShine {
    0% {
        transform: translateX(-100%) translateY(-50%) rotate(25deg);
    }

    100% {
        transform: translateX(100%) translateY(-50%) rotate(25deg);
    }
}

/* Nhấc lên + sáng bùng khi hover */
.gold-chrome:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        0 15px 35px rgba(255, 215, 0, 0.8),
        0 0 60px rgba(255, 255, 255, 0.6),
        inset 0 0 50px rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Text vàng kim cương + viền phát sáng nhẹ */
.gold-logo {
    background: linear-gradient(135deg, #FFFFFF, #FFFFF0, #FFD700, #FFEA6F);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    font-size: 1em;
    letter-spacing: -0.5px;
    text-shadow:
        0 0 10px rgba(255, 215, 0, 0.6),
        0 0 20px rgba(255, 255, 255, 0.4);
    border: 1.5px solid rgba(255, 215, 0, 0.5);
    border-radius: 8px;
    padding: 4px 8px;
    font-family: 'Segoe UI', 'Beaufort for LOL', system-ui, sans-serif;
}

#ai-results-container .chat.is-you .chat-msg * {
    margin: 0;
    color: var(--bs-body-color);
}