/* Sertifikat modul Finansiologi: halaman verifikasi publik dan tampilan sertifikat (mockup pemilik 19 Okt 2026). Satuan cqw mengikuti lebar kotak. */
.sv-wadah { max-width: 1040px; }
.sv-pesan { padding: 28px; text-align: center; color: var(--teks-2, #4F5B67); }
.sv-kartu { padding: 22px; margin-bottom: 22px; }
.sv-status { width: fit-content; display: flex; align-items: center; gap: 6px; font-weight: 700; border-radius: 999px; padding: 4px 12px; font-size: .9rem; }
.sv-status.sah { background: #E6F4EC; color: #1F6B42; }
.sv-status.dicabut { background: #FBE9E7; color: #8A2A1C; }
.sv-data { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; margin: 14px 0 0; }
.sv-data dt { color: var(--teks-2, #4F5B67); }
.sv-data dd { margin: 0; font-weight: 600; color: var(--navy, #1A3A5C); overflow-wrap: anywhere; }
.sv-catatan { font-size: .85rem; color: var(--teks-2, #4F5B67); margin: 12px 0 0; }
.sv-aksi { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.sv-aksi .tombol[hidden] { display: none; }
.tombol-linkedin { background: #0A66C2; border-color: #0A66C2; color: #fff; }
.tombol-linkedin:hover { background: #084f96; color: #fff; }

.sert-box { container-type: inline-size; background: #fff; border-radius: 8px; box-shadow: 0 6px 24px rgba(26,58,92,.18); }
.sert { position: relative; width: 100%; aspect-ratio: 297/210; padding: 3cqw 4cqw 2.4cqw; border: .5cqw solid #1A3A5C; border-radius: 8px; overflow: hidden; background: #fff; text-align: center; display: flex; flex-direction: column; color: #2D2D2D; line-height: 1.5; }
.sert::before { content: ""; position: absolute; inset: 1.4cqw; border: .15cqw solid #D0DFF0; pointer-events: none; }
.sert::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.2cqw; background: linear-gradient(90deg, #1E90E6, #1A3A5C); }
.sert > * { position: relative; }
.sert .atas { flex: none; }
.sert .logo { width: 17cqw; height: auto; display: block; margin: .8cqw auto 0; }
.sert .tipe { font-size: 1.1cqw; letter-spacing: .34em; color: #1570C8; font-weight: 700; margin-top: 1.4cqw; }
.sert .judul { font-size: 2.9cqw; color: #1A3A5C; font-weight: 800; margin: .2cqw 0 0; letter-spacing: .01em; }
.sert .tengah { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 0; }
.sert .kecil { font-size: 1.25cqw; color: #4F5B67; }
.sert .nama { font-size: 4cqw; font-weight: 800; color: #1A3A5C; margin: 1cqw 0 1cqw; line-height: 1.1; overflow-wrap: anywhere; max-width: 80cqw; }
.sert .garis { width: 26cqw; height: .25cqw; background: #F5A623; margin: 0 auto 1.3cqw; }
.sert .modul { font-size: 2.1cqw; font-weight: 800; color: #1570C8; margin: 1cqw auto .5cqw; max-width: 72cqw; line-height: 1.2; }
.sert .kelas { font-size: 1.25cqw; color: #4F5B67; }
.sert .segel { width: 9.4cqw; height: 9.4cqw; border-radius: 50%; border: .4cqw solid #2E8B57; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #2E8B57; background: #fff; margin: 1.6cqw auto 1.4cqw; }
.sert .segel strong { font-size: 2.5cqw; line-height: 1; font-weight: 800; }
.sert .segel span { font-size: .8cqw; letter-spacing: .16em; font-weight: 700; margin-top: .25cqw; }
.sert .hasil { max-width: 66cqw; font-size: 1.05cqw; color: #2D2D2D; line-height: 1.5; }
.sert .hasil b { display: block; font-size: .85cqw; letter-spacing: .22em; color: #4F5B67; margin-bottom: .5cqw; }
.sert .hasil div { margin: .25cqw 0; }
.sert .bawah { flex: none; display: flex; justify-content: center; align-items: flex-end; gap: 7cqw; margin-top: 1.6cqw; }
.sert .ttd { text-align: center; font-size: 1cqw; color: #4F5B67; width: 32cqw; }
.sert .ttd img { display: block; margin: 0 auto; height: 5.4cqw; width: auto; mix-blend-mode: multiply; }
.sert .ttd .gar { border-top: .12cqw solid #1A3A5C; width: 28cqw; margin: .1cqw auto .3cqw; }
.sert .ttd strong { color: #1A3A5C; font-size: 1.15cqw; white-space: nowrap; }
.sert .verif { display: flex; align-items: flex-end; gap: 1.6cqw; text-align: left; font-size: .9cqw; color: #4F5B67; line-height: 1.5; width: 22cqw; }
.sert .verif b { color: #1A3A5C; }
.sert .verif .qr { flex: none; width: 7.2cqw; height: 7.2cqw; border: .12cqw solid #D0DFF0; padding: .3cqw; display: block; background: #fff; }
.sert .verif .qr svg { width: 100%; height: 100%; display: block; }
.sert .catatan { flex: none; margin-top: 1.4cqw; font-size: .75cqw; color: #7a8794; text-align: center; }
.sert.dicabut::before { border-color: #C0392B; }
.sert .stempel { display: none; }
.sert.dicabut .stempel { display: block; position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%) rotate(-12deg); font-size: 6cqw; font-weight: 800; color: rgba(192,57,43,.45); border: .5cqw solid rgba(192,57,43,.45); padding: .5cqw 2cqw; letter-spacing: .1em; z-index: 3; white-space: nowrap; }

@page { size: A4 landscape; margin: 0; }
@media print {
  body * { visibility: hidden; }
  .sert-box, .sert-box * { visibility: visible; }
  .sert-box { position: absolute; left: 0; top: 0; width: 100vw; box-shadow: none; border-radius: 0; }
  .sert { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@media (max-width: 560px) { .sv-data { grid-template-columns: 1fr; gap: 0; } .sv-data dd { margin-bottom: 8px; } }
html[data-tema="gelap"] .sv-status.sah { background: #123B27; color: #8BE8B4; }
html[data-tema="gelap"] .sv-status.dicabut { background: #3E1B16; color: #FFB4A8; }
.sert .pita { position: absolute; top: 2.8cqw; left: -4.5cqw; transform: rotate(-35deg); background: #F5A623; color: #fff; font-weight: 800; font-size: 1.1cqw; letter-spacing: .2em; padding: .4cqw 6cqw; z-index: 2; }
.sv-uji { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #FFF1D6; color: #5A3800; font-size: .92rem; }
html[data-tema="gelap"] .sv-uji { background: #3E2D0B; color: #FFE4B0; }
