/* =======================================================
   DIPON AUTO-BLOGGER: FRONTEND STYLES (MODUL AJAR)
   ======================================================= */

/* 1. KOTAK INFO / GLOSARIUM (Tahukah Kamu?) */
.dipon-info-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 5px solid #0284c7;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.dipon-info-box h4 {
    margin-top: 0;
    color: #0369a1;
    font-weight: 700;
    margin-bottom: 10px;
}
.dipon-info-box p:last-child {
    margin-bottom: 0;
}

/* 2. INFOGRAFIS HTML (Timeline / Poin Penting) */
.dipon-infografis {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}
.dipon-infografis-title {
    text-align: center;
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.dipon-infografis-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #6366f1;
}
.dipon-infografis-item strong {
    color: #4338ca;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* 3. LKPD (Lembar Kerja Peserta Didik) */
.dipon-lkpd {
    background: #ffffff;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    position: relative;
    color: #000;
}
.dipon-lkpd::before {
    content: "✂️ Gunting / Cetak Area Ini";
    position: absolute;
    top: -12px;
    left: 20px;
    background: #fff;
    padding: 0 10px;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}
.dipon-lkpd-header {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #000;
    padding-bottom: 15px;
}
.dipon-lkpd-header h3 {
    margin: 0 0 5px 0;
    color: #000;
    font-weight: bold;
    font-size: 1.5rem;
}
.dipon-lkpd-identitas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}
.dipon-lkpd-identitas div {
    display: flex;
    align-items: flex-end;
}
.dipon-lkpd-identitas label {
    width: 80px;
    font-weight: bold;
    color: #000;
}
.dipon-lkpd-identitas span.garis {
    flex-grow: 1;
    border-bottom: 1px dotted #000;
    height: 20px;
}
.dipon-lkpd-soal {
    margin-bottom: 20px;
}
.dipon-lkpd-soal p {
    margin-bottom: 10px;
    font-weight: 600;
}
.dipon-lkpd-jawaban {
    width: 100%;
    height: 100px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
}

/* 4. KEAJAIBAN PRINT (Hanya Cetak LKPD) */
@media print {
    /* Sembunyikan SEMUA elemen di website (Header, Sidebar, Footer, Artikel) */
    body * {
        visibility: hidden;
    }
    /* Tampilkan HANYA kotak LKPD dan isinya */
    .dipon-lkpd, .dipon-lkpd * {
        visibility: visible;
    }
    /* Posisikan LKPD di pojok kiri atas kertas A4 */
    .dipon-lkpd {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        border: none; /* Hilangkan garis putus-putus saat diprint */
        padding: 0;
        margin: 0;
    }
    .dipon-lkpd::before {
        display: none; /* Hilangkan ikon gunting */
    }
    .dipon-lkpd-jawaban {
        background: transparent;
        border: 1px solid #000;
    }
}