/* =====================================================================
   Tema OPAC Perpustakaan Universitas Dinamika Bangsa (UNAMA)
   Dimuat setelah style.css (lihat parts/header.php). Hanya tampilan.
   Warna dominan: pink #e83e8c (selaras warna logo UNAMA), dipadukan plum
   gelap dan aksen emas dari bingkai logo.
   Referensi pola: hero berpusat pencarian (Georgia Tech, NCSU), kartu
   akses cepat (NCSU), ubin "bento" (Queen's University Library).
   ===================================================================== */

:root {
    --u-pink: #e83e8c;
    --u-pink-600: #d42f7c;
    --u-pink-700: #b3205f;
    --u-pink-800: #8e1849;
    --u-pink-50: #fff1f7;
    --u-pink-100: #fde2ee;
    --u-pink-200: #f9c4dc;
    --u-plum: #2b0b1e;
    --u-plum-2: #4a1033;
    --u-gold: #f5b83d;
    --u-gold-soft: #fff1d1;
    --u-ink: #2a1622;
    --u-text: #30252c;
    --u-muted: #7a6873;
    --u-line: #f1dfe8;
    --u-bg: #fcf7fa;
    --u-card: #ffffff;
    --u-radius: 16px;
    --u-radius-lg: 24px;
    --u-shadow: 0 1px 2px rgba(74, 16, 51, .05), 0 8px 24px rgba(74, 16, 51, .07);
    --u-shadow-lg: 0 4px 10px rgba(74, 16, 51, .08), 0 22px 48px rgba(74, 16, 51, .16);
    --u-serif: "Fraunces", Georgia, "Times New Roman", serif;
    --u-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------------------------------------------------------------- dasar */
body.bg-grey-lightest,
body {
    background-color: var(--u-bg) !important;
    color: var(--u-text);
    font-family: var(--u-sans);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { color: var(--u-ink); }
a { color: var(--u-pink-700); }
a:hover { color: var(--u-pink); }
::selection { background: var(--u-pink-100); color: var(--u-ink); }

.btn { border-radius: 999px; font-weight: 600; }
.btn-primary,
.btn-primary:disabled { background: var(--u-pink-700); border-color: var(--u-pink-700); }
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active { background: var(--u-pink-800); border-color: var(--u-pink-800); }
.btn-outline-primary { color: var(--u-pink-700); border-color: var(--u-pink-700); }
.btn-outline-primary:hover { background: var(--u-pink-700); border-color: var(--u-pink-700); color: #fff; }
.text-primary { color: var(--u-pink-700) !important; }
.form-control, .custom-select { border-radius: 12px; border-color: var(--u-line); }
.form-control:focus, .custom-select:focus { border-color: var(--u-pink); box-shadow: 0 0 0 .2rem rgba(232, 62, 140, .18); }
input[type=checkbox], input[type=radio] { accent-color: var(--u-pink); }

/* ------------------------------------------------------- header / hero */
.c-header {
    background-color: var(--u-plum);
    background-position: 50% 60%;
    display: flex;
    flex-direction: column;
}
.c-header .mask {
    z-index: 1;
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 255, 255, .13) 0 140px, transparent 141px),
        radial-gradient(circle at 96% 70%, rgba(255, 255, 255, .07) 0 220px, transparent 221px),
        radial-gradient(circle at 6% 104%, rgba(245, 184, 61, .22) 0 190px, transparent 191px),
        linear-gradient(115deg, rgba(232, 62, 140, .94) 0%, rgba(196, 40, 110, .84) 42%, rgba(43, 11, 30, .9) 100%);
}
.c-header.u-home-hero { min-height: 580px; }
.result-search .c-header,
.member-area .c-header { min-height: 200px; }

.c-header .navbar { position: relative; z-index: 3; padding: 1.1rem 1.6rem; }
.c-header .navbar-brand img {
    height: 2.7rem !important; width: auto !important;
    background: #fff; border-radius: 10px; padding: 3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}
.c-header .navbar-brand h1 {
    font-family: var(--u-serif); font-weight: 600;
    font-size: 1.2rem !important; color: #fff;
}
.c-header .navbar-brand h2 {
    font-size: .7rem !important; letter-spacing: 2px; text-transform: uppercase;
    color: var(--u-pink-100); opacity: .95;
}
.c-header .navbar .nav-link {
    color: rgba(255, 255, 255, .88) !important;
    font-weight: 600; font-size: .9rem;
    padding: .45rem .95rem !important;
    border-radius: 999px;
    transition: background .2s ease, color .2s ease;
}
.c-header .navbar .nav-link:hover { background: rgba(255, 255, 255, .14); color: #fff !important; }
.c-header .navbar .nav-item.active .nav-link { background: #fff; color: var(--u-pink-700) !important; }
.c-header .navbar .dropdown-menu { border: 0; border-radius: 14px; box-shadow: var(--u-shadow-lg); }

/* konten hero beranda */
.u-hero {
    position: relative; z-index: 2; flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; color: #fff;
    padding: .25rem 1.25rem 10.5rem;   /* ruang untuk panel pencarian yang ditarik ke atas */
}
.u-pill {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .42rem 1rem; border-radius: 999px;
    background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3);
    font-size: .78rem; font-weight: 600; letter-spacing: .3px; color: #fff;
}
.u-pill i { color: var(--u-gold); }
.u-hero h2 {
    font-family: var(--u-serif); font-weight: 600; color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.7rem); line-height: 1.07;
    max-width: 900px; margin: 1.1rem 0 .9rem;
}
.u-hero h2 em {
    font-style: italic; font-weight: 500;
    background: linear-gradient(transparent 66%, rgba(255, 255, 255, .26) 66%, rgba(255, 255, 255, .26) 94%, transparent 94%);
    padding: 0 .08em;
}
.u-hero .u-lead { max-width: 640px; color: rgba(255, 255, 255, .9); font-size: 1.05rem; margin: 0; }
.u-search-wrap { position: relative; z-index: 6; margin-top: -142px; padding: 0 1rem; }
.u-search-panel {
    width: min(880px, 100%);
    margin: 0 auto;
    padding: 14px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .3);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 60px rgba(43, 11, 30, .25);
}
.u-search-panel .search { margin: 0 !important; text-align: left; }
.u-search-panel .search .container,
.u-search-panel .search .row,
.u-search-panel .search .col-lg-8 { max-width: 100%; flex: 0 0 100%; padding: 0; margin: 0; }
.u-search-panel .search .card { box-shadow: none !important; }
.u-quick {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem;
    margin-top: 1.1rem;
}
.u-quick > span { font-size: .8rem; font-weight: 600; color: rgba(255, 255, 255, .8); margin-right: .2rem; white-space: nowrap; }
.u-quick a {
    font-size: .8rem; font-weight: 600; color: #fff;
    padding: .32rem .85rem; border-radius: 999px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .32);
    text-decoration: none !important; transition: all .2s ease;
}
.u-quick a:hover { background: #fff; color: var(--u-pink-700); border-color: #fff; }

/* ----------------------------------------------------------- pencarian */
.search { margin-top: -36px; position: relative; z-index: 5; }
.search .card {
    border-radius: 999px;
    background-image: none !important;
    box-shadow: var(--u-shadow-lg) !important;
    border: 0 !important;
}
.search .card:focus-within { box-shadow: 0 0 0 4px rgba(232, 62, 140, .28), var(--u-shadow-lg) !important; }
.search .card .card-body { padding: .45rem .45rem .45rem 1.6rem; }
.u-search-form { display: flex; align-items: center; gap: .6rem; }
.search .input-transparent { font-size: 1.1rem; color: var(--u-text); padding-right: 0 !important; }
.search .input-transparent::placeholder { color: #a99aa3; font-weight: 400; }
.u-search-btn {
    flex: none;
    display: inline-flex; align-items: center; gap: .55rem;
    border: 0; border-radius: 999px;
    padding: .78rem 1.6rem;
    background: linear-gradient(135deg, var(--u-pink) 0%, var(--u-pink-700) 100%);
    color: #fff; font-weight: 700; font-size: .95rem;
    box-shadow: 0 8px 20px rgba(232, 62, 140, .35);
    cursor: pointer; transition: transform .15s ease, box-shadow .2s ease;
}
.u-search-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(232, 62, 140, .45); }
.u-search-btn:focus { outline: 3px solid var(--u-gold); outline-offset: 2px; }
.advanced-wraper { border-radius: 18px; padding: 20px 22px; top: 78px; border: 1px solid var(--u-line); }
.advanced-wraper .label { font-weight: 700; color: var(--u-ink); }
.advanced-wraper .btn-primary { background: var(--u-pink-700) !important; border-color: var(--u-pink-700) !important; }

/* ----------------------------------------------------- kepala seksi */
.u-section { padding-top: 4rem; }
.u-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.u-head.u-center { justify-content: center; text-align: center; }
.u-eyebrow {
    display: inline-flex; align-items: center; gap: .45rem;
    font-size: .74rem; font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase;
    color: var(--u-pink-700);
}
.u-eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--u-pink); }
.u-head.u-center .u-eyebrow::after { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--u-pink); }
.u-title {
    font-family: var(--u-serif); font-weight: 600;
    font-size: clamp(1.6rem, 2.6vw, 2.15rem);
    color: var(--u-ink); margin: .45rem 0 .35rem; line-height: 1.15;
}
.u-sub { color: var(--u-muted); max-width: 640px; margin: 0; font-size: .95rem; }
.u-head.u-center .u-sub { margin: 0 auto; }
.u-more {
    display: inline-flex; align-items: center; gap: .5rem;
    font-weight: 700; font-size: .9rem; color: var(--u-pink-700);
    text-decoration: none !important; white-space: nowrap;
}
.u-more span {
    width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--u-pink-100); transition: all .2s ease;
}
.u-more:hover span { background: var(--u-pink); color: #fff; transform: translateX(3px); }

/* ------------------------------------------------- strip statistik */
.u-stats-wrap { margin-top: 2.6rem; position: relative; z-index: 4; }
.u-stats {
    background: var(--u-card); border-radius: var(--u-radius-lg);
    box-shadow: var(--u-shadow-lg);
    display: grid; grid-template-columns: repeat(3, 1fr) 1.25fr;
    overflow: hidden;
}
.u-stat { display: flex; align-items: center; gap: 1rem; padding: 1.5rem 1.6rem; position: relative; }
.u-stat + .u-stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--u-line); }
.u-stat .u-ico {
    flex: none; width: 50px; height: 50px; border-radius: 14px;
    display: grid; place-items: center;
    background: var(--u-pink-50); color: var(--u-pink); font-size: 1.2rem;
}
.u-stat .u-num {
    font-family: var(--u-serif); font-weight: 600;
    font-size: 1.85rem; color: var(--u-ink); line-height: 1;
    font-variant-numeric: tabular-nums;
}
.u-stat .u-lbl { color: var(--u-muted); font-size: .82rem; margin-top: .3rem; }
.u-stat.u-npp { background: linear-gradient(135deg, var(--u-pink) 0%, var(--u-pink-700) 100%); color: #fff; }
.u-stat.u-npp::before { display: none; }
.u-stat.u-npp .u-ico { background: rgba(255, 255, 255, .18); color: #fff; }
.u-stat.u-npp .u-lbl { color: rgba(255, 255, 255, .85); margin: 0 0 .3rem; font-size: .7rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; }
.u-stat.u-npp .u-num { color: #fff; font-family: var(--u-sans); font-size: 1.1rem; font-weight: 700; letter-spacing: .4px; }

/* --------------------------------------------------------- akses cepat */
.u-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.u-service {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.35rem 1.4rem;
    background: var(--u-card); border: 1px solid var(--u-line); border-radius: var(--u-radius);
    color: var(--u-text); text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative;
}
.u-service .u-ico {
    flex: none; width: 48px; height: 48px; border-radius: 14px;
    display: grid; place-items: center;
    background: var(--u-pink-50); color: var(--u-pink); font-size: 1.15rem;
    transition: all .25s ease;
}
.u-service strong { display: block; font-size: 1rem; color: var(--u-ink); margin-bottom: .2rem; }
.u-service small { display: block; color: var(--u-muted); font-size: .84rem; line-height: 1.45; }
.u-service .u-arrow { margin-left: auto; align-self: center; color: var(--u-pink-200); transition: all .25s ease; }
.u-service:hover { transform: translateY(-3px); box-shadow: var(--u-shadow-lg); border-color: var(--u-pink-200); color: var(--u-text); }
.u-service:hover .u-ico { background: var(--u-pink); color: #fff; }
.u-service:hover .u-arrow { color: var(--u-pink); transform: translateX(3px); }

/* ------------------------------------------------- subjek (bento) */
.u-bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 176px;
    gap: 18px;
}
.u-tile {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.4rem 1.5rem;
    border-radius: var(--u-radius-lg);
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease;
}
.u-tile:hover { transform: translateY(-4px); box-shadow: var(--u-shadow-lg); }
.u-tile .u-code {
    position: absolute; top: 1.2rem; left: 1.4rem;
    font-size: .74rem; font-weight: 800; letter-spacing: 1.5px;
    padding: .2rem .6rem; border-radius: 999px;
}
.u-tile .u-big-ico { position: absolute; right: -10px; top: -14px; font-size: 7.5rem; opacity: .12; transition: transform .35s ease; }
.u-tile:hover .u-big-ico { transform: rotate(-8deg) scale(1.06); }
.u-tile h4 { font-family: var(--u-serif); font-weight: 600; font-size: 1.2rem; margin: 0 0 .3rem; line-height: 1.2; color: inherit; }
.u-tile .u-count { font-size: .85rem; font-weight: 600; opacity: .85; display: flex; align-items: center; gap: .45rem; }
.u-tile .u-count i { transition: transform .2s ease; }
.u-tile:hover .u-count i { transform: translateX(4px); }
.u-tile.t1 { grid-column: span 2; grid-row: span 2; background: linear-gradient(140deg, var(--u-pink) 0%, var(--u-pink-700) 70%, var(--u-plum-2) 100%); color: #fff; padding: 2rem 2.1rem; }
.u-tile.t1 h4 { font-size: 2rem; max-width: 80%; }
.u-tile.t1 .u-big-ico { font-size: 13rem; opacity: .14; right: -20px; top: -10px; }
.u-tile.t1 .u-count { font-size: 1rem; }
.u-tile.t1 .u-num-big { font-family: var(--u-serif); font-size: 3.4rem; font-weight: 600; line-height: 1; margin-bottom: .5rem; }
.u-tile.t1 .u-code,
.u-tile.t2 .u-code { background: rgba(255, 255, 255, .18); color: #fff; }
.u-tile.t2 { background: var(--u-plum-2); color: #fff; }
.u-tile.t3 { background: var(--u-pink-100); color: var(--u-pink-800); }
.u-tile.t3 .u-code { background: #fff; color: var(--u-pink-700); }
.u-tile.t4 { background: var(--u-card); color: var(--u-ink); border: 1px solid var(--u-line); }
.u-tile.t4 .u-code { background: var(--u-pink-50); color: var(--u-pink-700); }
.u-tile.t4 .u-big-ico { color: var(--u-pink); }
.u-tile.t5 { background: var(--u-gold-soft); color: #6b4300; }
.u-tile.t5 .u-code { background: #fff; color: #8a5a00; }

/* ------------------------------------------------------------ tautan */
.u-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.logo-link {
    height: 96px; padding: 14px 18px;
    background: var(--u-card); border-radius: var(--u-radius); border: 1px solid var(--u-line);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.logo-link img { max-height: 60px; max-width: 100%; object-fit: contain; filter: grayscale(40%); opacity: .88; transition: filter .25s, opacity .25s; }
.logo-link:hover { transform: translateY(-4px); box-shadow: var(--u-shadow-lg); border-color: var(--u-pink-200); }
.logo-link:hover img { filter: none; opacity: 1; }

/* --------------------------------------- koleksi populer / terbaru */
#slims-home .u-panel {
    background: var(--u-card); border: 1px solid var(--u-line);
    border-radius: 28px; box-shadow: var(--u-shadow);
    padding: 2.2rem 2.2rem 1.4rem;
}
#slims-home .btn-rounded,
.authors .btn-rounded {
    border-radius: 999px; padding: .32rem .95rem;
    font-weight: 600; font-size: .8rem;
    color: var(--u-pink-700); background: var(--u-pink-50); border: 1px solid var(--u-pink-100);
}
#slims-home .btn-rounded:hover,
.authors .btn-rounded:hover { background: var(--u-pink); border-color: var(--u-pink); color: #fff; }
#slims-home .collection {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 24px; margin-top: 1.5rem !important;
}
#slims-home .collection > div { width: auto !important; padding: 0 !important; }
#slims-home .collection .card { background: transparent; box-shadow: none !important; }
#slims-home .collection .card-body { padding: 0; }
#slims-home .collection .card-image {
    aspect-ratio: 2 / 3; border: 0;
    border-radius: 6px 14px 14px 6px;
    box-shadow: 0 2px 4px rgba(74, 16, 51, .1), 0 12px 24px rgba(74, 16, 51, .16);
    background: var(--u-pink-50);
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
}
#slims-home .collection .card-image::after {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px;
    background: linear-gradient(90deg, rgba(0, 0, 0, .2), rgba(255, 255, 255, .1) 60%, rgba(0, 0, 0, 0));
}
#slims-home .collection .card-image img { width: 100%; height: 100%; object-fit: cover; }
#slims-home .collection .card:hover .card-image { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 4px 8px rgba(74, 16, 51, .12), 0 22px 36px rgba(232, 62, 140, .25); }
#slims-home .collection .card-text {
    margin-top: .9rem !important; color: var(--u-text) !important;
    font-size: .85rem; font-weight: 600; line-height: 1.38;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
#slims-home .collection .card:hover .card-text { color: var(--u-pink-700) !important; }

/* -------------------------------------------------- pembaca teratas */
.u-readers {
    position: relative; overflow: hidden; margin-top: 4.5rem; color: #fff;
    background:
        radial-gradient(circle at 8% 15%, rgba(255, 255, 255, .1) 0 160px, transparent 161px),
        radial-gradient(circle at 92% 90%, rgba(245, 184, 61, .2) 0 200px, transparent 201px),
        linear-gradient(120deg, var(--u-pink) 0%, var(--u-pink-700) 50%, var(--u-plum-2) 100%);
}
.u-readers .u-title { color: #fff; }
.u-readers .u-sub { color: rgba(255, 255, 255, .82); }
.u-readers .u-eyebrow { color: var(--u-gold); }
.u-readers .u-eyebrow::before,
.u-readers .u-eyebrow::after { background: var(--u-gold) !important; }
.u-readers .container { counter-reset: rank; }
.u-readers [class~="md:w-1/3"] { counter-increment: rank; }
.u-readers .card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, .22) !important;
    background: rgba(255, 255, 255, .12);
    border-radius: 22px; color: #fff;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    transition: transform .25s ease, background .25s ease;
}
.u-readers .card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .18); }
.u-readers .card::before {
    content: "#" counter(rank);
    position: absolute; top: 14px; left: 14px;
    background: var(--u-gold); color: var(--u-plum);
    font-weight: 800; font-size: .8rem; padding: .18rem .65rem; border-radius: 999px;
}
.u-readers .card .card-title { color: #fff; font-family: var(--u-serif); font-weight: 600; }
.u-readers .card .text-grey-darker,
.u-readers .card .card-text { color: rgba(255, 255, 255, .85) !important; }
.u-readers .card-image-rounded { border: 3px solid #fff; background: var(--u-pink-100); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.u-readers .card .bg-grey { background: rgba(255, 255, 255, .35) !important; }

/* -------------------------------------------------------- kunjungi */
.u-visit {
    background: var(--u-card); border: 1px solid var(--u-line);
    border-radius: 28px; box-shadow: var(--u-shadow); overflow: hidden;
}
.u-visit iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.u-visit .u-visit-body { padding: 2.6rem; }
.u-visit h4 { font-family: var(--u-serif); font-weight: 600; font-size: 1.6rem; }
.u-visit .u-visit-desc { color: var(--u-muted); line-height: 1.75; }
.u-social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.u-social a {
    width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--u-pink-50); color: var(--u-pink-700); font-size: 1.05rem;
    text-decoration: none !important; transition: all .2s ease;
}
.u-social a:hover { background: var(--u-pink); color: #fff; transform: translateY(-3px); }

/* ------------------------------------------------------------ footer */
footer.bg-grey-darkest {
    background:
        radial-gradient(circle at 100% 0%, rgba(232, 62, 140, .25) 0 260px, transparent 261px),
        var(--u-plum) !important;
    color: #e9d3de !important;
    border-top: 5px solid var(--u-pink);
    margin-top: 4.5rem;
}
footer h4 { font-family: var(--u-serif); font-weight: 600; color: #fff; font-size: 1.25rem; }
footer a.text-light { color: #e9d3de !important; line-height: 2; }
footer a.text-light:hover { color: var(--u-pink-200) !important; text-decoration: none; }
footer hr { border-color: rgba(255, 255, 255, .12); }
footer .form-control { border-radius: 999px 0 0 999px; border: 0; padding-left: 1.1rem; }
footer .input-group-append .btn { border-radius: 0 999px 999px 0; background: var(--u-pink); border-color: var(--u-pink); color: #fff; }
footer .input-group-append .btn:hover { background: var(--u-pink-600); border-color: var(--u-pink-600); }
/* sembunyikan tombol promosi bawaan SLiMS (kredit "Ditenagai oleh SLiMS" tetap tampil) */
footer a[href*="slims.web.id/web/pages/support-us"],
footer a[href="https://github.com/slims/"] { display: none !important; }

/* ---------------------------------------------- halaman hasil pencarian */
.result-search .search-found-info { color: var(--u-muted); }
.result-search .col-md-3 h4,
.result-search .col-md-3 > h3,
.result-search .col-md-3 > div > h3 { font-family: var(--u-serif); font-weight: 600; }
.biblioResult .card.item {
    border: 1px solid var(--u-line) !important; border-radius: 20px;
    box-shadow: var(--u-shadow) !important;
    transition: box-shadow .25s ease, border-color .25s ease;
    margin-bottom: 1.25rem !important;
}
.biblioResult .card.item:hover { box-shadow: var(--u-shadow-lg) !important; border-color: var(--u-pink-200) !important; }
.biblioResult .card.item h5 a.card-link { color: var(--u-ink) !important; font-weight: 700; font-size: 1.02rem; line-height: 1.4; }
.biblioResult .card.item h5 a.card-link:hover { color: var(--u-pink-700) !important; text-decoration: none; }
.biblioResult .card.item img.img-fluid { border-radius: 6px 12px 12px 6px; box-shadow: 0 8px 18px rgba(74, 16, 51, .16); }
.biblioResult dl.row dt { color: var(--u-muted); font-weight: 600; }
.biblioResult .availability { border-radius: 16px; border: 1px solid var(--u-pink-100); background: var(--u-pink-50); }
.biblioResult .availability .label { color: var(--u-muted); }
.biblioResult .availability .value { color: var(--u-pink-700); font-family: var(--u-serif); }
.biblioResult .btn-outline-secondary { border-color: var(--u-line); color: var(--u-pink-700); }
.biblioResult .btn-outline-secondary:hover { background: var(--u-pink-700); border-color: var(--u-pink-700); color: #fff; }
.biblioPaging .pagingList a,
.biblioPaging .pagingList b { border-radius: 999px !important; border-color: var(--u-line) !important; min-width: 2.3rem; text-align: center; }
.biblioPaging .pagingList b { background: var(--u-pink) !important; border-color: var(--u-pink) !important; color: #fff !important; }
.biblioPaging .pagingList a:hover { background: var(--u-pink-50) !important; color: var(--u-pink-700) !important; }
.highlight {
    color: var(--u-pink-800) !important; background: var(--u-pink-100);
    border-radius: 4px; padding: 0 .2em; box-shadow: inset 0 -2px 0 var(--u-pink);
}
.irs--flat .irs-bar,
.irs--flat .irs-from,
.irs--flat .irs-to,
.irs--flat .irs-single { background-color: var(--u-pink) !important; }
.irs--flat .irs-from:before,
.irs--flat .irs-to:before,
.irs--flat .irs-single:before { border-top-color: var(--u-pink) !important; }
.irs--flat .irs-handle > i:first-child { background-color: var(--u-pink-700) !important; }
.irs--flat .irs-line { background-color: var(--u-pink-100) !important; }

/* label status eksemplar */
.availability-item { display: inline-block; border-radius: 10px; padding: .35rem .85rem; font-weight: 600; line-height: 1.35; }
.item-available { background: #e6f4ea; color: #1e6b3a !important; }
.item-onloan { background: #fff3dc; color: #8a5a00 !important; }
.item-notforloan { background: var(--u-pink-50); color: var(--u-pink-800) !important; border: 1px solid var(--u-pink-100); }
.item-onreserve { background: #fff0e0; color: #9a4b00 !important; }
.item-onloan, .item-notforloan { width: auto; display: inline-block; }

/* ------------------------------------- halaman konten & detail koleksi */
.result-search > section.container.mt-8 {
    background: var(--u-card); border: 1px solid var(--u-line);
    border-radius: 28px; box-shadow: var(--u-shadow);
    padding: 2.4rem 2.4rem 2.1rem; margin-top: 3.5rem !important;
}
.result-search > section.container.mt-8 > h2 { font-family: var(--u-serif); font-weight: 600; }
.result-search h5.mt-4 {
    font-family: var(--u-serif); font-weight: 600; font-size: 1.15rem; color: var(--u-ink);
    padding-bottom: .5rem; margin-bottom: .8rem !important;
    border-bottom: 2px solid var(--u-pink-100);
    position: relative;
}
.result-search h5.mt-4::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 42px; height: 2px; background: var(--u-pink); }
.result-search .bg-grey-light.rounded { background: var(--u-pink-50) !important; border: 1px solid var(--u-pink-100); border-radius: 20px !important; }
.result-search .col-sm-3 { color: var(--u-muted); font-weight: 600; }
.result-search .blockquote-footer a { font-weight: 600; }

.result-search .fa-bookmark.text-green { color: var(--u-pink) !important; }

/* ------------------------------------------------------- area anggota */
.page-member-area .container.py-4 {
    background: var(--u-card); border: 1px solid var(--u-line);
    border-radius: 28px; box-shadow: var(--u-shadow);
    padding: 2.4rem !important; margin-top: 3.5rem;
}
.page-member-area .tagline { font-family: var(--u-serif); font-weight: 600; color: var(--u-ink); }
.memberButton,
.page-member-area .memberButton,
.loginButton {
    background: linear-gradient(135deg, var(--u-pink) 0%, var(--u-pink-700) 100%) !important;
    border: 0 !important; border-radius: 999px !important;
    padding: .65rem 1.8rem !important; color: #fff !important; font-weight: 700;
    box-shadow: 0 8px 20px rgba(232, 62, 140, .3);
}
.memberButton:hover, .loginButton:hover { filter: brightness(1.05); }
.page-member-area .login_input input { border-radius: 12px; }

/* --------------------------------------------------------- responsif */
@media (max-width: 991.98px) {
    .u-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .u-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .u-stats { grid-template-columns: repeat(2, 1fr); }
    .u-stat:nth-child(3)::before { display: none; }
    .u-stat:nth-child(3), .u-stat:nth-child(4) { border-top: 1px solid var(--u-line); }
    .u-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .result-search .container > .row > .col-md-9 { order: 1; }
    .result-search .container > .row > .col-md-3 { order: 2; margin-top: 2rem; }
    .biblioResult .card.item .col-md-2 img { max-width: 120px; margin-bottom: 1rem; }
    .biblioResult .card.item .col-8 { flex: 0 0 100%; max-width: 100%; }
    .biblioResult dl.row dt { flex: 0 0 42%; max-width: 42%; }
    .biblioResult dl.row dd { flex: 0 0 58%; max-width: 58%; margin-bottom: .2rem; }
    .result-search > section.container.mt-8 { padding: 1.4rem 1.1rem; border-radius: 20px; }
}
@media (max-width: 575.98px) {
    .c-header.u-home-hero { min-height: 640px; }
    .c-header .navbar { padding: .8rem 1rem; }
    .c-header .navbar-brand { white-space: normal; max-width: calc(100% - 64px); }
    .c-header .navbar-brand h1 { font-size: 1rem !important; line-height: 1.25; }
    .c-header .navbar-brand h2 { font-size: .6rem !important; letter-spacing: 1.2px; }
    .c-header .navbar-brand img { height: 2.3rem !important; }
    .u-hero { padding-bottom: 8.6rem; }
    .u-search-wrap { margin-top: -124px; }
    .u-search-panel { padding: 8px; border-radius: 26px; }
    .u-quick { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 2px; scrollbar-width: none; }
    .u-quick a { white-space: nowrap; }
    .search .card .card-body { padding: .35rem .35rem .35rem 1.1rem; }
    .search .input-transparent { font-size: .98rem; }
    .u-search-btn { padding: .7rem .95rem; }
    .u-search-btn span { display: none; }
    .u-stats { grid-template-columns: 1fr 1fr; }
    .u-stat { flex-direction: column; text-align: center; gap: .6rem; padding: 1.2rem .8rem; }
    .u-stat:nth-child(3) { grid-column: 1 / -1; flex-direction: row; justify-content: center; text-align: left; }
    .u-stat.u-npp { grid-column: 1 / -1; flex-direction: row; text-align: left; }
    .u-stat .u-num { font-size: 1.55rem; }
    .u-section { padding-top: 3rem; }
    .u-services { grid-template-columns: 1fr; gap: 12px; }
    .u-bento { grid-auto-rows: 150px; gap: 12px; }
    .u-tile.t1 { grid-row: span 2; padding: 1.5rem; }
    .u-tile.t1 h4 { font-size: 1.45rem; max-width: 100%; }
    .u-tile.t1 .u-num-big { font-size: 2.4rem; }
    .u-tile { padding: 1.1rem; }
    .u-tile h4 { font-size: 1rem; }
    .u-tile .u-code { top: .9rem; left: 1.1rem; }
    .u-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    #slims-home .u-panel { padding: 1.5rem 1rem 1rem; border-radius: 22px; }
    #slims-home .collection { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .u-visit .u-visit-body { padding: 1.6rem; }
}
