/* FKG Dosen Popup — Frontend CSS */
#fkg-dosen-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,0.55);
    align-items: center;
    justify-content: center;
    padding: 16px;
}
#fkg-dosen-overlay.fkg-aktif {
    display: flex;
}
#fkg-dosen-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 580px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    animation: fkgIn 0.22s ease;
}
@keyframes fkgIn {
    from { opacity:0; transform:translateY(16px) scale(0.97); }
    to   { opacity:1; transform:translateY(0) scale(1); }
}
.fkg-modal-header {
    background: #6d28d9;
    padding: 22px 20px 18px;
    border-radius: 16px 16px 0 0;
    display: flex;
    gap: 14px;
    align-items: center;
}
.fkg-modal-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.35);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}
.fkg-modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fkg-modal-info { flex: 1; min-width: 0; }
.fkg-modal-nama {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px;
    line-height: 1.3;
}
.fkg-modal-jabatan {
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    margin: 0 0 7px;
}
.fkg-modal-badge {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.04em;
}
#fkg-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.18);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
#fkg-close-btn:hover { background: rgba(255,255,255,0.32); }
.fkg-modal-body { padding: 20px 22px 24px; }
.fkg-popup-section { margin-bottom: 18px; }
.fkg-popup-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6d28d9;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.fkg-popup-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ede9fe;
}
.fkg-popup-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.fkg-popup-list li {
    font-size: 13.5px;
    color: #374151;
    padding: 5px 0 5px 16px;
    position: relative;
    line-height: 1.5;
    border-bottom: 1px solid #f5f3ff;
}
.fkg-popup-list li:last-child { border-bottom: none; }
.fkg-popup-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #a78bfa;
    font-size: 11px;
    top: 7px;
}
.fkg-popup-email {
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.fkg-popup-email a { color: #6d28d9; text-decoration: none; }
.fkg-popup-email a:hover { text-decoration: underline; }
[data-dosen-id] { cursor: pointer !important; }
