/* SC CMS — wizard instalasi */
:root { --sc-primary: #4f46e5; --sc-dark: #1e1b4b; }
body { background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 60%, #ecfeff 100%); min-height: 100vh; font-size: .95rem; }
.btn-primary { --bs-btn-bg: var(--sc-primary); --bs-btn-border-color: var(--sc-primary); --bs-btn-hover-bg: #4338ca; --bs-btn-hover-border-color: #4338ca; --bs-btn-disabled-bg: #a5b4fc; --bs-btn-disabled-border-color: #a5b4fc; }
.btn-outline-primary { --bs-btn-color: var(--sc-primary); --bs-btn-border-color: var(--sc-primary); --bs-btn-hover-bg: var(--sc-primary); --bs-btn-hover-border-color: var(--sc-primary); }
.text-primary { color: var(--sc-primary) !important; }
.wiz { display: flex; max-width: 1040px; margin: 2.5rem auto; background: #fff; border-radius: 20px; box-shadow: 0 20px 60px rgba(30, 27, 75, .12); overflow: hidden; min-height: 620px; }
.wiz-side { width: 270px; flex-shrink: 0; background: var(--sc-dark); color: #c7d2fe; padding: 2rem 1.5rem; display: flex; flex-direction: column; }
.wiz-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 2rem; color: #fff; }
.wiz-brand strong { display: block; font-size: 1.15rem; }
.wiz-brand small { color: #a5b4fc; font-size: .75rem; }
.wiz-logo { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #6366f1, #06b6d4); display: grid; place-items: center; font-size: 1.25rem; color: #fff; }
.wiz-steps { list-style: none; padding: 0; margin: 0; flex: 1; }
.wiz-steps li { display: flex; align-items: center; gap: .75rem; padding: .55rem 0; position: relative; opacity: .65; }
.wiz-steps li .dot { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #4338ca; display: grid; place-items: center; font-size: .8rem; flex-shrink: 0; }
.wiz-steps li.active { opacity: 1; color: #fff; font-weight: 600; }
.wiz-steps li.active .dot { background: #6366f1; border-color: #6366f1; color: #fff; box-shadow: 0 0 0 4px rgba(99, 102, 241, .25); }
.wiz-steps li.done { opacity: 1; }
.wiz-steps li.done .dot { background: #10b981; border-color: #10b981; color: #fff; }
.wiz-foot { font-size: .8rem; color: #a5b4fc; }
.wiz-foot a { color: #fff; }
.wiz-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.wiz-progress { height: 4px; background: #eef2ff; }
.wiz-progress span { display: block; height: 100%; background: linear-gradient(90deg, #6366f1, #06b6d4); transition: width .4s; }
.wiz-body { padding: 2.5rem 3rem; flex: 1; display: flex; flex-direction: column; }
.wiz-body > form { flex: 1; display: flex; flex-direction: column; }
.wiz-title { font-size: 1.6rem; font-weight: 700; color: var(--sc-dark); display: flex; gap: .6rem; align-items: center; }
.wiz-lead { color: #64748b; margin-bottom: 1.5rem; }
.wiz-actions { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: auto; padding-top: 2rem; }
.wiz-list { list-style: none; padding: 0; }
.wiz-list li { padding: .35rem 0; color: #475569; }
.wiz-list i { width: 22px; color: var(--sc-primary); }
.choice { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.25rem; border: 2px solid #e2e8f0; border-radius: 14px; cursor: pointer; transition: .15s; }
.choice-badge { width: 38px; height: 38px; border-radius: 10px; background: #eef2ff; color: var(--sc-primary); display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.btn-check:checked + .choice, .btn-check:checked + .theme-card { border-color: var(--sc-primary); background: #f5f3ff; box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1.5rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; padding: .35rem 0; border-bottom: 1px dashed #e2e8f0; }
.check-list li i { margin-top: 3px; }
.check-list small { display: block; color: #64748b; font-size: .78rem; }
.check-ok i { color: #10b981; }
.check-warn i { color: #f59e0b; }
.check-error i { color: #ef4444; }
.check-error strong { color: #b91c1c; }
.permalink-opt { padding: .5rem .75rem .5rem 2.2rem; border: 1px solid #e2e8f0; border-radius: 10px; margin-bottom: .4rem; }
.permalink-opt code { display: block; font-size: .8rem; color: #6366f1; margin-top: .15rem; word-break: break-all; }
.pw-meter { height: 6px; background: #e2e8f0; border-radius: 6px; overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; transition: .25s; }
.theme-card { display: block; border: 2px solid #e2e8f0; border-radius: 14px; overflow: hidden; cursor: pointer; transition: .15s; }
.theme-card img, .theme-ph { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #f1f5f9; }
.theme-ph { display: grid; place-items: center; font-size: 2rem; color: #94a3b8; }
.task-list { list-style: none; padding: 0; }
.task-list li { display: flex; gap: .8rem; align-items: center; padding: .8rem 1rem; border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: .5rem; color: #64748b; }
.task-list li .ti { width: 22px; text-align: center; }
.task-list li.run { border-color: #a5b4fc; color: var(--sc-dark); background: #f5f3ff; }
.task-list li.ok { color: #065f46; }
.task-list li.ok .ti { color: #10b981; }
.task-list li.fail { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
.done-badge { width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, #10b981, #06b6d4); color: #fff; font-size: 2.2rem; display: grid; place-items: center; margin: 0 auto 1rem; box-shadow: 0 10px 30px rgba(16, 185, 129, .35); }
.summary { border: 1px solid #e2e8f0; border-radius: 14px; }
.summary > div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1.1rem; border-bottom: 1px solid #f1f5f9; }
.summary > div:last-child { border: 0; }
.summary span { color: #64748b; }
@media (max-width: 860px) {
    .wiz { flex-direction: column; margin: 0; border-radius: 0; min-height: 100vh; }
    .wiz-side { width: auto; padding: 1rem 1.25rem; }
    .wiz-brand { margin-bottom: .75rem; }
    .wiz-steps { display: flex; gap: .4rem; overflow-x: auto; }
    .wiz-steps li span:last-child, .wiz-foot { display: none; }
    .wiz-body { padding: 1.5rem 1.25rem; }
    .check-list { grid-template-columns: 1fr; }
}
