/* ============================================
   NAVBAR MENU STYLES
   ============================================ */

/* Logo with Icon Styling */
.navbar-brand.logo-with-icon {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 10px 15px !important;
}

.logo-icon {
    width: 50px !important;
    height: 50px !important;
    object-fit: contain;
}

.logo-text {
    color: #047857 !important;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    display: inline-block;
}

/* Menu Items with Icons */
.navbar-nav > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.navbar-nav > li > a i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.navbar-nav > li:hover > a i {
    transform: scale(1.1);
}

@media (min-width: 993px) {
    .navbar-right {
        margin-top: 13px;
        margin-bottom: 10px;
    }
}

/* Login Button Styling */
.btn-login {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border-radius: 25px !important;
    padding: 10px 25px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    border: 2px solid transparent !important;
    margin-left: 15px;
    text-decoration: none !important;
}

.btn-login:hover,
.btn-login:focus,
.btn-login:active,
.btn-login:visited {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    text-decoration: none !important;
    border-bottom: none !important;
}

.navbar-nav > li > a.btn-login,
.navbar-nav > li > a.btn-login:link,
.navbar-nav > li > a.btn-login:visited {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-bottom: none !important;
    max-width: 130px;
    margin-left: 15px;
}

.navbar-nav > li > a.btn-login:hover,
.navbar-nav > li > a.btn-login:focus,
.navbar-nav > li > a.btn-login:active {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

.btn-login i {
    margin-right: 6px;
    font-size: 14px;
    color: #ffffff !important;
}

.btn-login:hover i,
.btn-login:focus i,
.btn-login:active i {
    color: #ffffff !important;
}

/* Active Menu State */
.navbar-nav > li.active > a {
    background: rgba(16, 185, 129, 0.1) !important;
    color: #047857 !important;
}

/* Dropdown Menu Styling */
.navbar-nav .dropdown-menu {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    margin-top: 10px;
    min-width: 220px;
}

.navbar-nav .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ffffff;
}

.navbar-nav .dropdown-menu li {
    list-style: none;
}

.navbar-nav .dropdown-menu li a {
    padding: 12px 20px !important;
    color: #374151 !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.navbar-nav .dropdown-menu li a i {
    font-size: 14px;
    color: #10b981;
    transition: transform 0.3s ease;
}

.navbar-nav .dropdown-menu li a:hover {
    background: rgba(16, 185, 129, 0.1) !important;
    color: #047857 !important;
    padding-left: 25px !important;
}

.navbar-nav .dropdown-menu li a:hover i {
    transform: scale(1.15) translateX(2px);
}

.navbar-nav .dropdown-menu li.active a {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #047857 !important;
    font-weight: 600;
}

/* Caret Icon for Dropdown */
.navbar-nav > li > a .caret {
    margin-left: 5px;
    border-top-color: currentColor;
    transition: transform 0.3s ease;
}

.navbar-nav > li.open > a .caret {
    transform: rotate(180deg);
}

/* Navbar Mini Styling */
.navbar-mini {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    color: #ffffff;
    padding: 10px 0;
}

.navbar-mini span {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
}

/* Responsive Menu */
@media (max-width: 991px) {
    .logo-icon {
        width: 40px !important;
        height: 40px !important;
    }

    .logo-text {
        font-size: 14px;
    }

    .btn-login {
        margin-left: 0;
        margin-top: 10px;
        display: inline-block;
        text-align: center;
    }

    .navbar-nav > li > a {
        padding: 12px 15px !important;
    }
}

@media (max-width: 767px) {
    .navbar-mini {
        padding: 8px 0;
    }

    .navbar-mini span {
        font-size: 12px;
    }

    .logo-icon {
        width: 35px !important;
        height: 35px !important;
    }

    .logo-text {
        font-size: 13px;
    }
}

.goog-logo-link {
    display: none !important;
}
.goog-te-gadget {
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.goog-te-combo {
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 5px;
    padding: 3px 10px;
    font-size: 14px;
    color: #333;
}

.container.content, .section-empty > .content {
    padding-top: 0px !important;
}

.content-detail-dayah {
    padding-bottom: 20px !important;
}

.content-home {
    margin-top: 50px !important;
    justify-content: center;
    gap: 15px;
}

@media (min-width: 992px) {
    .content-home {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .content-home {
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .content-home {
        gap: 10px;
        justify-content: center;
    }

    .content-home > div {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 575px) {
    .content-home {
        gap: 15px;
    }

    .content-home > div {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.sekilas-info {
    padding: 20px;
    border-radius: 12px;
    background-color: rgb(255 255 255 / 85%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.sekilas-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff !important;
    border-radius: 20px;
    padding: 6px 10px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.btn-detail-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-detail-icon i {
    color: #fff;
    font-size: 14px;
}

.btn-detail:hover,
.btn-detail:focus {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #fff !important;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.btn-detail:hover .btn-detail-icon {
    background: rgba(255, 255, 255, 0.3);
}

.btn-detail-text {
    font-size: 12px;
    letter-spacing: 0.5px;
}

@media (max-width: 758px) {
    .sekilas-info {
        padding: 10px; 
        margin-top: 150px;
        margin-bottom: -50px;
        width: 50% !important;
    }

    .title-sekilas-info {
        font-size: 15px !important;
        line-height: 15px !important;
    }

    .desc-sekilas-info {
        font-size: 10px !important;
        line-height: 10px !important;
    }

    .info-daerah {
        padding-bottom: 30px !important;
    }
}

@media (max-width: 480px) {
    .icon-box-cell .fa {
        font-size: 30px !important;
    }

    .icon-box-cell label {
        font-size: 20px !important;
    }
}

/* Gradient Background untuk Section Hijau */
.bg-color.white {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%) !important;
    position: relative;
    overflow: hidden;
}

.bg-color.white::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10%, 10%) rotate(180deg); }
}

/* Info Daerah Stats Box */
.info-daerah {
    position: relative;
    z-index: 1;
    padding: 60px 0 !important;
}

.counter-box-icon {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 25px 15px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.counter-box-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.counter-box-icon i {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.counter-box-icon label {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.counter-box-icon p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500;
    margin-top: 5px;
    font-size: 14px;
}

/* Spacing untuk counter boxes */
.info-daerah .col-md-2 {
    margin-bottom: 20px;
}

/* Kata Sambutan Section */
.section-bg-color.no-paddings-y {
    background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%);
    padding: 60px 0 !important;
}

.title-base h2 {
    color: #047857;
    font-weight: 700;
    margin-bottom: 20px;
}

.title-base hr {
    border-top: 4px solid;
    border-image: linear-gradient(90deg, #10b981, #059669, #047857) 1;
    width: 80px;
    margin-bottom: 15px;
}

.section-bg-color.no-paddings-y p {
    line-height: 1.8;
    color: #4b5563;
    font-size: 15px;
}

.section-bg-color.no-paddings-y p strong {
    color: #1f2937;
}

/* Slider Improvements */
.section-slider {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.sekilas-info a {
    text-decoration: none;
}

.sekilas-info h1 {
    color: #1f2937 !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 12px;
}

.sekilas-info p {
    color: #4b5563 !important;
    line-height: 1.6;
}

@media (min-width: 992px) {
    .info-daerah {
        width: 100%;
    }
}

/* Mobile Responsive Improvements */
@media (max-width: 991px) {
    .info-daerah {
        padding: 50px 0 !important;
    }

    .counter-box-icon {
        margin-bottom: 15px;
        padding: 22px 12px;
    }

    .counter-box-icon i {
        font-size: 32px !important;
    }

    .counter-box-icon label {
        font-size: 24px !important;
    }

    .counter-box-icon p {
        font-size: 13px !important;
    }
}

@media (max-width: 768px) {
    .info-daerah {
        padding: 40px 0 !important;
    }

    .counter-box-icon {
        margin-bottom: 15px;
        padding: 20px 10px;
    }

    .counter-box-icon i {
        font-size: 28px !important;
    }

    .counter-box-icon label {
        font-size: 22px !important;
    }

    .counter-box-icon p {
        font-size: 12px !important;
    }

    .section-bg-color.no-paddings-y {
        padding: 40px 0 !important;
    }

    .info-daerah .row {
        margin: 50px 20px !important;
        gap: 10px !important;
    }
}

@media (max-width: 575px) {
    .info-daerah {
        padding: 30px 0 !important;
    }

    .counter-box-icon {
        margin-bottom: 15px;
        padding: 25px 15px;
        max-width: 100%;
    }

    .counter-box-icon i {
        font-size: 36px !important;
    }

    .counter-box-icon label {
        font-size: 28px !important;
    }

    .counter-box-icon p {
        font-size: 14px !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Row Equal Height Fix */
.row-eq-height {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.row-eq-height > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

/* Responsive adjustments for row-eq-height */
@media (max-width: 767px) {
    .row-eq-height {
        margin-left: -5px !important;
        margin-right: -5px !important;
    }

    .row-eq-height > [class*='col-'] {
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media (max-width: 575px) {
    .row-eq-height {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .row-eq-height > [class*='col-'] {
        padding-left: 7.5px;
        padding-right: 7.5px;
        margin-bottom: 15px;
    }
}

/* Additional Gradient Effects */
.bg-color.white {
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.1);
}

/* Card Hover Effects for Sekilas Info */
.sekilas-info a:hover h1 {
    color: #047857 !important;
    transition: color 0.3s ease;
}

/* Improve readability on Kata Sambutan */
.section-bg-color.no-paddings-y .container {
    max-width: 1140px;
}

/* Add subtle animation to counter boxes on load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.counter-box-icon {
    animation: fadeInUp 0.6s ease-out forwards;
}

.counter-box-icon:nth-child(1) { animation-delay: 0.1s; }
.counter-box-icon:nth-child(2) { animation-delay: 0.2s; }
.counter-box-icon:nth-child(3) { animation-delay: 0.3s; }
.counter-box-icon:nth-child(4) { animation-delay: 0.4s; }
.counter-box-icon:nth-child(5) { animation-delay: 0.5s; }

/* Better shadow and depth */
.section-slider .flexslider {
    border: none;
    box-shadow: none;
}

/* Improve mobile text readability */
@media (max-width: 480px) {
    .sekilas-info h1 {
        font-size: 18px !important;
    }

    .sekilas-info p {
        font-size: 13px !important;
    }
}

/* ============================================
   FOOTER STYLES WITH GRADIENT
   ============================================ */

.footer-gradient {
    background: linear-gradient(135deg, #047857 0%, #059669 50%, #10b981 100%) !important;
    position: relative;
    overflow: hidden;
    margin-top: 0 !important;
}

.footer-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    animation: gradientShift 20s ease infinite;
}

.footer-gradient .content {
    position: relative;
    z-index: 1;
    padding: 60px 0 0 0 !important;
}

/* Footer Brand Section */
.footer-brand {
    margin-bottom: 30px;
}

.footer-logo {
    background: rgba(255, 255, 255, 0.15);
    padding: 15px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.footer-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.footer-title {
    color: #ffffff !important;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 22px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.footer-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 13px;
    margin: 0;
}

/* Footer Sections */
.footer-section {
    margin-bottom: 30px;
}

.footer-heading {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.95) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 14px;
}

.footer-links a:hover {
    color: #ffffff !important;
    transform: translateX(5px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer-links a i {
    margin-right: 8px;
    font-size: 12px;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact li i {
    color: #ffffff;
    margin-right: 12px;
    margin-top: 3px;
    font-size: 16px;
    min-width: 20px;
}

.footer-contact li span {
    flex: 1;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .copy-text {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 14px;
    margin: 0;
}

.footer-bottom .copy-text a {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-bottom .copy-text a:hover {
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-gradient .content {
        padding: 40px 0 0 0 !important;
    }

    .footer-brand {
        margin-bottom: 30px;
    }

    .footer-section {
        text-align: left !important;
        margin-bottom: 30px;
    }

    .footer-heading {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-links a,
    .footer-contact li {
        font-size: 13px;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .footer-bottom .copy-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        width: 80px;
    }

    .footer-title {
        font-size: 18px;
    }

    .footer-subtitle {
        font-size: 11px;
    }
}

/* Footer Decorative Elements */
.footer-gradient::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255,255,255,0.3) 25%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0.3) 75%,
        transparent 100%);
}

/* Add smooth fade in animation for footer sections */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-brand,
.footer-section {
    animation: fadeIn 0.8s ease-out forwards;
}

.footer-brand { animation-delay: 0.1s; }
.footer-section:nth-of-type(2) { animation-delay: 0.2s; }
.footer-section:nth-of-type(3) { animation-delay: 0.3s; }

footer .container {
    padding: 10px 15px;
}

/* ============================================
   LIST PAGE STYLES
   ============================================ */

.list-page-section {
    background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%);
    padding: 50px 0 80px 0 !important;
    min-height: 100vh;
    width: 100%;
}

/* Page Header */
.page-header-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
}

.page-header-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: gradientShift 15s ease infinite;
}

.page-header-section * {
    position: relative;
    z-index: 1;
}

.page-title {
    color: #ffffff !important;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 16px;
    margin: 0;
}

/* Modern Card Styles */
.modern-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
}

/* Card Image Wrapper */
.card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: #f3f4f6;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-card:hover .image-overlay {
    opacity: 1;
}

/* Card Badge */
.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(16, 185, 129, 0.95);
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.card-badge i {
    margin-right: 5px;
}

/* Card Content */
.card-content-wrapper {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.card-title a {
    color: #1f2937 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #059669 !important;
}

/* Card Meta */
.card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.meta-item {
    color: #6b7280;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
}

.meta-item i {
    margin-right: 5px;
    color: #10b981;
}

/* Card Excerpt */
.card-excerpt {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

/* Card Read More */
.card-read-more {
    color: #059669 !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-top: auto;
}

.card-read-more:hover {
    color: #047857 !important;
    transform: translateX(5px);
}

.card-read-more i {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.card-read-more:hover i {
    transform: translateX(3px);
}

/* Grid Item Animation */
.grid-item {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.grid-item:nth-child(1) { animation-delay: 0.1s; }
.grid-item:nth-child(2) { animation-delay: 0.2s; }
.grid-item:nth-child(3) { animation-delay: 0.3s; }
.grid-item:nth-child(4) { animation-delay: 0.4s; }
.grid-item:nth-child(5) { animation-delay: 0.5s; }
.grid-item:nth-child(6) { animation-delay: 0.6s; }
.grid-item:nth-child(7) { animation-delay: 0.7s; }
.grid-item:nth-child(8) { animation-delay: 0.8s; }
.grid-item:nth-child(9) { animation-delay: 0.9s; }

/* Modern Pagination */
.modern-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

.modern-pagination li {
    list-style: none;
    display: inline-block;
}

.modern-pagination li a,
.modern-pagination li span {
    background: #ffffff;
    color: #059669;
    border: 2px solid #e5e7eb;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: inline-block;
    min-width: 45px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.modern-pagination li a:hover {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff !important;
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.modern-pagination li.active a,
.modern-pagination li.active span {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff !important;
    border-color: #10b981;
}

.modern-pagination li.disabled a,
.modern-pagination li.disabled span {
    background: #f3f4f6;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
}

.modern-pagination li.disabled a:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Pagination Navigation Text */
.list-nav {
    margin-top: 40px;
}

.pagination-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-grid li {
    list-style: none;
}

.pagination-grid li a,
.pagination-grid li span {
    display: inline-block;
    padding: 10px 18px;
    background: #ffffff;
    color: #059669;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-width: 45px;
    text-align: center;
}

.pagination-grid li a:hover {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff !important;
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.pagination-grid li.active a,
.pagination-grid li.active span {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff !important;
    border-color: #10b981;
}

.pagination-grid li.disabled a,
.pagination-grid li.disabled span {
    background: #f3f4f6;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-grid li.disabled a:hover {
    transform: none;
    background: #f3f4f6;
    color: #9ca3af;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Responsive List Page */
@media (max-width: 768px) {
    .list-page-section {
        padding: 20px 0 60px 0 !important;
    }

    .page-header-section {
        padding: 30px 15px;
        margin-bottom: 15px;
    }

    .page-title {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 14px;
    }

    .card-image-wrapper {
        height: 200px;
    }

    .card-content-wrapper {
        padding: 20px;
    }

    .card-title {
        font-size: 18px;
    }

    .grid-item {
        margin-bottom: 20px;
    }

    .pagination-grid li a,
    .pagination-grid li span {
        padding: 8px 14px;
        font-size: 14px;
        min-width: 40px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 24px;
    }

    .page-subtitle {
        font-size: 13px;
    }

    .card-image-wrapper {
        height: 180px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-excerpt {
        font-size: 13px;
    }

    .modern-pagination li a {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* ============================================
   PETA (MAP) PAGE STYLES
   ============================================ */

.peta-section {
    background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%);
    padding: 80px 0 80px 0 !important;
    min-height: 100vh;
}

.peta-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
}

.peta-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: gradientShift 15s ease infinite;
}

.peta-header * {
    position: relative;
    z-index: 1;
}

.peta-title {
    color: #ffffff !important;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.peta-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 16px;
    margin: 0;
}

.map-container {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.map-control-panel {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
    width: 320px;
    padding: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.map-control-panel .map-control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.map-control-panel h5 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}

.map-control-panel span {
    font-size: 12px;
    color: #64748b;
}

.map-control-panel label {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
    color: #0f172a;
}

.map-control-panel .form-group {
    margin-bottom: 12px;
}

.map-control-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.map-filter-toggle {
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: #ffffff;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
    display: none;
}

.map-filter-toggle i {
    margin-right: 6px;
}

.map-filter-body {
    margin-top: 12px;
}

.map-filter-reset {
    background: transparent;
    border: none;
    color: #0ea5e9;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.map-filter-reset i {
    margin-right: 4px;
}

.map-filter-reset:hover {
    color: #0369a1;
}

.map-control-panel .select2-container {
    width: 100% !important;
}

.map-control-panel .select2-selection {
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    min-height: 40px;
}

.map-control-panel .select2-selection__rendered {
    line-height: 40px !important;
    font-size: 13px;
}

.map-control-panel .select2-selection__arrow {
    height: 38px !important;
}

#map {
    width: 100%;
    height: 600px;
    border-radius: 16px;
}

.leaflet-container a.leaflet-popup-close-button {
    padding: 15px 4px 0 0 !important;
    font: 26px/14px Tahoma, Verdana, sans-serif !important;
    color: #fff !important;
}

.popup_marker .leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.popup_marker .leaflet-popup-content {
    width: 410px;
    margin: 0px;
}

.popup_marker .leaflet-popup-tip-container {
    display: none;
}

.popup_marker h4 {
    color: #059669;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 10px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.popup_marker p {
    color: #4b5563;
    line-height: 1.6;
    margin: 8px 0;
    font-size: 14px;
}

.popup_marker strong {
    color: #1f2937;
    font-weight: 600;
}

.mt-5 {
    margin-top: 10px;
}

.map-legend {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.map-legend h5 {
    color: #059669;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.legend-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.legend-marker.dayah {
    background: #10b981;
}

.legend-marker.balai {
    background: #3b82f6;
}

.map-popup {
    width: 320px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.15);
    overflow: hidden;
}

.map-popup__header {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    color: #fff;
    gap: 12px;
}

.map-popup__header.dayah {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.map-popup__header.balai {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.map-popup__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.map-popup__header .label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
    opacity: 0.8;
    margin: 0 0 4px 0;
}

.map-popup__header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.map-popup__body {
    padding: 16px;
}

.map-popup__body h4 {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #0f172a;
}

.map-popup__info {
    list-style: none;
    margin: 0;
    padding: 0;
}

.map-popup__info li {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #475569;
}

.map-popup__info li i {
    color: #059669;
    font-size: 15px;
    width: 18px;
    text-align: center;
    margin-top: 4px;
}

.map-popup__info li span {
    font-weight: 600;
    color: #0f172a;
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.map-popup__info li p {
    margin: 0;
    line-height: 1.4;
}

.map-popup__footer {
    padding: 12px 16px 16px;
    background: #f8fafc;
}

.map-popup__button {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff !important;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.map-popup__button:hover {
    opacity: 0.85;
}

.custom-marker .marker-pin {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    border: 2px solid #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.custom-marker .marker-pin.dayah {
    background: #10b981;
}

.custom-marker .marker-pin.balai {
    background: #3b82f6;
}

.map-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    font-weight: 600;
    color: #0f172a;
}

.map-loading .spinner {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid #cbd5f5;
    border-top-color: #10b981;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

.map-empty-state {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #94a3b8;
    font-weight: 600;
    z-index: 900;
    pointer-events: none;
    text-align: center;
}

.map-empty-state i {
    font-size: 42px;
    margin-bottom: 10px;
}

.map-empty-state p {
    margin: 0;
    font-size: 16px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Peta Page */
@media only screen and (max-width: 767px) {
    .peta-section {
        padding: 40px 0 60px 0 !important;
    }

    .peta-header {
        padding: 30px 15px;
        margin-bottom: 30px;
    }

    .peta-title {
        font-size: 24px;
    }

    .peta-subtitle {
        font-size: 14px;
    }

    #map {
        height: 400px;
    }

    .popup_marker .leaflet-popup-content {
        width: 250px;
        margin: 0px;
    }

    .popup_marker h4 {
        font-size: 16px;
    }

    .popup_marker p {
        font-size: 13px;
        line-height: 1.5;
    }

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

    .map-control-panel {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        margin-bottom: 15px;
        box-shadow: none;
        border: 1px solid rgba(0, 0, 0, 0.08);
    }

    .map-filter-toggle {
        display: inline-flex;
    }

    .map-filter-body {
        display: none;
    }

    .map-control-panel.open .map-filter-body {
        display: block;
        margin-top: 12px;
    }

    .map-control-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ============================================
   INFORMASI DAYAH PAGE STYLES
   ============================================ */

.informasi-dayah-section {
    background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%);
    padding: 40px 0 80px 0 !important;
    min-height: 100vh;
}

/* Informasi Header */
.informasi-header {
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
}

.informasi-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: gradientShift 15s ease infinite;
}

.informasi-header * {
    position: relative;
    z-index: 1;
}

/* Horizontal Layout Container */
.header-content-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

/* Icon Inline */
.header-icon-inline {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.header-icon-inline:hover {
    transform: scale(1.05) rotate(5deg);
    background: rgba(255, 255, 255, 0.25);
}

.header-icon-inline i {
    font-size: 36px;
    color: #ffffff;
}

/* Text Inline */
.header-text-inline {
    text-align: left;
    flex: 1;
}

/* Legacy vertical layout support (kept for backward compatibility) */
.header-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.header-icon i {
    font-size: 36px;
    color: #ffffff;
}

.informasi-title {
    color: #ffffff !important;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.informasi-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 16px;
    margin: 0;
}

.navbar-mini:not(.hidden) + .navbar-main .navbar-header:after {
    background-color: #047c59;
}

/* Filter Card */
.filter-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-header {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e5e7eb;
}

.filter-header h5 {
    color: #059669;
    font-weight: 700;
    margin: 0;
    font-size: 18px;
}

.filter-header h5 i {
    margin-right: 8px;
}

.btn-reset-filter {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-reset-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.btn-reset-filter i {
    margin-right: 6px;
}

.filter-body {
    padding: 30px 25px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    color: #4b5563;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.filter-group label i {
    color: #10b981;
    margin-right: 6px;
}

.filter-group .form-control {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-group .form-control:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Select2 Custom Styling */
.select2-container--default .select2-selection--single {
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    height: 42px !important;
    padding: 4px 12px !important;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 32px !important;
    color: #4b5563 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
}

.select2-dropdown {
    border: 2px solid #10b981 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

.select2-results__option--highlighted[aria-selected] {
    background-color: #10b981 !important;
}

/* Table Card */
.table-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.table-wrapper {
    padding: 25px;
}

/* DataTable Styling */
#table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

/* #table thead th {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 15px 12px !important;
    border: none !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
} */

#download_table thead {
    visibility: collapse;
}

#table thead th {
    padding: 0px 12px !important;
}

div:not(.hc_column_cnt) > table:not(.grid-table) th {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 10px 12px !important;
    border: none !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#table thead th:first-child {
    border-top-left-radius: 8px;
}

#table thead th:last-child {
    border-top-right-radius: 8px;
}

#table tbody tr {
    transition: all 0.3s ease;
}

#table tbody tr:hover {
    background-color: #f0fdf4 !important;
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

#table tbody td {
    padding: 12px !important;
    color: #4b5563 !important;
    font-size: 13px !important;
    border-bottom: 1px solid #f3f4f6 !important;
    vertical-align: middle !important;
}

/* DataTables Pagination */
.dataTables_wrapper .dataTables_paginate {
    margin-top: 20px !important;
}

.dataTables_wrapper .dataTables_paginate .pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.page-item {
    list-style: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button .page-link {
    padding: 10px 16px !important;
    border-radius: 8px !important;
    border: 2px solid #e5e7eb !important;
    background: #ffffff !important;
    color: #059669 !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none;
    display: inline-block;
    min-width: 45px;
    text-align: center;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover .page-link {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #ffffff !important;
    border-color: #10b981 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.active .page-link {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #ffffff !important;
    border-color: #10b981 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled .page-link {
    background: #f3f4f6 !important;
    color: #9ca3af !important;
    border-color: #e5e7eb !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover .page-link {
    transform: none;
    background: #f3f4f6 !important;
    color: #9ca3af !important;
    box-shadow: none;
}

.dataTables_wrapper .dataTables_info {
    color: #6b7280 !important;
    font-size: 14px !important;
    padding-top: 15px !important;
}

.dataTables_wrapper .dataTables_length select {
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    margin: 0 8px !important;
}

.dataTables_wrapper .dataTables_filter input {
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 8px 15px !important;
    margin-left: 8px !important;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #10b981 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

/* Responsive Informasi Dayah */
@media (max-width: 768px) {
    .informasi-dayah-section {
        padding: 40px 0 60px 0 !important;
    }

    .informasi-header {
        padding: 30px 15px;
        margin-bottom: 30px;
    }

    /* Stack horizontally on mobile */
    .header-content-inline {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .header-icon-inline {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

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

    .header-text-inline {
        text-align: center;
    }

    .header-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

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

    .informasi-title {
        font-size: 28px;
    }

    .informasi-subtitle {
        font-size: 14px;
    }

    .filter-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .btn-reset-filter {
        width: 100%;
    }

    .filter-body {
        padding: 20px 15px;
    }

    .filter-group {
        margin-bottom: 15px;
    }

    .table-wrapper {
        padding: 15px;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .informasi-title {
        font-size: 24px;
    }

    .informasi-subtitle {
        font-size: 13px;
    }

    .filter-header h5 {
        font-size: 16px;
    }
}

/* ============================================
   INFORMASI BALAI PAGE STYLES
   ============================================ */

.informasi-balai-section {
    background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%);
    padding: 40px 0 80px 0 !important;
    min-height: 100vh;
}

/* Responsive Informasi Balai */
@media (max-width: 768px) {
    .informasi-balai-section {
        padding: 40px 0 60px 0 !important;
    }
}

/* ============================================
   DETAIL PAGE STYLES
   ============================================ */

.detail-page-section {
    background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%);
    padding: 60px 0 80px 0 !important;
    min-height: 100vh;
}

/* Article Styles */
.detail-article {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

/* Article Header */
.article-header {
    padding: 40px 40px 30px 40px;
    background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
    border-bottom: 2px solid #e5e7eb;
}

.article-title {
    color: #1f2937 !important;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 20px 0;
}

.article-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.article-meta .meta-item {
    color: #6b7280;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.article-meta .meta-item:hover {
    background: rgba(16, 185, 129, 0.15);
}

.article-meta .meta-item i {
    margin-right: 6px;
    color: #10b981;
}

/* Featured Image */
.article-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #f3f4f6;
}

.article-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Article Content */
.article-content {
    padding: 40px;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #1f2937;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-content h2 {
    font-size: 28px;
    border-bottom: 2px solid #10b981;
    padding-bottom: 10px;
}

.article-content h3 {
    font-size: 24px;
}

.article-content h4 {
    font-size: 20px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content a {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: #059669;
    text-decoration: underline;
}

.article-content blockquote {
    border-left: 4px solid #10b981;
    padding: 15px 20px;
    margin: 20px 0;
    background: #f0fdf4;
    border-radius: 8px;
    font-style: italic;
    color: #047857;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.article-content table th,
.article-content table td {
    padding: 12px;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.article-content table th {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-weight: 600;
}

.article-content table tr:nth-child(even) {
    background: #f9fafb;
}

/* Sidebar Widget */
.sidebar-widget {
    position: sticky;
    top: 20px;
}

.widget-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.widget-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 20px 25px;
}

.widget-title {
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
}

.widget-title i {
    margin-right: 10px;
    font-size: 20px;
}

.widget-body {
    padding: 20px 25px;
}

/* Latest Post Item */
.latest-post-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.latest-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.latest-post-item:hover {
    transform: translateX(5px);
}

.post-thumbnail {
    width: 100px;
    min-width: 100px;
    height: 75px;
    overflow: hidden;
    border-radius: 8px;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-thumbnail:hover img {
    transform: scale(1.1);
}

.post-content {
    flex: 1;
}

.post-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.post-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-title a:hover {
    color: #10b981;
}

.post-date {
    color: #6b7280;
    font-size: 12px;
    display: flex;
    align-items: center;
}

.post-date i {
    margin-right: 5px;
    color: #10b981;
}

/* Responsive Detail Page */
@media (max-width: 768px) {
    .detail-page-section {
        padding: 40px 0 60px 0 !important;
    }

    .article-header {
        padding: 30px 25px 20px 25px;
    }

    .article-title {
        font-size: 28px;
    }

    .article-meta {
        gap: 10px;
    }

    .article-meta .meta-item {
        font-size: 13px;
        padding: 6px 12px;
    }

    .article-content {
        padding: 30px 25px;
        font-size: 15px;
    }

    .article-content h2 {
        font-size: 24px;
    }

    .article-content h3 {
        font-size: 20px;
    }

    .sidebar-widget {
        position: static;
        margin-top: 30px;
    }

    .widget-header {
        padding: 15px 20px;
    }

    .widget-title {
        font-size: 16px;
    }

    .widget-body {
        padding: 15px 20px;
    }

    .post-thumbnail {
        width: 80px;
        min-width: 80px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 20px 15px;
    }

    .article-title {
        font-size: 22px;
    }

    .article-meta {
        flex-direction: column;
        gap: 8px;
    }

    .article-meta .meta-item {
        font-size: 12px;
        padding: 5px 10px;
    }

    .article-content {
        padding: 20px 15px;
        font-size: 14px;
    }

    .article-content h2 {
        font-size: 20px;
    }

    .article-content h3 {
        font-size: 18px;
    }

    .widget-header {
        padding: 12px 15px;
    }

    .widget-title {
        font-size: 15px;
    }

    .widget-body {
        padding: 12px 15px;
    }

    .post-title {
        font-size: 13px;
    }

    .post-date {
        font-size: 11px;
    }

    .post-thumbnail {
        width: 70px;
        min-width: 70px;
        height: 55px;
    }
}

/* ================================================
   Detail Dayah Page Styles
   ================================================ */

.detail-dayah-section {
    background: linear-gradient(to bottom, #f0fdf4 0%, #ffffff 100%);
    padding: 40px 0 60px 0;
    min-height: 100vh;
}

.detail-dayah-section .container.content.content-detail-dayah {
    padding-top: 40px !important;
}

.detail-dayah-section .informasi-title { 
    font-size: 35px;
}

.detail-dayah-section .header-content-inline {
    margin-left: 35px;
}

/* Dayah Type Badge - Attractive Badge Style */
.dayah-type-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    color: #047857;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.dayah-type-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.dayah-type-badge i {
    margin-right: 6px;
    color: #10b981;
}

.dayah-type-badge strong {
    color: #047857;
}

/* Content Cards */
.dayah-content-row {
    margin-left: -15px;
    margin-right: -15px;
}

.dayah-content-row > [class*='col-'] {
    padding-left: 15px;
    padding-right: 15px;
}

.dayah-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.dayah-card:hover {
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.15);
    transform: translateY(-5px);
}

.dayah-card-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 25px 30px;
    position: relative;
}

.dayah-card-header h3 {
    color: #ffffff !important;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    position: relative;
}

.dayah-card-header h3::before {
    display: none;
}

.dayah-card-header h3 i {
    margin-right: 10px;
    font-size: 24px;
}

.dayah-card-body {
    padding: 30px;
}

/* Photo Gallery */
.photo-gallery-card {
    width: 100%;
}

.photo-gallery-card .flexslider {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.photo-gallery-card .flexslider .slides img {
    border-radius: 12px;
}

.photo-gallery-card .flex-control-nav {
    bottom: 15px;
    z-index: 10;
}

.photo-gallery-card .flex-control-paging li a {
    background: rgba(255, 255, 255, 0.6);
    width: 12px;
    height: 12px;
}

.photo-gallery-card .flex-control-paging li a.flex-active {
    background: #10b981;
}

/* Pimpinan Dayah Card */
.pimpinan-card {
    background: linear-gradient(to bottom right, #ffffff 0%, #f0fdf4 100%);
}

.pimpinan-photo-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.pimpinan-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #10b981;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.pimpinan-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
}

#pimpinan_dayah {
    width: 100%;
    border: none;
}

#pimpinan_dayah td {
    padding: 12px 15px 12px 0 !important;
    color: #374151;
    font-size: 15px;
    border-bottom: 1px solid #e5e7eb;
}

#pimpinan_dayah td:first-child {
    font-weight: 600;
    color: #047857;
    width: 150px;
}

#pimpinan_dayah tr:last-child td {
    border-bottom: none;
}

/* Profile Table */
.profile-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.profile-table tr {
    border-bottom: 1px solid #e5e7eb;
}

.profile-table tr:last-child {
    border-bottom: none;
}

.profile-table td {
    padding: 15px;
    color: #374151;
    font-size: 15px;
}

.profile-table td:first-child {
    font-weight: 600;
    color: #047857;
    width: 250px;
    background: rgba(16, 185, 129, 0.05);
}

.profile-table tr:hover {
    background: rgba(16, 185, 129, 0.02);
}

/* DataTables Custom Styling for Detail Dayah */
.dayah-card .dataTables_wrapper {
    padding: 0;
}

.dayah-card .dataTables_filter {
    text-align: right !important;
    margin-bottom: 20px;
}

.dayah-card .dataTables_filter input {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 15px;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.dayah-card .dataTables_filter input:focus {
    border-color: #10b981;
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.dayah-card table.dataTable {
    border-collapse: separate !important;
    border-spacing: 0;
    width: 100% !important;
    border-radius: 10px 10px 0 0;
}

.dayah-card table.dataTable thead th {
    /* background: linear-gradient(135deg, #10b981, #059669) !important; */
    background: #038f65 !important;
    color: #ffffff !important;
    font-weight: 600;
    padding: 15px !important;
    border: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid #fff !important;
}

.dayah-card table.dataTable thead th:first-child {
    border-top-left-radius: 8px;
}

.dayah-card table.dataTable thead th:last-child {
    border-top-right-radius: 8px;
}

.dayah-card table.dataTable tbody td {
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-size: 14px;
}

.dayah-card table.dataTable tbody tr:hover {
    background: rgba(16, 185, 129, 0.05);
}

.dayah-card table.dataTable tbody tr:last-child td {
    border-bottom: none;
}

.dayah-card .dataTables_info {
    color: #6b7280;
    font-size: 14px;
    padding-top: 15px;
}

.dayah-card .dataTables_length select {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 5px 10px;
    margin: 0 10px;
}

/* Row Grouping Styles */
.dayah-card table.dataTable tr.group {
    background: linear-gradient(to right, #10b981, #059669) !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
}

.dayah-card table.dataTable tr.group td {
    padding: 12px 15px !important;
}

/* Map Container */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 600px;
    border: 3px solid #10b981;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* File Preview Button */
.btn-preview-file {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-preview-file:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    color: #ffffff;
}

/* Modal Styling */
.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom: none;
    padding: 20px 30px;
}

.modal-header .close {
    color: #ffffff;
    opacity: 1;
    text-shadow: none;
    font-size: 32px;
    font-weight: 300;
}

.modal-header .close:hover {
    color: #f0fdf4;
}

.modal-body {
    padding: 30px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .dayah-title {
        font-size: 32px;
    }

    .dayah-type-badge {
        font-size: 14px;
        padding: 8px 16px;
    }

    .dayah-card-header {
        padding: 20px 25px;
    }

    .dayah-card-header h3 {
        font-size: 20px;
    }

    .dayah-card-body {
        padding: 25px;
    }

    .pimpinan-photo {
        width: 150px;
        height: 150px;
    }

    #pimpinan_dayah td:first-child {
        width: 120px;
    }

    .profile-table td:first-child {
        width: 180px;
    }
}

@media (max-width: 767px) {
    .detail-dayah-section {
        padding: 30px 0 40px 0;
    }

    .detail-dayah-section .header-content-inline {
        margin-left: 0px;
    }

    .dayah-content-row {
        margin-left: 0;
        margin-right: 0;
    }

    .dayah-header {
        padding: 35px 0;
        margin-bottom: 30px;
    }

    .dayah-title {
        font-size: 26px;
    }

    .dayah-type-badge {
        font-size: 13px;
        padding: 6px 12px;
    }

    .dayah-card {
        margin-bottom: 20px;
    }

    .dayah-card-header {
        padding: 18px 20px;
    }

    .dayah-card-header h3 {
        font-size: 18px;
    }

    .dayah-card-body {
        padding: 20px;
    }

    .pimpinan-photo {
        width: 120px;
        height: 120px;
        border-width: 3px;
    }

    #pimpinan_dayah td {
        padding: 10px 10px 10px 0 !important;
        font-size: 14px;
        display: block;
        width: 100% !important;
    }

    #pimpinan_dayah td:first-child {
        width: 100% !important;
        font-weight: 700;
        padding-bottom: 5px !important;
    }

    #pimpinan_dayah tr {
        display: block;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .profile-table td {
        display: block;
        width: 100% !important;
        padding: 10px 15px;
    }

    .profile-table td:first-child {
        width: 100% !important;
        font-weight: 700;
        padding-bottom: 5px;
        background: transparent;
    }

    .profile-table tr {
        display: flex;
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 2px solid #e5e7eb;
    }

    .dayah-card .dataTables_filter {
        text-align: center !important;
        margin-bottom: 15px;
    }

    .dayah-card .dataTables_filter input {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        max-width: 300px;
    }

    .dayah-card table.dataTable thead th {
        font-size: 12px;
        padding: 10px 8px !important;
    }

    .dayah-card table.dataTable tbody td {
        font-size: 13px;
        padding: 10px 8px;
    }

    .map-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .dayah-title {
        font-size: 22px;
    }

    .dayah-type-badge {
        font-size: 12px;
        padding: 5px 10px;
    }

    .dayah-card-header h3 {
        font-size: 16px;
    }

    .dayah-card-header h3 i {
        font-size: 18px;
    }

    .dayah-card-body {
        padding: 15px;
    }

    .btn-preview-file {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* ============================================
   DOWNLOAD PAGE STYLES
   ============================================ */

.download-section {
    background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%);
    padding: 40px 0 80px 0 !important;
    min-height: 100vh;
}

/* Download Header */
.download-header {
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
}

.download-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: gradientShift 15s ease infinite;
}

.download-header * {
    position: relative;
    z-index: 1;
}

/* Download Button Styling */
.btn-download-file {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-download-file:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    color: #ffffff;
}

.btn-download-file i {
    margin-right: 5px;
}

/* Responsive Download Page */
@media (max-width: 768px) {
    .download-section {
        padding: 40px 0 60px 0 !important;
    }

    .download-header {
        padding: 30px 15px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .btn-download-file {
        font-size: 12px;
        padding: 6px 12px;
    }
}

.goog-te-gadget {
    color: #fff !important;
}

/* ============================================
   DETAIL DAYAH PAGE STYLES
   ============================================ */

#detail-dayah-page .content-detail-dayah {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

@media (max-width: 767px) {

    #detail-dayah-page .content-detail-dayah {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }

}

/* Optimized Modern Styles */
#detail-dayah-page {
    --primary-color: #059669;
    --secondary-color: #0ea5e9;
    --soft-bg: #f8fafc;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.08);
    --card-shadow-hover: 0 4px 12px rgba(0,0,0,0.12);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Skeleton Loading */
#detail-dayah-page .skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes detail-dayah-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

#detail-dayah-page .skeleton-text {
    height: 16px;
    margin: 8px 0;
}

#detail-dayah-page .skeleton-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
}

/* Lazy Load Blur Effect */
#detail-dayah-page img[data-src], 
#detail-dayah-page iframe[data-src] {
    filter: blur(10px);
    transition: filter 0.3s;
}

#detail-dayah-page img.loaded, 
#detail-dayah-page iframe.loaded {
    filter: blur(0);
}

/* Enhanced Card Design */
#detail-dayah-page .dayah-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin-bottom: 24px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #e5e7eb;
}

#detail-dayah-page .dayah-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

#detail-dayah-page .dayah-card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #047857 100%);
    padding: 16px 20px;
    border-bottom: none;
}

#detail-dayah-page .dayah-card-header h3 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

#detail-dayah-page .dayah-card-body {
    padding: 20px;
}

#detail-dayah-page .dayah-card-body.no-padding {
    padding: 0;
}

/* Header Enhancement */
#detail-dayah-page .informasi-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #047857 100%);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow-hover);
}

#detail-dayah-page .informasi-title {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

#detail-dayah-page .dayah-type-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

/* Photo Gallery */
#detail-dayah-page .photo-gallery-card .flexslider {
    border: none;
    border-radius: 0;
    overflow: hidden;
    background: #f8fafc;
}

#detail-dayah-page .photo-gallery-card .flexslider .slides {
    margin: 0;
    padding: 0;
}

#detail-dayah-page .photo-gallery-card .flexslider .slides li {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    min-height: 350px;
}

#detail-dayah-page .photo-gallery-card .flexslider .slides li .img-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#detail-dayah-page .photo-gallery-card img {
    border-radius: 0;
    object-fit: contain;
    width: 100%;
    max-height: 400px;
    height: auto;
    background: #f8fafc;
}

/* Pimpinan Photo */
#detail-dayah-page .pimpinan-photo-wrapper {
    text-align: center;
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: var(--border-radius);
}

#detail-dayah-page .pimpinan-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.25);
    transition: var(--transition);
}

#detail-dayah-page .pimpinan-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(5, 150, 105, 0.35);
}

/* Table Styles - Biodata Pimpinan */
#detail-dayah-page #pimpinan_dayah {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

#detail-dayah-page #pimpinan_dayah tr {
    border-bottom: 1px solid #e5e7eb;
    transition: var(--transition);
}

#detail-dayah-page #pimpinan_dayah tr:last-child {
    border-bottom: none;
}

#detail-dayah-page #pimpinan_dayah tr:hover {
    background: linear-gradient(to right, #f0fdf4 0%, transparent 100%);
}

#detail-dayah-page #pimpinan_dayah td {
    padding: 14px 0;
    border: none;
    font-size: 14px;
    line-height: 1.6;
}

#detail-dayah-page #pimpinan_dayah td:first-child {
    font-weight: 600;
    color: #059669;
    width: 38%;
    padding-right: 16px;
}

#detail-dayah-page #pimpinan_dayah td:last-child {
    color: #374151;
    font-weight: 500;
}

/* Profile Table */
#detail-dayah-page .profile-table {
    width: 100%;
    border-collapse: collapse;
}

#detail-dayah-page .profile-table tr {
    border-bottom: 1px solid #e5e7eb;
    transition: var(--transition);
}

#detail-dayah-page .profile-table tr:last-child {
    border-bottom: none;
}

#detail-dayah-page .profile-table tr:hover {
    background: linear-gradient(to right, #f0fdf4 0%, transparent 100%);
}

#detail-dayah-page .profile-table td {
    padding: 12px 0;
    border: none;
    font-size: 14px;
    line-height: 1.6;
}

#detail-dayah-page .profile-table td:first-child {
    font-weight: 600;
    color: #059669;
    width: 40%;
    padding-left: 16px;
}

#detail-dayah-page .profile-table td:last-child {
    color: #374151;
    padding-left: 16px;
}

/* DataTables Enhancement */
#detail-dayah-page .dataTables_wrapper {
    padding: 0;
}

#detail-dayah-page table.dataTable {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

#detail-dayah-page table.dataTable thead {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

#detail-dayah-page table.dataTable thead th {
    background: transparent;
    color: #047857;
    font-weight: 600;
    padding: 14px 16px;
    border: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #a7f3d0;
}

#detail-dayah-page table.dataTable thead th:first-child {
    border-radius: var(--border-radius) 0 0 0;
}

#detail-dayah-page table.dataTable thead th:last-child {
    border-radius: 0 var(--border-radius) 0 0;
}

#detail-dayah-page table.dataTable tbody tr {
    background: white;
    border-bottom: 1px solid #f3f4f6;
    transition: var(--transition);
}

#detail-dayah-page table.dataTable tbody tr:hover {
    background: linear-gradient(to right, #f0fdf4 0%, #ffffff 100%);
    border-left: 3px solid var(--primary-color);
}

#detail-dayah-page table.dataTable tbody td {
    padding: 14px 16px;
    /* border: none; */
    font-size: 14px;
    color: #374151;
}

/* DataTables Row Grouping */
#detail-dayah-page table.dataTable tbody tr.dtrg-group td {
    background: #0596691a;
    color: #333;
    font-weight: 600;
    padding: 12px 16px;
    border: none;
}

#detail-dayah-page table.dataTable tbody tr.dtrg-group:hover td {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
}

/* Map Container */
#detail-dayah-page .map-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

#detail-dayah-page .map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#detail-dayah-page .map-link-wrapper {
    text-align: center;
    padding: 15px;
    background: var(--soft-bg);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

#detail-dayah-page .map-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

#detail-dayah-page .map-link:hover {
    color: #047857;
    text-decoration: none;
    transform: translateX(5px);
}

/* Social Share Section */
#detail-dayah-page .social-share-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

#detail-dayah-page .share-header {
    margin-bottom: 20px;
    text-align: center;
}

#detail-dayah-page .share-header h4 {
    color: #78350f;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

#detail-dayah-page .share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

#detail-dayah-page .share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 13px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#detail-dayah-page .share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    color: white;
    text-decoration: none;
}

#detail-dayah-page .share-btn i {
    font-size: 16px;
}

/* Soft Button Colors */
#detail-dayah-page .facebook-btn {
    background: linear-gradient(135deg, #4267B2 0%, #3b5998 100%);
}

#detail-dayah-page .facebook-btn:hover {
    background: linear-gradient(135deg, #5578c4 0%, #4267B2 100%);
}

#detail-dayah-page .twitter-btn {
    background: linear-gradient(135deg, #1DA1F2 0%, #1991db 100%);
}

#detail-dayah-page .twitter-btn:hover {
    background: linear-gradient(135deg, #4ab3f4 0%, #1DA1F2 100%);
}

#detail-dayah-page .whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #20bd5a 100%);
}

#detail-dayah-page .whatsapp-btn:hover {
    background: linear-gradient(135deg, #3fdc7a 0%, #25D366 100%);
}

#detail-dayah-page .telegram-btn {
    background: linear-gradient(135deg, #0088cc 0%, #0077b3 100%);
}

#detail-dayah-page .telegram-btn:hover {
    background: linear-gradient(135deg, #1a9edc 0%, #0088cc 100%);
}

#detail-dayah-page .linkedin-btn {
    background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
}

#detail-dayah-page .linkedin-btn:hover {
    background: linear-gradient(135deg, #2877d1 0%, #0A66C2 100%);
}

#detail-dayah-page .copy-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

#detail-dayah-page .copy-btn:hover {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
}

/* Responsive */
@media (max-width: 768px) {
    #detail-dayah-page .informasi-title {
        font-size: 22px;
    }

    #detail-dayah-page .share-buttons {
        flex-direction: column;
        width: 100%;
    }

    #detail-dayah-page .share-btn {
        width: 100%;
        justify-content: center;
    }

    #detail-dayah-page .dayah-card {
        margin-bottom: 16px;
    }
}

/* Copy Success Animation */
@keyframes detail-dayah-successPulse {
    0% { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
    50% { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
    100% { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
}

#detail-dayah-page .copy-btn.success {
    animation: detail-dayah-successPulse 0.6s ease;
}

/* ============================================
   DETAIL BALAI PAGE STYLES (Shares same styles with Detail Dayah)
   ============================================ */

/* All styles are identical to #detail-dayah-page, just with different ID wrapper */
#detail-balai-page .content-detail-dayah {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

#detail-balai-page {
    --primary-color: #059669;
    --secondary-color: #0ea5e9;
    --soft-bg: #f8fafc;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.08);
    --card-shadow-hover: 0 4px 12px rgba(0,0,0,0.12);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Skeleton Loading */
#detail-balai-page .skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

#detail-balai-page .skeleton-text {
    height: 16px;
    margin: 8px 0;
}

#detail-balai-page .skeleton-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
}

/* Lazy Load Blur Effect */
#detail-balai-page img[data-src], 
#detail-balai-page iframe[data-src] {
    filter: blur(10px);
    transition: filter 0.3s;
}

#detail-balai-page img.loaded, 
#detail-balai-page iframe.loaded {
    filter: blur(0);
}

/* Enhanced Card Design */
#detail-balai-page .dayah-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin-bottom: 24px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #e5e7eb;
}

#detail-balai-page .dayah-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

#detail-balai-page .dayah-card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #047857 100%);
    padding: 16px 20px;
    border-bottom: none;
}

#detail-balai-page .dayah-card-header h3 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

#detail-balai-page .dayah-card-body {
    padding: 20px;
}

#detail-balai-page .dayah-card-body.no-padding {
    padding: 0;
}

/* Header Enhancement */
#detail-balai-page .informasi-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #047857 100%);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow-hover);
}

#detail-balai-page .informasi-title {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

#detail-balai-page .informasi-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
}

/* Photo Gallery */
#detail-balai-page .photo-gallery-card .flexslider {
    border: none;
    border-radius: 0;
    overflow: hidden;
    background: #f8fafc;
}

#detail-balai-page .photo-gallery-card .flexslider .slides {
    margin: 0;
    padding: 0;
}

#detail-balai-page .photo-gallery-card .flexslider .slides li {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    min-height: 350px;
}

#detail-balai-page .photo-gallery-card .flexslider .slides li .img-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#detail-balai-page .photo-gallery-card img {
    border-radius: 0;
    object-fit: contain;
    width: 100%;
    max-height: 350px;
    height: auto;
    background: #f8fafc;
}

/* Pimpinan Photo */
#detail-balai-page .pimpinan-photo-wrapper {
    text-align: center;
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: var(--border-radius);
}

#detail-balai-page .pimpinan-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.25);
    transition: var(--transition);
}

#detail-balai-page .pimpinan-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(5, 150, 105, 0.35);
}

/* Table Styles - Biodata Pimpinan */
#detail-balai-page #pimpinan_dayah {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

#detail-balai-page #pimpinan_dayah tr {
    border-bottom: 1px solid #e5e7eb;
    transition: var(--transition);
}

#detail-balai-page #pimpinan_dayah tr:last-child {
    border-bottom: none;
}

#detail-balai-page #pimpinan_dayah tr:hover {
    background: linear-gradient(to right, #f0fdf4 0%, transparent 100%);
}

#detail-balai-page #pimpinan_dayah td {
    padding: 14px 0;
    border: none;
    font-size: 14px;
    line-height: 1.6;
}

#detail-balai-page #pimpinan_dayah td:first-child {
    font-weight: 600;
    color: #059669;
    width: 38%;
    padding-right: 16px;
}

#detail-balai-page #pimpinan_dayah td:last-child {
    color: #374151;
    font-weight: 500;
}

/* Profile Table */
#detail-balai-page .profile-table {
    width: 100%;
    border-collapse: collapse;
}

#detail-balai-page .profile-table tr {
    border-bottom: 1px solid #e5e7eb;
    transition: var(--transition);
}

#detail-balai-page .profile-table tr:last-child {
    border-bottom: none;
}

#detail-balai-page .profile-table tr:hover {
    background: linear-gradient(to right, #f0fdf4 0%, transparent 100%);
}

#detail-balai-page .profile-table td {
    padding: 12px 0;
    border: none;
    font-size: 14px;
    line-height: 1.6;
}

#detail-balai-page .profile-table td:first-child {
    font-weight: 600;
    color: #059669;
    width: 40%;
    padding-right: 16px;
}

#detail-balai-page .profile-table td:last-child {
    color: #374151;
}

/* DataTables Enhancement */
#detail-balai-page .dataTables_wrapper {
    padding: 0;
}

#detail-balai-page table.dataTable {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

#detail-balai-page table.dataTable thead {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

#detail-balai-page table.dataTable thead th {
    background: transparent;
    color: #047857;
    font-weight: 600;
    padding: 14px 16px;
    border: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #a7f3d0;
}

#detail-balai-page table.dataTable thead th:first-child {
    border-radius: var(--border-radius) 0 0 0;
}

#detail-balai-page table.dataTable thead th:last-child {
    border-radius: 0 var(--border-radius) 0 0;
}

#detail-balai-page table.dataTable tbody tr {
    background: white;
    border-bottom: 1px solid #f3f4f6;
    transition: var(--transition);
}

#detail-balai-page table.dataTable tbody tr:hover {
    background: linear-gradient(to right, #f0fdf4 0%, #ffffff 100%);
    border-left: 3px solid var(--primary-color);
}

#detail-balai-page table.dataTable tbody td {
    padding: 14px 16px;
    border: none;
    font-size: 14px;
    color: #374151;
}

/* Map Container */
#detail-balai-page .map-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

#detail-balai-page .map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#detail-balai-page .map-link-wrapper {
    text-align: center;
    padding: 15px;
    background: var(--soft-bg);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

#detail-balai-page .map-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

#detail-balai-page .map-link:hover {
    color: #047857;
    text-decoration: none;
    transform: translateX(5px);
}

/* Social Share Section */
#detail-balai-page .social-share-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

#detail-balai-page .share-header {
    margin-bottom: 20px;
    text-align: center;
}

#detail-balai-page .share-header h4 {
    color: #78350f;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

#detail-balai-page .share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

#detail-balai-page .share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 13px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#detail-balai-page .share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    color: white;
    text-decoration: none;
}

#detail-balai-page .share-btn i {
    font-size: 16px;
}

/* Soft Button Colors */
#detail-balai-page .facebook-btn {
    background: linear-gradient(135deg, #4267B2 0%, #3b5998 100%);
}

#detail-balai-page .facebook-btn:hover {
    background: linear-gradient(135deg, #5578c4 0%, #4267B2 100%);
}

#detail-balai-page .twitter-btn {
    background: linear-gradient(135deg, #1DA1F2 0%, #1991db 100%);
}

#detail-balai-page .twitter-btn:hover {
    background: linear-gradient(135deg, #4ab3f4 0%, #1DA1F2 100%);
}

#detail-balai-page .whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #20bd5a 100%);
}

#detail-balai-page .whatsapp-btn:hover {
    background: linear-gradient(135deg, #3fdc7a 0%, #25D366 100%);
}

#detail-balai-page .telegram-btn {
    background: linear-gradient(135deg, #0088cc 0%, #0077b3 100%);
}

#detail-balai-page .telegram-btn:hover {
    background: linear-gradient(135deg, #1a9edc 0%, #0088cc 100%);
}

#detail-balai-page .linkedin-btn {
    background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
}

#detail-balai-page .linkedin-btn:hover {
    background: linear-gradient(135deg, #2877d1 0%, #0A66C2 100%);
}

#detail-balai-page .copy-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

#detail-balai-page .copy-btn:hover {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
}

/* Responsive */
@media (max-width: 768px) {
    #detail-balai-page .informasi-title {
        font-size: 22px;
    }

    #detail-balai-page .share-buttons {
        flex-direction: column;
        width: 100%;
    }

    #detail-balai-page .share-btn {
        width: 100%;
        justify-content: center;
    }

    #detail-balai-page .dayah-card {
        margin-bottom: 16px;
    }
}

/* Copy Success Animation */
@keyframes detail-balai-successPulse {
    0% { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
    50% { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
    100% { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
}

#detail-balai-page .copy-btn.success {
    animation: detail-balai-successPulse 0.6s ease;
}
