/* ==========================================================================
   DETAIL PROGRAM STYLES - SAUNG QUR'AN TERPADU
   ========================================================================== */

/* BAR KONTROL ADMIN (Khusus Pemegang Website) */
.admin-control-bar {
    background: #0f172a;
    color: #f8fafc;
    padding: 0.75rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-size: 0.9rem;
}

.admin-badge {
    background: #1e293b;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    color: #38bdf8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-admin {
    background: #D95D39;
    color: #ffffff;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-admin:hover {
    background: #c04b28;
    transform: translateY(-1px);
}

.btn-admin-save {
    background: #10b981;
    color: #ffffff;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: none;
    align-items: center;
    gap: 8px;
}

.btn-admin-save:hover {
    background: #059669;
    transform: translateY(-1px);
}

/* Tampilan Saat Mode Edit Aktif */
.editable-active {
    outline: 2px dashed #D95D39 !important;
    background-color: #fff7ed !important;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

/* NAVIGATION BACK LINK */
.back-nav-container {
    margin-bottom: 2rem;
}

.btn-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0D5C3A;
    text-decoration: none;
    font-weight: 700;
    background: #e6f4ed;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-back-link:hover {
    background: #0D5C3A;
    color: #ffffff;
    transform: translateX(-4px);
}

/* DETAIL CONTENT LAYOUT */
.detail-main-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #0D5C3A, #D95D39);
}

/* SECTION ITEM ENHANCEMENTS */
.detail-section-item {
    margin-bottom: 2.5rem;
}

.detail-section-item:last-child {
    margin-bottom: 0;
}

.detail-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.detail-section-header i {
    font-size: 1.4rem;
    color: #0D5C3A;
    background: #e6f4ed;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.detail-section-header h3 {
    font-size: 1.4rem;
    color: #1e293b;
    font-weight: 700;
}

.detail-body-text {
    line-height: 1.8;
    color: #475569;
    font-size: 1.05rem;
}

.detail-body-text p {
    margin-bottom: 1rem;
}

.detail-divider {
    border: none;
    height: 1px;
    background: linear-gradient(to right, #e2e8f0, transparent);
    margin: 2rem 0;
}

/* HIGHLIGHT BOX IN CONTENT */
.info-highlight-box {
    background: #f8fafc;
    border-left: 4px solid #D95D39;
    padding: 1.2rem 1.5rem;
    border-radius: 0 12px 12px 0;
    margin-top: 1rem;
}

/* CALL TO ACTION (CTA) WHATSAPP BOX */
.cta-wa-box {
    background: linear-gradient(135deg, #0D5C3A 0%, #083B25 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 3.5rem;
    box-shadow: 0 20px 40px rgba(13, 92, 58, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-wa-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.cta-wa-box h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.cta-wa-box p {
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto 1.8rem auto;
    font-size: 1.05rem;
    line-height: 1.6;
}

.btn-wa-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #25D366;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-wa-register:hover {
    background-color: #1eb956;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.btn-wa-register i {
    font-size: 1.6rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .admin-control-bar {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .detail-card {
        padding: 1.5rem;
    }

    .cta-wa-box {
        padding: 2rem 1.2rem;
    }

    .cta-wa-box h2 {
        font-size: 1.5rem;
    }

    .btn-wa-register {
        width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
}