/**
 * @Author: Waris Agung Widodo <user>
 * @Date:   2018-01-22T10:46:36+07:00
 * @Email:  ido.alit@gmail.com
 * @Filename: style.css
 * @Last modified by:   Ade Ismail Siregar
 * @Last modified time: 2024-10-11 14:11:34
 */

html {
    scroll-behavior: smooth;
}

.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.c-header {
    min-height: 60px;

}

.c-header .mask {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
}

.search {
    margin-top: 0px;
}

.search input {
    padding-right: 35px;
}

.search .input-transparent {
    border: none;
    outline: none;
    background: transparent;
    font-size: 16pt;
}

.search .input-transparent::placeholder {
    font-weight: 200;
    color: #ccc;
}

.search .card {
    background-image: url('../images/icon/ios7-search.png');
    background-repeat: no-repeat;
    background-position: 98% center;
    background-size: 30px;
}

.shadow {
    box-shadow: 0 0 4px rgba(0, 0, 0, .05), 0 6px 10px rgba(0, 0, 0, .08);
}

/* --- Modern UI Enhancements --- */


.topic {
    list-style: none;
}

.topic li {
    width: 140px;
    height: 100px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.topic li a {
    font-size: 16px;
    color: #2a2a2a;
    text-align: center;
    text-decoration: none;
    opacity: 0.8;
}

.topic li a:hover {
    text-decoration: none;
    opacity: 1;
}

.text-thin {
    font-weight: 200 !important;
}

.subtitle-section {
    font-size: 12px;
}


.btn-rounded {
    border-radius: 20px 20px 20px 20px;
    padding-left: 32px;
    padding-right: 32px;
    font-weight: 200;
}

.card-text.title {
    font-size: 12px;
}

.link-see-more {
    font-style: italic;
    color: #0056b3;
    text-decoration: none;
}

.link-see-more:hover {
    color: #0056b3;
    text-decoration: none;
}

.advanced-wraper {
    background: #fff;
    padding: 16px;
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    border-radius: 4px;
    z-index: 999;
}

.card-image-rounded {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;
    background: #ccc;
}

.card-image {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f9f9f9;
}

.card-image img,
.card-image-rounded img {
    width: 102%;
    height: 102%;
    margin-top: -1%;
    margin-left: -1%;
}

.collection .card-text {
    font-size: 13px;
    font-weight: 500;
}

/* Modern Hover Effects for Cards */
.hover-lift-soft {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.hover-lift-soft:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

.result-search .c-header {
    min-height: 60px;
}

.member-area .c-header {
    min-height: 40px;
}

.item p {
    font-size: 10pt;
}

.authors a {
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    padding-left: 16px;
    padding-right: 16px;
}

.availability {
    text-align: center;
    overflow: hidden;
}

.availability .label {
    font-size: 7pt;
    color: #aaa;
}

.availability .value {
    font-size: 18pt;
    font-weight: 200;
}

.add-to-chart {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #606f7b;
    color: #f8fafc;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.add-to-chart .label {
    color: #f8fafc;
}

.availability:hover .add-to-chart {
    opacity: 1;
}

.availability:hover .availability-content {
    filter: blur(8px);
    -webkit-filter: blur(8px);
}

.biblioPaging {
    text-align: center;
    border-top: 1px solid #dae1e7;
    padding-top: 20px;
}

.biblioPaging:first-child {
    margin-bottom: 1rem;
    border-bottom: 1px solid #dae1e7;
    border-top: none;
    padding-bottom: 20px;
    padding-top: 0px;
}

.biblioPaging .pagingList {
    display: inline-flex;
    justify-content: center;
    background: #dae1e7;
    border-radius: 20px;
}

.biblioPaging .pagingList b,
.biblioPaging .pagingList a {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    text-decoration: none;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
}

.biblioPaging .pagingList b {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    border-radius: 20px;
    min-width: 38px;
    box-shadow: 0px 0px 10px #007bff;
}

.biblioPaging .pagingList a {
    color: #3d4852;
    background-color: transparent;
}

.biblioPaging .pagingList a:hover {
    color: #007bff;
}

.biblioPaging .pagingList a.first_link {
    padding-left: 20px;
}

.biblioPaging .pagingList a.last_link {
    padding-right: 20px;
}

.sugestion {
    min-height: 80px;
    margin-top: 16px;
    padding-left: 60px;
}

.sugestion .title {
    font-weight: 600;
}

.sugestion .author {
    color: #839CB5;
}

.container-img {
    width: 60px;
    position: absolute;
    top: -10px;
    left: 10px;
    overflow: hidden;
    border-radius: 4px;
}

.sugestion .card-text {
    font-size: 12px;
}

.text-label {
    font-weight: bold !important;
}

/* Enter and leave animations can use different */
/* durations and timing functions.              */
.slide-fade-enter-active {
    transition: all .3s ease;
}

.slide-fade-leave-active {
    transition: all .5s cubic-bezier(1.0, 0.5, 0.8, 1.0);
}

.slide-fade-enter,
.slide-fade-leave-to

/* .slide-fade-leave-active below version 2.1.8 */
    {
    transform: translateX(10px);
    opacity: 0;
}

/* Card elevation */

.elevation-1 {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.elevation-1:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.elevation-2 {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.elevation-3 {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.elevation-4 {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.elevation-5 {
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
}

.page-member-area .memberButton,
.jsonResultLink,
.xmlResultLink {
    font-weight: 400;
    color: #007bff;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.jsonResultLink:hover,
.xmlResultLink:hover {
    color: #0056b3;
    text-decoration: none;
}

.jsonResultLink:focus,
.xmlResultLink:focus {
    text-decoration: none;
    box-shadow: none;
}

.jsonResultLink:disabled,
.xmlResultLink:disabled {
    color: #6c757d;
    pointer-events: none;
}

.biblioMarkFormAction {
    display: none;
}

.memberInfoHead {
    font-size: 24px;
    font-weight: bold;
    border-left: 4px solid #848484;
    padding: 2px 4px 2px 16px;
    margin-bottom: 16px;
}

.page-member-area .tagline {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    padding-bottom: 1.5rem;
}

.page-member-area .memberButton {
    background-color: #0074e7;
    color: white;
    margin-top: 1rem;
    cursor: pointer;
    transition: all 200ms ease-in-out;
}

.page-member-area .memberButton:hover {
    background-color: #0085ff;
    box-shadow: 0 0 4px rgba(0, 0, 0, .05), 0 6px 10px rgba(0, 0, 0, .08);
}

.page-member-area .errorBox {
    color: #fd423d;
    padding: 1rem;
    background-color: rgba(255, 67, 61, 0.22);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.page-member-area .loginInfo {
    padding: 0.5rem 0;
}

.page-member-area .fieldLabel {
    font-weight: bold;
    padding: 0.2rem 0;
}

.page-member-area .form-control {
    width: 320px;
}

.librarian {
    display: flex;
    margin-bottom: 1.5rem;
    flex: 0 50%;
}

.span2 {
    width: 12rem;
}

.span2 div:first-child {
    padding: 2rem;
    background: #dae1e7;
    border-radius: 4px;
}

.span2 img {
    border-radius: 4px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12),
        0 2px 4px 0 rgba(0, 0, 0, 0.08);
}

.span8 {
    flex: 1;
    padding: 0 1rem 0 1rem;
}

.span8 .row-fluid {
    display: flex;
}

.span8 .row-fluid .key {
    flex: 0 0 100px;
    font-weight: bold;
}

.span8 .row-fluid .value {
    flex: 1;
}

.span8 .librarian-social {
    list-style: none;
    padding: 0;
    margin: 0;
}

#loginForm form {
    width: 20rem;
}

#loginForm .heading1 {
    font-weight: bold;
}

#loginForm .login_input input {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin-bottom: 8px;
}

#loginForm .homeButton {
    display: none;
}

.loginButton {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#loginForm .loginButton {
    margin-top: 10px;
}

#loginForm .loginButton {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

#loginForm .loginButton:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

#adv-modal .modal-content,
#adv-modal .modal-footer {
    position: relative;
    z-index: 1;
}

#adv-modal .modal-content:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-image: url("../images/logo-big.png");
    background-repeat: no-repeat;
    background-size: 50%;
    background-position-x: 500px;
    background-position-y: 250px;
    z-index: 0;
    opacity: 0.5;
}

.attachList {
    padding: 4px 24px;
}

.attachList li {
    padding: 4px 0;
}

.comment-found {
    display: inline-block;
    margin-bottom: 8px;
}

.comments {
    padding: 8px 0;
    border-top: 1px dotted #cbd5e0;
}

.comments .comment-member {
    font-size: 10pt;
    font-weight: bold;
}

.comments .comment-content {
    color: #4a5568;
}

#vio {
    position: relative;
    width: 100%;
    text-align: center;
    z-index: 99999999999;
    background: #f56565;
    padding: 8px 0;
    color: #fff5f5;
}

#vio a {
    color: #2d3748;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #6c757d;
}

.breadcrumb-item a:hover {
    color: #800000;
    /* Maroon accent */
    text-decoration: none;
}

#colorbox {
    border-radius: 5px;
}

#cboxLoadedContent {
    padding: 10px;
}

#cboxOverlay {
    background: #404040;
}

#cboxTitle {
    font: 10pt/1.8 'Quicksand', sans-serif;
    font-weight: bold;
    padding: 15px 0;
    background: #000000;
    bottom: 0;
    color: #ffffff;
}

#cboxTopLeft,
#cboxTopRight,
#cboxBottomLeft,
#cboxBottomRight {
    width: 0;
    height: 0;
}

#cboxMiddleLeft,
#cboxMiddleRight {
    width: 0;
}

#cboxBottomCenter,
#cboxTopCenter {
    height: 0;
}

#languageMenuButton::after {
    display: none;
}

.s-chat {
    display: none;
    flex-direction: column;
    width: 320px;
    height: 480px;
    position: fixed;
    bottom: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 16px;
    overflow: hidden;
    z-index: 99;
}

.s-chat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: #EF6C00;
    z-index: 0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.s-chat div,
.s-chat a,
.s-chat footer {
    position: relative;
    z-index: 10;
}

#show-pchat {
    display: block;
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 20;
    top: 0;
    right: 0;
    background-color: white;
    border-bottom-left-radius: 4px;
    cursor: pointer;
}

#show-pchat i {
    display: none;
}

#show-pchat:hover {
    opacity: .9;
}

#show-pchat:before {
    font-family: Font Awesome\ 5 Free;
    content: "\f2d1";
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
}

.s-chat-header {
    font-size: 24px;
    font-weight: 300;
    color: #ebf8ff;
    line-height: 1.2;
}

.s-chat-content.text-center {
    position: relative;
}

.s-chat-content.text-center form {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 0 16px;
    margin-top: 4px;
}

.s-chat-content.text-center p:first-of-type {
    text-align: left;
    font-size: 14px;
    color: #FFE0B2;
    font-weight: 300;
    margin: 0 -16px;
    line-height: 1;
}

.s-chat-content.text-center hr {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 378px;
    z-index: 1;
}

.s-chat-content.text-center label {
    z-index: 10;
    position: relative;
    margin-top: 20px;
    font-size: 14px;
}

.s-chat-content.text-center input#message {
    z-index: 10;
    position: relative;
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    margin-bottom: 16px;
}

.s-chat-content input#message:focus,
.s-chat-content.text-center input#message:focus {
    color: #495057;
    background-color: #fff;
    border-color: #FFCC80;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(255, 204, 128, .25);
}

.s-chat-content label {
    z-index: 10;
    position: relative;
}

.s-chat-content input#message {
    z-index: 10;
    position: relative;
    display: inline-block;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    margin-bottom: 8px;
}

.s-chat-content .btn.btn-block {
    border: 1px solid #E65100;
    position: relative;
    z-index: 10;
    font-size: 14px;
    background-color: #EF6C00;
    color: #FFF3E0;
}

.s-chat-content .btn.btn-block:hover {
    background-color: #F57C00;
}

.s-chat-content:not(.text-center) {
    border-radius: 8px;
    background: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    height: 370px;
    margin: 8px 0;
    padding: 16px;
    font-size: 14px;
}

.s-chat-content #log {
    height: 270px;
    background-color: white;
    margin: -16px -16px 8px -16px;
    border-radius: 8px 8px 0 0;
    padding: 16px;
    border-bottom: 1px solid #e3e3e3;
    overflow-y: scroll;
}

.s-chat footer {
    font-size: 11px;
    padding: 16px;
    display: none;
}

.s-chat footer:not(.text-center) {
    font-size: 11px;
    padding: 0;
    display: block;
}

.remember_forgot {
    display: flex;
    justify-content: space-between;
}

.expand {
    margin: 0 -1.25rem -1.25rem -1.25rem;
}

.navbar-collapse.collapsing,
.navbar-collapse.collapse.show {
    background-color: #2d3748;
    padding: 16px;
    z-index: 99;
    border-radius: 4px;
    margin-top: 8px;
}

.forgotButton {
    float: right;
    text-decoration: none;
    padding-top: 16px;
    color: #718096;
}

.forgotButton:hover {
    text-decoration: none;
    color: #4299E1;
}

.highlight {
    color: red;
}

.biblioPagingTop {
    display: none;
}

.grid-item {
    font-size: 12.04px;
    font-family: "Open Sauce One", sans-serif;
}

.grid-item--title {
    box-sizing: border-box;
    color: rgb(33, 33, 33);
    cursor: pointer;
    display: -webkit-box;
    line-height: 18.0667px;
    margin-bottom: 4px;
    max-height: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: pre-wrap;
    word-break: keep-all;
    -moz-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.grid-item .list-group-item {
    padding: .25rem .5rem;
    display: flex;
    justify-content: space-between;
}

.grid-item .list-group-item label {
    color: #6D7588;
    padding: 0;
    margin: 0;
}

img.not-available {
    filter: grayscale(.9);
}

.grid-item--menu {
    position: absolute;
    top: .5rem;
    right: .5rem;
    z-index: 10;
}

.grid-item--menu .dropdown-toggle {
    text-decoration: none;
    color: inherit;
}

.grid-item--menu .dropdown-toggle::after {
    display: none;
}

.grid-item--menu .dropdown-toggle::after {
    display: none;
}

/* for improve score@pagespeed.web.dev */

/* pagespeed bagus tapi bagian search result terlalu besar gambarnya */

img {
    width: auto;
    height: auto;
}

.item-onloan,
.item-notforloan {
    background-color: rgb(0, 0, 0);
    width: 100%;
    display: block;
}

.item-available {
    background-color: #011c47;
}

/* === OPAC: 2 kartu per baris di layar ≤576 px ========================== */
@media (max-width: 576px) {

    /* setiap kartu buku di dalam .collection */
    .collection>div {
        flex: 0 0 50%;
        /* basis 50 %  → dua kolom  */
        max-width: 50%;
        padding-left: .5rem;
        /* selaras dgn pr-4 (pl-4) */
        padding-right: .5rem;
        margin-bottom: 1rem;
        /* jarak vertikal */
    }
}

/* Enhancements: Footer and Interactions */
footer a.text-muted:hover {
    color: #fff !important;
    text-decoration: none;
}

.btn-maroon {
    background-color: #444;
    border-color: #444;
    transition: all 0.3s ease;
}

.btn-maroon:hover {
    background-color: #222;
    box-shadow: 0 4px 12px rgba(68, 68, 68, 0.3);
}

/* Homepage Menu Interactions */
.topic {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.topic li {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px;
}

.topic li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border-color: #444;
}

.topic li a {
    transition: color 0.3s ease;
}

.topic li:hover a {
    color: #444;
    opacity: 1;
}

.topic li a:hover {
    text-decoration: none;
}

.topic li i {
    transition: transform 0.3s ease;
}

.topic li i.fa {
    color: #444;
    /* Dark Grey Identity Color */
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.topic li:hover i.fa {
    transform: scale(1.1);
    color: #222;
}

/* === Minimalist Full-Screen Mobile Menu === */
@media (max-width: 991.98px) {

    /* Make the toggler stay on top of the overlay */
    .navbar-toggler {
        z-index: 10000;
        border: none;
        outline: none !important;
    }

    /* Transform the collapse container into a full screen overlay */
    #navbarSupportedContent.collapse.show,
    #navbarSupportedContent.collapsing {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(8px);
        z-index: 9999;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow-y: auto;
        padding-top: 60px;
        /* Space for toggler */
    }

    #navbarSupportedContent .navbar-nav {
        width: 100%;
        text-align: center;
        margin-top: auto;
        margin-bottom: auto;
    }

    #navbarSupportedContent .nav-item {
        margin: 15px 0;
    }

    #navbarSupportedContent .nav-link {
        font-size: 28px;
        color: #fff !important;
        font-weight: 300;
        letter-spacing: 1px;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    #navbarSupportedContent .nav-link:hover {
        color: #ccc !important;
        transform: scale(1.05);
    }

    /* Dropdown menues in mobile full screen */
    #navbarSupportedContent .dropdown-menu {
        background-color: transparent !important;
        border: none;
        text-align: center;
    }

    #navbarSupportedContent .dropdown-item {
        color: #bbb !important;
        font-size: 20px;
        padding: 10px 0;
        transition: color 0.3s ease;
    }

    #navbarSupportedContent .dropdown-item:hover {
        color: #fff !important;
        background-color: transparent !important;
    }

    #navbarSupportedContent .dropdown-header {
        color: #777 !important;
    }

    /* === Custom Burger Animation === */
    .custom-toggler {
        border: none;
        background: transparent;
        padding: 0;
        width: 30px;
        height: 24px;
        position: relative;
        z-index: 10001;
        /* Always above the overlay */
    }

    .custom-toggler:focus {
        outline: none;
    }

    .custom-toggler .icon-bar {
        display: block;
        width: 30px;
        height: 2px;
        background-color: #fff;
        margin: 6px 0;
        transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
        position: absolute;
        left: 0;
    }

    .custom-toggler .top-bar {
        top: 0;
        margin: 0;
    }

    .custom-toggler .middle-bar {
        top: 11px;
        margin: 0;
    }

    .custom-toggler .bottom-bar {
        top: 22px;
        margin: 0;
    }

    /* When menu is open (not collapsed) -> Transform into X */
    .custom-toggler:not(.collapsed) .top-bar {
        top: 11px;
        transform: rotate(45deg);
    }

    .custom-toggler:not(.collapsed) .middle-bar {
        opacity: 0;
    }

    .custom-toggler:not(.collapsed) .bottom-bar {
        top: 11px;
        transform: rotate(-45deg);
    }

    /* === Menu Items Staggered Fade Up Animation === */
    #navbarSupportedContent.show .nav-item {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.4s ease forwards;
    }

    /* Stagger the delays for a waterfall effect */
    #navbarSupportedContent.show .nav-item:nth-child(1) {
        animation-delay: 0.10s;
    }

    #navbarSupportedContent.show .nav-item:nth-child(2) {
        animation-delay: 0.15s;
    }

    #navbarSupportedContent.show .nav-item:nth-child(3) {
        animation-delay: 0.20s;
    }

    #navbarSupportedContent.show .nav-item:nth-child(4) {
        animation-delay: 0.25s;
    }

    #navbarSupportedContent.show .nav-item:nth-child(5) {
        animation-delay: 0.30s;
    }

    #navbarSupportedContent.show .nav-item:nth-child(6) {
        animation-delay: 0.35s;
    }

    #navbarSupportedContent.show .nav-item:nth-child(7) {
        animation-delay: 0.40s;
    }

    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Tailwind to Bootstrap Polyfills & Custom Utils */
.w-48 {
    width: 12rem;
}

.w-64 {
    width: 16rem;
}

.h-10 {
    height: 2.5rem;
}

.h-32 {
    height: 8rem;
}

.h-full {
    height: 100%;
}

.text-grey-darker {
    color: #4a5568;
}

.bg-grey-lighter {
    background-color: #edf2f7;
}

.bg-transparent {
    background-color: transparent;
}

.rounded-full {
    border-radius: 9999px;
}

.leading-tight {
    line-height: 1.25;
}

.cursor-pointer {
    cursor: pointer;
}

.hover\:shadow:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.hover\:shadow-md:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.logo-img-main {
    height: 2.5rem;
    width: auto;
}

.logo-img-sm {
    height: 2rem;
    width: 2rem;
}

.title-lg {
    font-size: 1.125rem;
}

/* === Floating Info Button Enhancements === */
.floating-info-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10001;
    /* Above almost everything */
}

.btn-floating-info {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #1a1a1a;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    outline: none !important;
}

.btn-floating-info:hover {
    transform: scale(1.1);
    background: #222;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.btn-floating-info i {
    position: absolute;
    font-size: 24px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn-floating-info .icon-info {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.btn-floating-info .icon-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

/* Modal Active State - Transform i to X */
.btn-floating-info.active {
    background: #000;
    transform: rotate(90deg);
}

.btn-floating-info.active .icon-info {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.btn-floating-info.active .icon-close {
    opacity: 1;
    transform: rotate(-90deg) scale(1);
    /* Rotated back to look centered */
}

/* Soft pulse effect for extra "premium" feel */
@keyframes pulse-white {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Attention wiggle effect to show it's clickable */
@keyframes icon-attention-wiggle {

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

    10% {
        transform: rotate(-15deg) scale(1.2);
    }

    20% {
        transform: rotate(15deg) scale(1.2);
    }

    30% {
        transform: rotate(-10deg) scale(1.2);
    }

    40% {
        transform: rotate(10deg) scale(1.2);
    }

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

.btn-floating-info:not(.active) .icon-info {
    animation: icon-attention-wiggle 4s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
}

/* Also keep a very subtle box-shadow pulse on the button itself */
.btn-floating-info:not(.active) {
    animation: pulse-white 4s infinite;
}

/* === Compact & Animated Info Modal === */
#infoModal {
    pointer-events: none;
    /* Let clicks pass through backdrop layer */
}

#infoModal .modal-dialog {
    position: fixed;
    bottom: 16px;
    right: 16px;
    margin: 0;
    max-width: 400px;
    width: 90%;
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10000;
    pointer-events: auto;
    /* Reactivate click catching for dialog */
}

#infoModal .modal-content {
    border-radius: 1.5rem 1.5rem 1.5rem 30px;
    border: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    min-height: 150px;
}

#infoModal .modal-body {
    padding: 1.5rem;
    padding-bottom: 85px;
    padding-right: 2rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Remove standard fade/slide and use our scale animation */
#infoModal.fade .modal-dialog {
    transform: scale(0) translate(20px, 20px);
    opacity: 0;
}

#infoModal.show .modal-dialog {
    transform: scale(1) translate(0, 0);
    opacity: 1;
}

/* Backdrop transparency to make it feel more "seamless" */
.modal-backdrop.show {
    opacity: 0 !important;
    /* Hide backdrop to make it feel like a widget */
    pointer-events: none;
    /* Allow clicking outside to hit the page if needed, or close via button */
}

#infoModalBody h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #000;
}

#infoModalBody p {
    margin-bottom: 0.5rem;
}

#infoModalBody ul {
    padding-left: 1.2rem;
    margin-bottom: 0.75rem;
}

#infoModalBody strong {
    color: #333;
}

/* -------------------------------- */
/* OPAC Mobile Bottom Navigation    */
/* -------------------------------- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 0.6rem 0;
    padding-bottom: calc(0.6rem + env(safe-area-inset-bottom));
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex: 1;
    padding: 0.25rem 0;
    opacity: 1;
}

.bottom-nav .nav-item i {
    font-size: 1.35rem;
    margin-bottom: 3px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.bottom-nav .nav-item:active {
    transform: scale(0.9);
}

.bottom-nav .nav-item.active {
    color: #ffffff;
}

.bottom-nav .nav-item.active i {
    transform: translateY(-3px);
    text-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.bottom-nav .nav-item:hover {
    color: #e2e8f0;
    text-decoration: none;
}

@media (max-width: 1199.98px) {
    body {
        /* Add padding at bottom to prevent content hiding behind nav */
        padding-bottom: 70px !important;
    }

    /* Disable sticky top navbar on mobile */
    .nav-fixed {
        position: absolute !important;
    }

    /* Hide the floating info button on mobile, moved to Lainnya menu */
    .floating-info-container {
        display: none !important;
    }
}

/* OPAC Specific adjustments to offcanvas/modal list group items */
#moreMenuOpac .list-group-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    text-decoration: none;
}