/* Portal AKADEMIK — mengikuti tampilan beranda & halaman masuk SI-PIKET */
.sandi-wadah { position: relative; display: block }
.sandi-wadah input { padding-right: 52px !important }
.mata { position: absolute; right: 4px; top: 4px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: #A9A3D9; cursor: pointer; border-radius: 12px }
.mata:hover { color: #fff }

.p-kepala { position: relative; overflow: hidden; background: var(--malam); color: #fff; padding: 26px max(20px, calc((100% - 1180px) / 2)) 56px }
.p-kepala .wm { position: absolute; right: -140px; top: -110px; width: 440px; height: 440px; object-fit: contain; opacity: .12; pointer-events: none }
.p-kepala .titik-titik { position: absolute; inset: 0; background-image: radial-gradient(#3A2D8C 1.2px, transparent 1.2px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); opacity: .7; pointer-events: none }
.p-dalam { position: relative; max-width: 1180px; margin: 0 auto }
.p-baris { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap }
.p-sapa { display: flex; gap: 12px; align-items: flex-start }
.p-sapa img { width: 44px; height: 44px; object-fit: contain; flex: none; margin-top: 2px }
.p-sapa p { margin: 0; color: var(--lembut); font-size: 13px; font-weight: 600 }
.p-sapa h1 { color: #fff; font: 700 clamp(19px, 2.6vw, 26px)/1.2 var(--display); margin: 2px 0 8px }
.p-tanggal { font-size: 12px; color: #ECE9FA; font-weight: 600 }
.p-kanan { display: grid; justify-items: end; gap: 12px }
.p-jam { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; padding: 10px 20px; text-align: right }
.p-jam span { display: block; font-size: 11px; font-weight: 800; color: #7FE3B3; letter-spacing: .04em }
.p-jam b { font: 700 clamp(22px, 3vw, 30px)/1.1 var(--display); letter-spacing: .03em; font-variant-numeric: tabular-nums }
.p-kanan .tombol { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff }
.p-kanan .tombol:hover { background: rgba(255, 255, 255, .16) }
.p-kanan .tombol.keluar { color: #FFB3B3 }

.p-utama { background: var(--bg); border-radius: 32px 32px 0 0; margin-top: -30px; position: relative; padding: 30px max(20px, calc((100% - 1180px) / 2)) 30px; min-height: 50vh }
.p-utama h2 { font-size: 17px }
.p-layanan { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)) }
.p-tile { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 18px; border-radius: 24px; background: var(--kertas); border: 1px solid #EEEBF8; color: var(--ink); text-decoration: none; box-shadow: var(--bayang); transition: transform .15s, box-shadow .15s }
.p-tile:hover { transform: translateY(-3px); box-shadow: var(--bayang2) }
.p-tile .bulat { grid-row: span 3; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--w, #27166B); box-shadow: 0 0 0 4px #fff, 0 6px 16px rgba(39, 22, 107, .18) }
.p-tile .bulat svg { width: 28px; height: 28px }
.p-tile b { font: 700 15px var(--display); letter-spacing: .02em }
.p-tile .sub { font-size: 12.5px; font-weight: 700; color: var(--redup) }
.p-tile .ket { grid-column: 1 / -1; font-size: 13px; color: var(--redup); margin: 10px 0 0 }
.p-tile .kaki { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 10px }
.p-tile .buka { font: 700 11.5px var(--display); color: var(--malam); background: var(--koral); padding: 7px 14px; border-radius: 12px }
.p-tile.segera { box-shadow: none; background: transparent; border: 1.5px dashed #D8D2F0; cursor: default }
.p-tile.segera:hover { transform: none }
.p-tile.segera .bulat { background: #D8D2F0; color: #fff; box-shadow: none }
.p-tile.segera b { color: var(--redup) }
.lencana.segera { background: #FFE4E4; color: var(--aksen) }
.p-kaki { text-align: center; color: var(--redup); font-size: 12.5px; padding: 18px 16px 34px; background: var(--bg) }

#p-kelola { margin-top: 36px }
.p-tabel-cari { max-width: 280px }
.status-akun { font-size: 12px; font-weight: 700 }
@media (max-width: 640px) {
  .p-kanan { justify-items: start; width: 100% }
  .p-jam { text-align: left }
}
@media (prefers-reduced-motion: reduce) { .p-tile { transition: none } }
