
#surveyToggle {
    position: fixed;
    top: 30%;
    right: -50px; 
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;
    z-index: 9999;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}


#chatBotToggle {
    position: fixed;
    height:60px;
    bottom: 2%;
    right: 10px; 
    transform-origin: center;
    z-index: 9999;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 8px;
}

@media (max-width: 768px){

    #surveyToggle{
        right: -28px !important;
        top: 35% !important;
        /* padding: 8px 16px !important; */
        font-size: 12px !important;
    }

    #chatBotToggle{
        right: 5px !important;
        bottom: 5% !important;
        top: auto !important;
        height: 50px !important;
        padding: 8px 14px !important;
        font-size: 12px !important;
    }

}

.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.hover-shadow-ds:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.carousel-item img {
    transition: 0.2s;
}
.carousel-item img:hover {
    transform: scale(1.05);
}

.slider-wrapper {
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Gambar */
.slider-img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

/* TABLET */
@media (max-width: 992px) {
    .slider-wrapper {
        height: 250px;
    }
    
}

@media (min-width: 992px){
    .ml10p{
        margin-left:10%;
    }
}

/* MOBILE */
@media (max-width: 576px) {
    .slider-wrapper {
        height: 180px;
        padding: 10px;
    }

    .slider-img {
        width: 100%;
        height: auto;
    }
}
/* SEARCH BOX CONTAINER (biar keliatan 1 kesatuan) */
/* CONTAINER */
.search-box {
    border: 1px solid #b1b1ad; /* gold */
    border-radius: 14px;
    overflow: hidden;
    background: #d8d0d0;
    transition: all 0.3s ease;
    width:80%;
    
}

/* FOCUS (gold accent 🔥) */
.search-box:focus-within {
    border-color: #ecebe6;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* SELECT */
.search-select {
    flex: 0 0 180px;
    height: 60px;
    border: none;
    border-right: 1px solid #eee;
    border-radius: 0 !important;
    background: #fafafa;
    font-weight: 500;
}

/* INPUT */
.search-input {
    flex: 1 1 auto;
    height: 80px;
    border: none;
    border-radius: 0 !important;
    font-size: 15px;
}

/* BUTTON */
.search-btn {
    flex: 0 0 auto;
    height: 60px;
    padding: 0 28px;
    border-radius: 0 !important;
    border-left: 1px solid #adaba3;
    background: #e7e6e6;
    color: #471b1b;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* HOVER */
.search-btn:hover {
    background: #795f0c;
    color: #fff;
}

/* CLEAN FOCUS */
.search-box .form-control:focus,
.search-box .form-select:focus {
    box-shadow: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .search-box{
        flex-direction: row !important;
        border-radius: 10px;
        width: 100%;
        max-width: 95%;
        margin: 0 auto;
    }

    .search-select{
        flex: 0 0 110px;
        font-size: 12px;
        padding: 8px;
    }

    .search-input{
        flex: 1;
        font-size: 13px;
        padding: 8px;
    }

    .search-btn{
        padding: 0 14px;
        font-size: 12px;
        height: 50px;
    }

}

/* HEIGHT GLOBAL */
.search-select,
.search-input,
.search-btn {
    height: 60px;
}

@media (max-width: 768px) {
    .search-select,
    .search-input,
    .search-btn {
        height: 50px;
    }
}

/* FOOTER */
.footer-section {
    background: linear-gradient(10deg, rgb(32, 104, 187) 10%, rgb(17, 83, 62) 100%);
    color: #fff;
}

/* LINK ORGANISASI */
.footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.footer-link i {
    font-size: 18px;
}

.footer-link:hover {
    opacity: 0.8;
    transform: translateX(3px);
}

/* LOGO */
.footer-logo {
    max-height: 180px;
    border-radius: 50%;
}

/* SOCIAL ICON */
.footer-social a {
    font-size: 22px;
    transition: 0.2s;
}

.footer-social a:hover {
    transform: scale(1.2);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-title {
        font-size: 20px !important;
        text-align: center;
    }

    .footer-desc {
        text-align: center;
    }

    .footer-logo {
        max-height: 120px;
        margin-bottom: 15px;
    }

    .footer-right {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* LOGO DEFAULT */
.footer-logo {
    max-height: 160px;
}

/* SOCIAL ICON */
.footer-social i {
    font-size: 20px;
    transition: 0.2s;
}

.footer-social i:hover {
    transform: scale(1.2);
}

/* MOBILE */
@media (max-width: 768px) {

    .footer-logo {
        max-height: 90px; /* kecil di mobile */
    }

    .footer-social {
        justify-content: center;
    }

    .col-lg-4 .row {
        text-align: center;
    }

    .col-lg-4 .col-8 {
        text-align: center;
    }
}

.filter-scroll {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
}

.filter-scroll::-webkit-scrollbar {
    width: 5px;
}
.filter-scroll::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 10px;
}

.filter-scroll-l {
    max-height: 350px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
}

.filter-scroll-l::-webkit-scrollbar {
    width: 5px;
}
.filter-scroll-l::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 10px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;

    color: #0d6efd;
    background-color: #eef4ff;

    border: 1px solid #d0e2ff;
    border-radius: 8px;

    transition: all 0.2s ease;
}

/* HOVER */
.btn-back:hover {
    background-color: #0d6efd;
    color: #fff;
    border-color: #0d6efd;

    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(13, 110, 253, 0.2);
}

/* ACTIVE */
.btn-back:active {
    transform: scale(0.97);
}

/* ICON */
.btn-back i {
    font-size: 12px;
}

.related-item {
    transition: 0.2s;
}

.related-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.meta-label {
    font-size: 13px;
    font-weight: 600;
    color: #6c757d;
    display: block;
    margin-bottom: 4px;
}

.meta-value {
    font-size: 14px;
    font-weight: 500;
    color: #212529;
}

.meta-description {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
}

/* BASE TAG */
.tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    transition: 0.2s;
    white-space: nowrap;
}

/* VARIAN WARNA */
.tag-primary {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.tag-success {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.tag-warning {
    background: rgba(255, 193, 7, 0.15);
    color: #b88900;
}

.tag-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.tag-info {
    background: rgba(13, 202, 240, 0.15);
    color: #0dcaf0;
}

/* HOVER EFFECT */
.tag:hover {
    transform: translateY(-2px);
    filter: brightness(0.95);
    cursor: default;
}

.related-item {
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.related-item:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border-color: #e9ecef;
}

.related-icon {
    width: 50px;
    height: 50px;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
}

.related-icon img {
    max-width: 28px;
}

.related-title {
    line-height: 1.4;
}

.file-item {
    transition: all 0.25s ease;
    border-radius: 12px;
}

.file-item:hover {
    /* transform: translateY(-2px); */
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.file-icon {
    width: 55px;
    height: 55px;
    background: #f1f3f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-icon img {
    max-width: 30px;
}

.login-btn {
    transition: all 0.25s ease;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(25, 135, 84, 0.25);
}

.btn-outline-primary:hover,
.btn-outline-warning:hover {
    transform: translateY(-2px);
    transition: 0.25s;
    box-shadow: 0 10px 18px rgba(0,0,0,0.1);
    color:white;
}

.btn-outline-primary:hover i,
.btn-outline-warning:hover i {
    color: #fff;
}


.stat-wrapper {
    background: #f8f9fa;
    border-radius: 50px;
    border: 1px solid #e0e0e0;
    padding: 15px 10px;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.icon i {
    font-size: 32px;
    color: #1e3a5f;
}

.stat-item h2 {
    font-size: 28px;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: #6c757d;
}

@media (max-width: 1024px) {
    .stat-label {
        font-size: 10px;
    }

    .stat-item h2 {
        font-size: 18px;
    }

    .stat-item .icon i {
        font-size: 18px !important;
    }
}

/* Tablet */
@media (max-width: 991px) {

    .stat-wrapper {
        border-radius: 25px;
        padding: 15px;
    }

    .stat-besar > div {
        margin-bottom: 15px;
    }

    .icon i {
        font-size: 28px;
    }

    .stat-item h2 {
        font-size: 24px;
    }

    
}

/* Mobile */
@media (max-width: 576px) {

    .stat-wrapper {
        border-radius: 20px;
        padding: 15px 10px;
    }

    .stat-besar > div {
        margin-bottom: 15px;
    }

    .stat-item {
        justify-content: flex-start;
        padding: 10px;
        border-radius: 12px;
        background: #fff;
    }

    .icon {
        margin-right: 12px !important;
    }

    .icon i {
        font-size: 24px;
    }

    .stat-item h2 {
        font-size: 20px;
    }

    .stat-label {
        font-size: 12px;
    }
}

/* BACKGROUND */
.banner-hero {
    min-height: 500px;
    background-image: url('../../image/bg-ldt-dash.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* overlay */
.banner-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background: rgba(255, 255, 255, 0.75); */
}

/* content di atas overlay */
.banner-hero .card-body {
    position: relative;
    z-index: 2;
}

/* TEXT */
.banner-hero-text {
    padding-left: 60px;
}

.banner-hero-title {
    font-size: 36px;
    font-weight: 700;
    color: #7a1f2b; /* maroon */
}

.banner-hero-desc {
    font-size: 18px;
    color: #333;
    max-width: 500px;
}

/* SLIDER */
.banner-hero-slider {
    padding: 20px;
}

.bg-carousel-hero-text{
    background-color: #fcf9f9;
    padding:10px;
    opacity:90%;
}
/* RESPONSIVE */
@media (max-width: 992px) {
    .banner-hero {
        height: auto;
        padding: 40px 0;
    }

    .banner-hero-text {
        padding-left: 20px;
        margin-bottom: 30px;
        text-align: center;
    }

    .banner-hero-title {
        font-size: 28px;
    }

    .banner-hero-desc {
        font-size: 16px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .banner-hero-title {
        font-size: 22px;
    }

    .banner-hero-desc {
        font-size: 14px;
    }
}

.stat-besar .stat-item {
    padding: 5px 0;
}

.stat-besar h2 {
    font-size: 20px;
    line-height: 1;
    color: #3d161b; 
    font-weight: 800 !important;

}

.stat-besar .stat-label {
    font-size: 12px;
    color: #3d161b;
}

/* icon ikut dibesarin */
.stat-besar .icon i {
    font-size: 30px;
    color: #3d161b;
}

/* Tablet */
@media (max-width: 768px) {
    .stat-besar h2 {
        font-size: 28px;
    }

    .stat-besar .icon i {
        font-size: 32px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .stat-besar h2 {
        font-size: 24px;
    }

    .stat-besar .stat-label {
        font-size: 12px;
    }
}

.text-maroon-active {
    color: #7a1f2b !important;
    position: relative;
    display: inline-block;
}

.t-maroon {
    color: #7a1f2b !important;
}

.text-maroon {
    color: #7a1f2b !important;
    position: relative;
    display: inline-block;
}

.text-maroon-btn {
    color: #7a1f2b !important;
    position: relative;
    display: inline-block;
}

.text-maroon-btn:hover {
    color: #f3eeee !important;
    position: relative;
    display: inline-block;
}

/* garis sesuai text */
.text-maroon-active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #7a1f2b;
}

#kt_app_header_menu .menu-link {
    padding-left: 8px !important;
    padding-right: 8px !important;
}

.btn-login {
    background: #7a1f2b; /* maroon */
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}


/* hover */
.btn-login:hover {
    background: #5c1720;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.bg-marron{
    background: #7a1f2b;
    color: #fff;
}

.btn-marron{
    background: #7a1f2b; /* maroon */
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-marron:hover{
    background: #f15f73; /* maroon */
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

#chatFloating {
    position: fixed;
    bottom: 110px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* tombol utama */
.btn-gold-chat {
    background: #6d661d;
    color: #fff;
    padding: 10px 16px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.text-gold {
    color: #a3992a !important;
   
}

.btn-gold-chat:hover {
    background: #8f8830;
    transform: translateY(-2px);
    color: #fff;
}

/* tombol close */
#closeChatBtn {
    background: #8f8830;
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    /* display: flex; */
    align-items: center;
    justify-content: center;
}

/* efek premium gold saat hover 🔥 */
.btn-login:hover {
    box-shadow: 0 0 0 2px rgba(212,175,55,0.4);
}

/* icon */
.btn-login i {
    font-size: 16px;
}
/* paksa item jadi flex column & center */
#kt_app_header_menu .menu-item {
    display: flex;
    justify-content: center;
}

/* link jadi center */
#kt_app_header_menu .menu-link {
    display: flex;
    justify-content: center !important;
    align-items: center;
    padding: 0 2px;
}

/* text center beneran */
#kt_app_header_menu .menu-title {
    text-align: center;
}

/* KHUSUS dropdown (Topik) biar tidak rusak */
.menu-sub .menu-item {
    display: block !important;
}

.menu-sub .menu-link {
    justify-content: flex-start !important;
}

.menu-sub .menu-title {
    text-align: left !important;
}

.menu-center {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    width: 100%;
}

/* BACKGROUND UTAMA */
.about-sdp {
    
    border-radius: 12px;
    overflow: hidden;
}

/* TITLE */
.about-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
}

/* DESKRIPSI */
.about-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
}

/* BOX KANAN */
.about-box {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 20px;
}

/* LOGO */
.about-logo {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #d4af37; /* gold */
}

/* SOSIAL MEDIA */
.about-social a {
    color: #fff;
    font-size: 18px;
    transition: 0.3s;
}

.about-social a:hover {
    color: #d4af37; /* gold hover */
    transform: translateY(-2px);
}

/* BUTTON GOLD */
.btn-gold {
    background: linear-gradient(45deg, #d4af37, #f1c40f);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-gold:hover {
    background: linear-gradient(45deg, #c39b2e, #e0b90f);
    color: #fff;
}
.btn-gold-foot {
    background: #6d661d;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-gold-foot:hover {
    background: linear-gradient(45deg, #c39b2e, #e0b90f);
    color: #000;
}


.btn-gold-monitoring {
    background: linear-gradient(45deg, #f1cf5d, #eccd4f);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-gold-monitoring:hover {
    background: linear-gradient(45deg, #c39b2e, #e0b90f);
}

.custom-file-input{
    height: 50px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.btn-marron-monitoring {
    background: #7a1f2b;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-marron-monitoring:hover {
    background: #ce4a5b;
}

.btn-marron-monitoring:disabled{
    background:#7a1f1f !important;
    color:#fff !important;
    opacity:.6 !important;
}

#btnKirim:disabled{
    opacity: .7 !important;
    cursor: not-allowed;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .about-title {
        font-size: 1.6rem;
    }

    .about-subtitle {
        font-size: 0.95rem;
    }

    .about-box {
        flex-direction: column;
        text-align: center;
    }
}

/* HEADER */
.list-header {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.list-header-monitoring {
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    min-height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mh-400{
    max-height: 200px;;
}

.list-title {
    color: #fff;
    font-weight: 700;
    font-size: 2rem;
}

.list-desc {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

.list-img {
    max-height: 110px;
}

/* SEARCH */
.input-search {
    height: 50px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.input-search:focus {
    border-color: #7a1f2b;
    box-shadow: 0 0 0 0.2rem rgba(122, 31, 43, 0.15);
}

/* BUTTON */
.btn-search {
    background: linear-gradient(45deg, #d4af37, #f1c40f);
    border: none;
    color: #000;
    height: 50px;
    padding: 0 20px;
    border-radius: 10px;
    font-weight: 600;
}

.btn-search:hover {
    background: linear-gradient(45deg, #c39b2e, #e0b90f);
}

.btn-filter {
    background: #7a1f2b;
    color: #fff;
    height: 50px;
    /* width: 50px; */
    border-radius: 10px;
}

.btn-filter:hover {
    background: #7c2e3a;
    color: #fff;
}

.btn-reset {
    height: 50px;
    width: 50px;
    border-radius: 10px;
    background: #f5f5f5;
}

.btn-reset:hover {
    background: #e0e0e0;
}

/* DATA CONTAINER */
.data-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    

    .input-search {
        height: 45px;
    }

    .btn-search,
    .btn-filter,
    .btn-reset {
        height: 45px;
    }
}

.list-header {
    border-radius: 16px;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    min-height: 370px;
    display: flex;
    /* align-items: center; */
}

/* overlay biar text kontras */
.bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0.95) 40%,
        rgba(255,255,255,0.6) 70%,
        rgba(255,255,255,0.2) 100%
    );
    border-radius: 16px;
}

/* TEXT */
.list-title {
    font-weight: 800;
    font-size: 32px;
    color: #7a1f2b;
}

@media (max-width: 768px) {
    

    .list-title {
        font-weight: 800;
        font-size: 22px;
        color: #7a1f2b;
    }
}

.list-desc {
    font-size: 15px;
    color: #444;
}

/* SEARCH BAR */
.search-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border-radius: 12px;
    padding: 8px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* INPUT */
.input-modern {
    box-shadow: none !important;
    border: 1px solid #d0e2ff;
}

/* BUTTON */
.btn-filter {
    background: #7a1f2b;
    color: #fff;
    border-radius: 10px;
    width: 50px;
    height: 45px;
}

.btn-search-list {
    background: linear-gradient(135deg, #7a1f2b, #a83244);
    color: #fff;
    border-radius: 10px;
    padding: 10px 18px;
    min-width:50px;
}

.btn-search-list:hover {
    background: linear-gradient(135deg, #9b3c48, #52292f);
    color: #fff;
    border-radius: 10px;
    padding: 10px 18px;
    min-width:50px;
}

.btn-reset {
    background: #f1f1f1;
    border-radius: 10px;
    /* width: 45px; */
    /* height: 45px; */
}

.list-desc {
    max-width: 600px;
    line-height: 1.6;
}

.card-hover {
    transition: all 0.25s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

@media (min-width: 992px) {
    .mt-dashboard {
        margin-top: 135px;
    }
}

.breadcrumb-item a {
    text-decoration: none;
    color: #6c757d;
}

.breadcrumb-item.active {
    font-weight: 600;
    color: #000;
}

.mt-detail{
    margin-top:150px !important;
}

.meta-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #e5e7eb;
    padding-bottom: 6px;
    font-size: 14px;
}

.meta-item span {
    color: #6c757d;
}

.meta-item strong {
    color: #212529;
    text-align: right;
}

.card {
    border-radius: 12px;
}

.badge {
    font-weight: 500;
    padding: 6px 10px;
}

.text-desc{
    color: #3b4046 !important;
}

#descContent {
    transition: all 0.3s ease;
}

#descContent.collapsed {
    max-height: 120px;
    overflow: hidden;
    position: relative;
}

#descContent.collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(transparent, #fff);
}

.collapsed-meta {
    max-height: 180px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

/* efek fade */
.collapsed-meta::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(transparent, #fff);
}

.related-card {
    transition: all 0.25s ease;
    border-radius: 12px;
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.related-card img {
    border-radius: 8px;
}

.w-search-detail{
    width: 50%;
}

.mg-detail{
    max-height: 400px;
}

.text-justify {
    text-align: justify;
    text-justify: inter-word;
}

.mw-600{
    max-width: 600px;;
}

.mw-600-o{
    max-width: 700px;;
}

.org-card{
    border-radius: 18px !important;
    transition: all .25s ease;
}

.org-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,.08) !important;
}

.w-220{
    width: 100% !important;
    height: 160px !important;
    object-fit: contain !important;
    background: #fff;
    padding: 5px;
    border-radius: 14px !important;
}

.org-card .card-body{
    min-height: 250px !important;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.form-control {
    border-radius: 10px;
}

.form-control:focus {
    box-shadow: 0 0 0 0.15rem rgba(128, 0, 0, 0.15);
    border-color: #800000;
}

.btn-marron {
    background-color: #800000;
    color: #fff;
    border-radius: 10px;
}

.btn-marron:hover {
    background-color: #660000;
    color: #fff;
}

.card {
    border-radius: 14px;
}

.mh-220{
    max-height:220px;
}

.mt-150{
    margin-top:150px;
}

.mt50-page{

}
@media (max-width: 576px){
    .mt50-page{
        margin-top:50px;
    }

    .mt-150{
        margin-top:250px;
    }
    .mb-140{
        margin-top:50px; 
    }
    
}

.w-out{
    width: 100px;
}

.mb-140{
    margin-bottom:130px;
}

.h-btn-50{
    height:50px;
}

.h-60{
    height: 60px;;
}

.h-50{
    height: 50px;;
}

.chart-wrapper{
    position: relative;
    min-height: 450px;
}

#chartCanvas{
    width: 100% !important;
    height: 450px !important;
}

#diagramModal .modal-content{
    border-radius: 20px;
}

#diagramModal .form-select{
    border-radius: 12px;
}

#diagramModal .btn{
    border-radius: 12px;
}

@media(max-width:768px){

    .chart-wrapper{
        min-height: 320px;
    }

    #chartCanvas{
        height: 320px !important;
    }

    .mt-dashboard {
        margin-top: 30px;
    }

}

.typing-wrapper{
    min-height: 180px;
}

.banner-hero-title::after,
.banner-hero-desc::after{
    content: "|";
    animation: blink 0.7s infinite;
    margin-left: 2px;
}

@keyframes blink{
    50%{
        opacity: 0;
    }
}

.tentang-content{
    text-align: justify;
}

.btn-marron-view {
    background-color: #800000;
    border-color: #800000;
    color: #fff;
}

.btn-marron-view i {
    color: #fff !important;
}

.btn-marron-view:hover,
.btn-marron-view:focus {
    background-color: #6d0000;
    border-color: #6d0000;
    color: #fff;
}

.btn-marron-view:hover i,
.btn-marron-view:focus i {
    color: #fff !important;
}

.google-result-title{
    color:#3f3a3a;
    font-size:20px;
    font-weight:500;
    transition:.2s;
}



#listView .border-bottom:last-child{
    border-bottom:none !important;
}

.file-list-item{
    cursor:pointer;
    transition:.2s;
}

.file-list-item:hover{
    background:#f8f9fa;
}

.active-file{
    border:2px solid #7b2d26 !important;
    background:#fff8f1;
}

@media(max-width:991px){

    .file-list-item{
        padding:10px !important;
    }

    #previewFrame{
        height:450px !important;
    }
}


.file-list-scroll{
    max-height: 700px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Scrollbar */
.file-list-scroll::-webkit-scrollbar{
    width: 8px;
}

.file-list-scroll::-webkit-scrollbar-thumb{
    background: #c1c1c1;
    border-radius: 10px;
}

.file-item-preview{
    text-decoration: none;
    display: block;
}

.file-item-preview .file-card{
    transition: all .2s ease;
    cursor: pointer;
}

.file-item-preview:hover .file-card{
    border-color: #c49b3a !important;
    background: #fffaf0;
}

.file-item-preview.active .file-card{
    border: 2px solid #c49b3a !important;
    background: #fff8e6 !important;
    box-shadow: 0 0 10px rgba(196,155,58,.25);
}

.file-item-preview.active .file-card::before{
    content: "Sedang Dipreview";
    display: inline-block;
    background: #c49b3a;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.file-card{
    transition: all .2s ease;
    border: 1px solid #dee2e6;
}

.file-card.active-preview{
    background: #fff8e6 !important;
    border: 2px solid #c49b3a !important;
    box-shadow: 0 0 12px rgba(196,155,58,.35);
    position: relative;
}

.file-card.active-preview::after{
    content: "✓ Sedang Dipreview";
    position: absolute;
    top: 8px;
    right: 8px;
    background: #198754;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    z-index: 10;
}

img.img-topik {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

@media (max-width: 576px) {
    img.img-topik {
        width: 48px;
        height: 48px;
    }
}

.menu-link {
    border-radius: 8px;
    transition: all .2s ease;
}

.menu-link:hover {
    background: #f5f8ff;
    transform: translateX(2px);
}

.app-wrapper,
.app-container,
.app-header,
.container-xxl {
    overflow: visible !important;
}

.autocomplete-box{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    width: 100%;
    padding: 10px;

    background: #fff;
    border: 1px solid #e4e6ef;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);

    max-height: 150px;
    overflow-y: auto;
}

.autocomplete-box{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;

    padding: 6px 8px;

    z-index: 99999;
    overflow-x: auto;
    overflow-y: hidden;

    background: #fff;
    border: 1px solid #e4e6ef;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,.10);
}

.autocomplete-item{
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    gap: 5px;

    padding: 5px 10px;
    border-radius: 16px;

    font-size: 12px;        /* kecilkan tulisan */
    line-height: 1;

    background: #f5f8fa;
    border: 1px solid #e4e6ef;

    cursor: pointer;
    white-space: nowrap;
    transition: .2s;
}

.autocomplete-item i{
    font-size: 10px;
}

.carousel-tautan .carousel-control-prev,
.carousel-tautan .carousel-control-next {
    width: 36px;
    height: 36px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.45);
    border-radius: 50%;
    opacity: 1;
}

.carousel-tautan .carousel-control-prev {
    left: 10px;
}

.carousel-tautan .carousel-control-next {
    right: 10px;
}

.carousel-tautan .carousel-control-prev-icon,
.carousel-tautan .carousel-control-next-icon {
    width: 16px;
    height: 16px;
    background-size: 16px 16px;
}

.carousel-tautan .carousel-control-prev:hover,
.carousel-tautan .carousel-control-next:hover {
    background: rgba(0,0,0,.65);
}

.badge-prioritas{
    display: inline-flex;
    align-items: center;
    padding: .55rem .95rem;
    border-radius: 50rem;
    background: linear-gradient(135deg,#f6c343,#d89a00);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .4px;
    box-shadow: 0 4px 12px rgba(216,154,0,.25);
    border: 1px solid rgba(255,255,255,.2);
    transition: .2s ease;
}

.badge-prioritas i{
    font-size: .8rem;
}

.badge-prioritas:hover{
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(216,154,0,.35);
}

.file-card{
    cursor:pointer;
    transition:all .25s ease;
    border:1px solid #e5e7eb !important;
    background:#fff;
}

.file-card:hover{
    transform:translateX(4px);
    border-color:#b58d43 !important;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    background:#fcfaf4;
}

.file-card.active{
    border:2px solid #b58d43 !important;
    background:linear-gradient(90deg,#fffdf6,#f9f3df);
    box-shadow:0 10px 25px rgba(181,141,67,.18);
    transform:translateX(6px);
}

.file-card.active::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:5px;
    background:#b58d43;
    border-radius:8px 0 0 8px;
}

.file-card.active::after{
    content:"\f06e";
    font-family:"Font Awesome 6 Free";
    font-weight:900;
    position:absolute;
    right:12px;
    top:12px;
    color:#b58d43;
    font-size:18px;
}

.file-item-preview.active{
    display: block;
    background: #fcfce7;
    border-radius: 10px;
    padding:2px;
}
.preview-image-wrapper{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    height:450px;
    overflow:auto;
    border:1px solid #e4e6ef;
    border-radius:.475rem;
    background:#f8f9fa;
}

.preview-image-wrapper img{
    display:block;
    max-width:100%;
    max-height:100%;
    width:auto;
    height:auto;
}

.preview-image-wrapper{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    height:450px; /* Desktop */
    overflow:auto;
    border:1px solid #e4e6ef;
    border-radius:.475rem;
    background:#f8f9fa;
}

@media (max-width: 991.98px){
    .preview-image-wrapper{
        height:350px;
    }
}

/* Mobile (≤ 767.98px) */
@media (max-width: 767.98px){
    .preview-image-wrapper{
        height:250px;
    }
}

@media (max-width: 991.98px){

    #kt_app_header_menu > .menu-item > .menu-link{
        display:flex;
        align-items:center;
        gap:10px;
    }

    #kt_app_header_menu > .menu-item > .menu-link::before{
        content:"•";
        font-family:"Font Awesome 6 Free";
        font-weight:900;
        color:#7B1E1E;
        font-size:12px;
    }
}