/* ===== HALAMAN CHECKLIST PRAKTIK ===== */
.practice-body {
    background: var(--beige);
    min-height: 100vh;
}

.practice-header {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    color: #fff;
    padding: 24px 0 30px;
    border-radius: 0 0 24px 24px;
    margin-bottom: 30px;
}
.practice-header h1 {
    font-size: 1.8rem;
    margin-top: 10px;
}
.practice-header p {
    opacity: 0.9;
    font-size: 0.95rem;
}
.practice-back {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
}

.practice-main {
    padding: 0 20px 60px;
    max-width: 780px;
}

/* Info peserta */
.practice-info {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}
.practice-info strong {
    color: var(--green-dark);
}
.practice-info input {
    flex: 1;
    min-width: 150px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 2px solid #e3ece6;
    font-size: 1rem;
    font-family: inherit;
}
.practice-info input:focus {
    outline: none;
    border-color: var(--green);
}

/* Progress */
.practice-progress {
    margin-bottom: 18px;
}
.practice-progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-bottom: 8px;
}
.practice-progress-bar {
    height: 10px;
    background: #e3ece6;
    border-radius: 6px;
    overflow: hidden;
}
.practice-progress-bar > div {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--green), var(--gold));
    transition: width 0.3s;
}

/* Checklist */
.practice-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}
.practice-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    transition: background 0.15s;
}
.practice-item label {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    cursor: pointer;
    font-size: 1.05rem;
}
.practice-item input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: var(--green);
    cursor: pointer;
    flex-shrink: 0;
}
.practice-item.done {
    background: var(--green-soft);
}
.practice-item.done span {
    text-decoration: line-through;
    opacity: 0.7;
}

/* Aksi */
.practice-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.practice-actions button,
.practice-actions a {
    min-height: 44px;
}

/* Catatan */
.practice-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-soft);
    font-style: italic;
    padding: 0 10px;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 600px) {
    .practice-info {
        flex-direction: column;
        align-items: stretch;
    }
    .practice-info strong {
        margin-bottom: 4px;
    }
    .practice-actions {
        flex-direction: column;
    }
    .practice-actions button,
    .practice-actions a {
        width: 100%;
        text-align: center;
    }
}

/* ===== MODE CETAK ===== */
@media print {
    .practice-header,
    .practice-back,
    .practice-info button,
    .practice-actions,
    .practice-note,
    .progress-fill {
        display: none !important;
    }
    .practice-body {
        background: #fff;
    }
    .practice-header {
        background: #fff;
        color: #000;
        border-bottom: 2px solid #000;
    }
    .practice-item {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
    .practice-item.done {
        background: #f0f0f0;
    }
}