/* Penyesuaian kecil di atas AdminLTE */
.brand-image { height: 34px; width: auto; max-height: 34px; }
.navbar-brand .brand-image { margin-right: .5rem; margin-top: -3px; }
.small-box > .inner h3 { font-size: 1.9rem; word-break: break-word; }
.small-box .icon > i { font-size: 70px; }
.text-nowrap-cell { white-space: nowrap; }
.table td.num, .table th.num { text-align: right; white-space: nowrap; }
.table tfoot th { background: #f4f6f9; }
.login-logo img { max-width: 150px; height: auto; }
@media (max-width: 575.98px) {
  .navbar-brand .brand-text { font-size: 1rem; }
  .small-box > .inner h3 { font-size: 1.5rem; }
}

/* Teks berjalan (halaman publik) */
.ticker { display: flex; align-items: stretch; background: #0b4f3a; color: #fff; overflow: hidden; font-size: 1.05rem; }
.ticker-label { flex: 0 0 auto; background: #f0b429; color: #3b2f00; font-weight: 700; padding: .55rem .9rem; letter-spacing: .05em; position: relative; z-index: 1; }
.ticker-viewport { flex: 1 1 auto; overflow: hidden; display: flex; align-items: center; }
.ticker-track { display: flex; width: max-content; animation: ticker-geser linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-isi { display: flex; align-items: center; white-space: nowrap; min-width: 100vw; }
.ticker-item { padding: .55rem 0; }
.ticker-item .fas { opacity: .85; margin-right: .3rem; }
.ticker-item strong { color: #ffd966; }
.ticker-sep { color: #f0b429; margin: 0 1.5rem; font-size: .7em; }
@keyframes ticker-geser { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker-viewport { overflow-x: auto; }
  .ticker-isi[aria-hidden] { display: none; }
}
@media (max-width: 575.98px) { .ticker { font-size: .95rem; } .ticker-label { padding: .5rem .6rem; } }

/* Beranda publik */
.hero { position: relative; border-radius: 1rem; overflow: hidden; color: #fff; text-align: center; margin-bottom: 2rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(240,180,41,.25) 0, transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(240,180,41,.18) 0, transparent 40%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 22px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 22px),
    linear-gradient(135deg, #0b4f3a 0%, #0f6b4d 60%, #0b4f3a 100%); }
.hero-isi { padding: 3rem 1.25rem; max-width: 760px; margin: 0 auto; }
.hero-logo { height: 96px; width: auto; max-width: 160px; margin-bottom: 1rem; filter: drop-shadow(0 4px 8px rgba(0,0,0,.35)); }
.hero-salam { color: #ffd966; letter-spacing: .04em; margin-bottom: .25rem; }
.hero-judul { font-weight: 800; font-size: 2.4rem; margin-bottom: .5rem; }
.hero-tag { font-size: 1.15rem; opacity: .95; margin-bottom: 1.5rem; }
.hero-tombol .btn { margin: .25rem; border-radius: 2rem; padding-left: 1.5rem; padding-right: 1.5rem; }
.bagian-judul { display: flex; align-items: center; font-weight: 700; color: #0b4f3a; font-size: 1.5rem; margin-bottom: .75rem; }
.bagian-judul .fas { color: #f0b429; margin-right: .5rem; }
.kabar { background: #fff; border-left: 4px solid #f0b429; border-radius: .5rem; padding: .75rem 1rem; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.kabar .fas { color: #f0b429; margin-right: .35rem; }
.program { --aksen: #0f6b4d; height: 100%; background: #fff; border-radius: 1rem; padding: 1.75rem 1.5rem; box-shadow: 0 2px 10px rgba(0,0,0,.08);
  border-top: 5px solid var(--aksen); transition: transform .2s, box-shadow .2s; }
.program:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(0,0,0,.14); }
.program-infak { --aksen: #e0a100; } .program-wakaf { --aksen: #0f6b4d; } .program-zakat { --aksen: #1f7a9c; }
.program-ikon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: #fff; background: var(--aksen); margin-bottom: 1rem; }
.program h4 { font-weight: 700; color: var(--aksen); }
.program ul { list-style: none; padding: 0; margin: 1rem 0; }
.program li { padding: .2rem 0; } .program li .fas { color: var(--aksen); margin-right: .4rem; }
.program-btn { background: var(--aksen); color: #fff; border-radius: 2rem; padding: .35rem 1rem; }
.program-btn:hover { color: #fff; opacity: .9; }
.salurkan { border-radius: 1rem; border: 2px dashed #f0b429; }
.rekening { background: #f6f9f7; border-radius: .6rem; padding: .75rem 1rem; }
.rekening-no { font-size: 1.4rem; font-weight: 700; letter-spacing: .05em; color: #0b4f3a; }
.transparan { background: linear-gradient(135deg, #0b4f3a, #0f6b4d); color: #fff; border-radius: 1rem; padding: 1.75rem 1.5rem; }
.transparan h3 { font-weight: 700; font-size: 1.4rem; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .program { transition: none; } }
@media (max-width: 575.98px) { .hero-judul { font-size: 1.7rem; } .hero-isi { padding: 2rem 1rem; } }

/* Jadwal salat */
.salat { background: #fff; border-radius: 1rem; box-shadow: 0 4px 16px rgba(0,0,0,.12); margin: -3.2rem .75rem 2rem; position: relative; overflow: hidden; }
.salat-kepala { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; background: #f0b429; color: #3b2f00; font-weight: 700; padding: .55rem 1rem; }
.salat-info { font-weight: 600; font-size: .9rem; }
.salat-hitung { margin-left: .5rem; background: #0b4f3a; color: #fff; border-radius: 1rem; padding: .05rem .6rem; }
.salat-hitung:empty { display: none; }
.salat-grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.salat-sel { padding: .8rem .25rem; border-right: 1px solid #eef1ef; }
.salat-sel:last-child { border-right: 0; }
.salat-nama { display: block; font-size: .85rem; color: #6c757d; }
.salat-waktu { display: block; font-size: 1.45rem; font-weight: 800; color: #0b4f3a; }
.salat-berikut { background: #0b4f3a; } .salat-berikut .salat-nama { color: #ffd966; } .salat-berikut .salat-waktu { color: #fff; }
@media (max-width: 767.98px) {
  .salat { margin: -2rem .25rem 1.5rem; }
  .salat-grid { grid-template-columns: repeat(4, 1fr); }
  .salat-sel { border-bottom: 1px solid #eef1ef; }
  .salat-waktu { font-size: 1.2rem; }
}
.hero { padding-bottom: 3rem; margin-bottom: 0; border-radius: 1rem 1rem 1rem 1rem; }

/* Pengurus */
.pengurus { text-align: center; background: #fff; border-radius: 1rem; padding: 1.25rem .75rem; box-shadow: 0 2px 10px rgba(0,0,0,.08); height: 100%; }
.pengurus-foto { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto .75rem; display: block; border: 3px solid #f0b429; }
.pengurus-huruf { display: flex; align-items: center; justify-content: center; background: #0f6b4d; color: #fff; font-size: 2.2rem; font-weight: 700; }
.pengurus h6 { font-weight: 700; margin-bottom: .1rem; } .pengurus small { color: #6c757d; }

/* Footer publik */
.footer-publik { background: #0b3d2e; color: #cfe3da; border-top: 4px solid #f0b429; padding-top: 2rem; }
.footer-publik h5 { color: #ffd966; font-weight: 700; font-size: 1.05rem; }
.footer-publik a { color: #e6f2ec; } .footer-publik a:hover { color: #ffd966; }
.footer-publik .sosmed { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.12); margin-right: .4rem; }
.footer-bawah { border-top: 1px solid rgba(255,255,255,.15); padding-top: .75rem; margin-top: .5rem; font-size: .9rem; }
.navbar .dropdown-menu { border-radius: .6rem; }

/* ===== Penyempurnaan tampilan publik ===== */
body.layout-top-nav, .layout-top-nav .content-wrapper { background: #f4f6f9; }
.layout-top-nav .content-wrapper { padding-bottom: 1.5rem; }

/* Menu */
.layout-top-nav .navbar-nav .nav-link { color: #2b3a35; font-weight: 600; }
.layout-top-nav .navbar-nav .nav-link:hover { color: #0f6b4d; }
.layout-top-nav .navbar-nav .nav-link.active { color: #0f6b4d; box-shadow: inset 0 -3px 0 #f0b429; background: transparent; }
.navbar-brand .brand-text { color: #0b4f3a; }

/* Judul halaman dalam (Transparansi, Kas, Laporan) */
.judul-halaman { background: linear-gradient(135deg, #0b4f3a, #0f6b4d); color: #fff; padding: 1.1rem 0; margin-bottom: 1rem; }
.judul-halaman h1 { color: #fff; font-size: 1.6rem; font-weight: 700; }
.judul-halaman h1::before { content: ''; display: inline-block; width: 6px; height: 1.3rem; background: #f0b429; border-radius: 3px; margin-right: .6rem; vertical-align: -3px; }
.layout-top-nav .small-box.bg-info { background: linear-gradient(135deg, #0b4f3a, #0f6b4d) !important; }
.layout-top-nav .small-box.bg-success { background: linear-gradient(135deg, #a86b00, #d49200) !important; }
.layout-top-nav .card { border-radius: .75rem; box-shadow: 0 2px 10px rgba(0,0,0,.07); border: 0; }
.layout-top-nav .card-header { background: #fff; border-bottom: 2px solid #f0b429; }

/* Kartu program: sama tinggi, tombol rata bawah, aksen atas rapi */
.program { display: flex; flex-direction: column; border-top: 0; box-shadow: 0 2px 10px rgba(0,0,0,.08), inset 0 5px 0 var(--aksen); padding-top: 2rem; }
.program:hover { box-shadow: 0 8px 22px rgba(0,0,0,.14), inset 0 5px 0 var(--aksen); }
.program ul { flex: 1 1 auto; }
.program-btn { align-self: flex-start; }

/* Jadwal salat: lebih rapi */
.salat-hitung { display: inline-block; white-space: nowrap; }
.salat-sel { transition: background .2s; }
.salat-berikut { box-shadow: inset 0 -4px 0 #f0b429; }
@media (max-width: 767.98px) {
  .salat-kepala { flex-direction: column; gap: .15rem; }
  .salat-hitung { margin: .25rem 0 0; font-size: .8rem; white-space: normal; }
  .salat-grid { grid-template-columns: repeat(4, 1fr); }
  .salat-sel:nth-child(n+5) { grid-column: span 1; }
}

/* Hero */
.hero { padding-bottom: 4.2rem; box-shadow: 0 6px 20px rgba(11,79,58,.25); }
.hero-judul { text-wrap: balance; }
.hero-tag { max-width: 36rem; margin-left: auto; margin-right: auto; }
.hero-logo { background: rgba(255,255,255,.92); border-radius: 1rem; padding: .35rem .6rem; height: 84px; }
.salat { margin-top: -3.4rem; }
.nb { white-space: nowrap; }
.program p { margin-bottom: .25rem; }

/* ===== Slider hero & konten (Berita, Tausiyah, Galeri) ===== */
.hero .carousel-item { min-height: 22rem; }
.hero .hero-isi { min-height: 22rem; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2.5rem 4rem 2rem; }
.hero-ikon { width: 84px; height: 84px; border-radius: 1rem; background: rgba(255,255,255,.92); color: #0f6b4d; font-size: 2.4rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.hero-btn { border-radius: 2rem; padding-left: 1.5rem; padding-right: 1.5rem; }
.hero .carousel-indicators { bottom: 0; margin-bottom: .9rem; }
.hero .carousel-indicators li { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #fff; opacity: .5; }
.hero .carousel-indicators li.active { background: #f0b429; opacity: 1; }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 3.5rem; }
@media (max-width: 767.98px) {
  .hero .carousel-item, .hero .hero-isi { min-height: 25rem; }
  .hero .hero-isi { padding: 2rem 2.6rem 2.2rem; }
  .hero .carousel-control-prev, .hero .carousel-control-next { width: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) { .hero .carousel-item { transition: none; } }

.kartu { background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.08); height: 100%; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.kartu:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.13); }
.kartu-gbr { display: block; aspect-ratio: 16 / 10; background: #e9f1ed; overflow: hidden; }
.kartu-gbr img, .galeri-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kartu-kosong { height: 100%; display: flex; align-items: center; justify-content: center; color: #0f6b4d; font-size: 2.6rem; background: linear-gradient(135deg, #e3efe9, #f5ecd2); }
.kartu-isi { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.kartu-isi h5 { font-weight: 700; margin: .35rem 0 .4rem; font-size: 1.1rem; }
.kartu-isi h5 a { color: #0b4f3a; }
.kartu-isi p { color: #4a5a54; flex: 1 1 auto; }
.kartu-baca { color: #0f6b4d; font-weight: 600; font-size: .9rem; }
.galeri-item { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: .9rem; overflow: hidden; background: #e9f1ed; box-shadow: 0 2px 10px rgba(0,0,0,.1); }
.galeri-item img { transition: transform .3s; } .galeri-item:hover img { transform: scale(1.05); }
.galeri-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .75rem .6rem; color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.25;
  background: linear-gradient(to top, rgba(0,0,0,.72), transparent); }
.galeri-cap small { display: block; opacity: .85; font-weight: 400; }
.kosong { text-align: center; color: #8a9a94; padding: 1.5rem 1rem; background: #fff; border: 2px dashed #d6e0db; border-radius: 1rem; }
.kosong .fas { font-size: 1.8rem; margin-bottom: .4rem; color: #b9c9c1; }
.baca { max-width: 780px; margin: 0 auto 2rem; background: #fff; border-radius: 1rem; padding: 1.5rem; box-shadow: 0 2px 10px rgba(0,0,0,.07); }
.baca-gbr { max-width: 100%; height: auto; border-radius: .75rem; margin-bottom: 1rem; }
.baca-isi { font-size: 1.08rem; line-height: 1.75; color: #26332e; overflow-wrap: anywhere; }
.thumb-admin { width: 64px; height: 48px; object-fit: cover; border-radius: .3rem; }
.thumb-form { max-width: 220px; max-height: 160px; border-radius: .4rem; border: 1px solid #ddd; }

/* Kotak "Tampilkan ... data" pada tabel: jangan terpotong */
.dataTables_wrapper .dataTables_length select { width: auto; min-width: 5rem; padding-right: 2rem; display: inline-block; }
.dataTables_wrapper .dataTables_filter input { width: auto; min-width: 12rem; display: inline-block; }
