* { margin:0; padding:0; box-sizing:border-box; font-family:'Segoe UI',Roboto,sans-serif; }

:root {
  --primary:#2563EB; --primary-dark:#1D4ED8;
  --success:#16A34A; --warning:#F59E0B; --danger:#DC2626;
  --bg:#F8FAFC; --card:#FFF; --text:#1E293B; --text-light:#64748B; --border:#E2E8F0;
}

body { background:var(--bg); color:var(--text); }

/* LOGIN */
body.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  position: relative;
  overflow: hidden;
  background: #0F172A;
}

body.login-page::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg,
    #4F46E5 0deg,
    #06B6D4 90deg,
    #8B5CF6 180deg,
    #EC4899 270deg,
    #4F46E5 360deg
  );
  animation: auroraSpin 20s linear infinite;
  filter: blur(100px);
  opacity: 0.5;
}

@keyframes auroraSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

body.login-page::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.9) 70%);
  pointer-events: none;
}

.login-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 45px 40px;
  border-radius: 24px;
  width: 420px;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  text-align: center;
  color: #FFFFFF;
  animation: cardIn 0.8s ease-out;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.login-logo {
  font-size: 56px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.8));
}

.login-card h1 {
  color: #FFFFFF;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 4px;
  text-shadow: 0 4px 20px rgba(139, 92, 246, 0.6);
}

.login-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  margin-bottom: 28px;
}

.login-card label {
  display: block;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.login-card input,
.login-card select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 14px;
  color: #FFFFFF;
  transition: 0.2s;
}
.login-card input::placeholder { color: rgba(255,255,255,0.5); }
.login-card input:focus,
.login-card select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.3);
}
.login-card select option { color: #1E293B; background: #FFFFFF; }

.login-card .btn-primary {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #8B5CF6, #EC4899);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  cursor: pointer;
  margin-top: 22px;
  transition: 0.25s;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
}
.login-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.7);
}

.login-hint {
  margin-top: 22px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
}
.login-hint strong { color: #FFFFFF; display: block; margin-bottom: 6px; }
.login-hint code {
  background: rgba(139, 92, 246, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  color: #FFFFFF;
  font-weight: 600;
}

.login-card .alert-danger {
  background: rgba(220, 38, 38, 0.25);
  color: #FECACA;
  border: 1px solid rgba(220, 38, 38, 0.4);
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 13px;
}

/* LAYOUT */
.app-layout { display:flex; min-height:100vh; }
.sidebar { width:240px; background:#1E293B; color:#FFF; display:flex; flex-direction:column;
  padding:20px 0; position:fixed; height:100vh; }
.sidebar-logo { padding:0 20px 20px; font-size:20px; font-weight:700;
  border-bottom:1px solid #334155; margin-bottom:16px; }
.sidebar-logo span { color:#60A5FA; }
.sidebar-nav { flex:1; display:flex; flex-direction:column; gap:4px; padding:0 12px; }
.sidebar-nav a { display:flex; align-items:center; gap:10px; padding:11px 14px; color:#CBD5E1;
  text-decoration:none; border-radius:8px; font-size:14px; transition:0.2s; }
.sidebar-nav a:hover { background:#334155; color:#FFF; }
.sidebar-nav a.active { background:var(--primary); color:#FFF; }
.sidebar-footer { padding:12px 20px; border-top:1px solid #334155; font-size:12px; }

.main { flex:1; margin-left:240px; }
.topbar { background:#FFF; padding:16px 28px; display:flex; justify-content:space-between;
  align-items:center; border-bottom:1px solid var(--border); position:sticky; top:0; z-index:10; }
.topbar h2 { font-size:18px; }
.topbar-user { display:flex; align-items:center; gap:12px; font-size:14px; }
.avatar { width:38px; height:38px; border-radius:50%; background:var(--primary); color:#FFF;
  display:flex; align-items:center; justify-content:center; font-weight:600; }
.content { padding:28px; }

/* CARDS */
.card { background:#FFF; border-radius:12px; padding:20px; border:1px solid var(--border);
  box-shadow:0 1px 3px rgba(0,0,0,0.06); margin-bottom:20px; }
.card h3 { font-size:16px; margin-bottom:14px; }

.stats-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(180px,1fr));
  gap:16px; margin-bottom:24px; }
.stat-card { background:#FFF; border-radius:12px; padding:18px;
  border:1px solid var(--border); border-left:4px solid var(--primary); }
.stat-card .stat-value { font-size:28px; font-weight:700; }
.stat-card .stat-label { font-size:13px; color:var(--text-light); margin-top:4px; }
.stat-card.success { border-left-color:var(--success); }
.stat-card.warning { border-left-color:var(--warning); }
.stat-card.danger { border-left-color:var(--danger); }

.grid-2col { display:grid; grid-template-columns:2fr 1fr; gap:16px; }

/* BADGE */
.badge { display:inline-block; padding:3px 10px; border-radius:20px; font-size:12px; font-weight:600; }
.badge-success { background:#DCFCE7; color:#166534; }
.badge-warning { background:#FEF3C7; color:#92400E; }
.badge-danger { background:#FEE2E2; color:#991B1B; }
.badge-info { background:#DBEAFE; color:#1E40AF; }

/* TIMELINE */
.timeline { position:relative; padding-left:24px; margin-top:16px; }
.timeline::before { content:''; position:absolute; left:8px; top:6px; bottom:6px; width:2px; background:var(--border); }
.timeline-item { position:relative; margin-bottom:20px; }
.timeline-item::before { content:''; position:absolute; left:-22px; top:4px; width:14px; height:14px;
  border-radius:50%; background:var(--border); border:2px solid #FFF; }
.timeline-item.done::before { background:var(--success); }
.timeline-item.active::before { background:var(--warning); }
.timeline-item .tl-title { font-weight:600; font-size:14px; }
.timeline-item .tl-date { font-size:12px; color:var(--text-light); }

/* TABLE */
table { width:100%; border-collapse:collapse; }
th, td { padding:12px; text-align:left; font-size:13px; border-bottom:1px solid var(--border); }
th { background:#F0FFFF; font-weight:600; color:var(--text-light);
  text-transform:uppercase; font-size:11px; }

/* BUTTONS */
.btn { padding:9px 16px; border-radius:8px; border:none; font-size:13px; font-weight:600;
  cursor:pointer; text-decoration:none; display:inline-block; }
.btn-primary { background:var(--primary); color:#FFF; }
.btn-primary:hover { background:var(--primary-dark); }
.btn-outline { background:#87CEFA; border:1px solid var(--border); color:var(--text); }
.btn-outline:hover { background:#F1F5F9; }

/* FORM */
.form-group { margin-bottom:16px; }
.form-group label { display:block; font-size:13px; font-weight:600; margin-bottom:6px; }
.form-group input, .form-group textarea, .form-group select {
  width:100%; padding:10px 12px; border:1px solid var(--border); border-radius:8px;
  font-size:14px; font-family:inherit; }
.form-group textarea { resize:vertical; min-height:90px; }
.radio-group { display:flex; gap:20px; margin:8px 0; flex-wrap:wrap; }
.radio-group label { display:flex; align-items:center; gap:6px; font-weight:500; }

/* LIST ITEM */
.list-item { padding:14px; border:1px solid var(--border); border-radius:10px;
  margin-bottom:12px; background:#FFF; }
.list-item h4 { font-size:14px; margin-bottom:6px; }
.list-item .meta { font-size:12px; color:var(--text-light); margin-bottom:8px; }

/* NOTIFIKASI */
.notif-wrapper { position:relative; }
.notif-btn { background:none; border:none; cursor:pointer; font-size:20px; position:relative; }
.notif-count { position:absolute; top:-4px; right:-4px; background:var(--danger); color:#FFF;
  font-size:10px; padding:2px 6px; border-radius:10px; }
.notif-dropdown { position:absolute; right:0; top:35px; width:320px; background:#FFF;
  box-shadow:0 4px 12px rgba(0,0,0,0.15); border-radius:8px; z-index:100;
  max-height:400px; overflow-y:auto; }
.notif-header { padding:12px; border-bottom:1px solid var(--border); font-weight:bold; }
.notif-item { padding:12px; border-bottom:1px solid #F1F5F9; font-size:13px; }
.notif-title { font-weight:600; margin-bottom:4px; }
.notif-msg { color:var(--text-light); font-size:12px; }
.notif-empty { padding:16px; color:var(--text-light); font-size:13px; text-align:center; }

/* TOAST */
.toast { position:fixed; top:20px; right:20px; padding:14px 18px; border-radius:8px;
  background:#FFF; border-left:4px solid var(--primary); box-shadow:0 4px 12px rgba(0,0,0,0.15);
  font-size:13px; opacity:0; transform:translateX(100%); transition:0.3s; z-index:9999;
  max-width:300px; }
.toast.show { opacity:1; transform:translateX(0); }
.toast-success { border-left-color:var(--success); }
.toast-warning { border-left-color:var(--warning); }
.toast-danger { border-left-color:var(--danger); }

/* MOBILE */
@media (max-width:768px) {
  .sidebar { width:60px; }
  .sidebar-logo span, .sidebar-nav a span, .sidebar-footer { display:none; }
  .main { margin-left:60px; }
  .grid-2col { grid-template-columns:1fr; }
}

/* ============================================
   KALENDER AKADEMIK - PREMIUM
   ============================================ */
.kalender-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; padding: 14px 20px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-radius: 12px; border: 1px solid #BFDBFE;
}
.kalender-nav h4 {
  font-size: 18px; color: #1E40AF; font-weight: 700; margin: 0;
  letter-spacing: 0.3px;
}

.kalender-grid {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px; margin-bottom: 24px;
}
.kalender-header {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #FFFFFF; padding: 12px 0; text-align: center;
  font-weight: 700; font-size: 12px; text-transform: uppercase;
  letter-spacing: 1px; border-radius: 8px;
  box-shadow: 0 2px 4px rgba(37,99,235,0.2);
}
.kalender-cell {
  background: #FFFFFF; min-height: 105px; padding: 10px;
  border-radius: 8px; display: flex; flex-direction: column; gap: 4px;
  border: 1px solid #E2E8F0; transition: 0.2s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.kalender-cell:hover {
  box-shadow: 0 4px 12px rgba(37,99,235,0.12);
  transform: translateY(-2px);
  border-color: #BFDBFE;
}
.kalender-cell.empty {
  background: #F8FAFC; opacity: 0.6; border-style: dashed;
}
.kalender-cell.today {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  border: 2px solid #F59E0B;
  box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}
.kalender-cell.today .kalender-day {
  color: #B45309; font-weight: 800;
}

.kalender-day {
  font-size: 14px; font-weight: 700; color: #1E293B;
  margin-bottom: 6px; display: flex; justify-content: space-between;
}

.kalender-event {
  padding: 4px 8px; border-radius: 6px; font-size: 10px;
  font-weight: 600; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; cursor: pointer; line-height: 1.4;
  transition: 0.15s;
}
.kalender-event:hover {
  transform: translateX(3px); box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.kalender-more {
  font-size: 10px; color: #64748B; text-align: center;
  font-style: italic; font-weight: 600; margin-top: 4px;
}

.kalender-legend {
  display: flex; gap: 20px; padding: 14px 20px;
  background: linear-gradient(135deg, #F8FAFC, #F1F5F9);
  border-radius: 10px; flex-wrap: wrap; font-size: 12px;
  color: #334155; align-items: center; border: 1px solid #E2E8F0;
  font-weight: 500;
}
.kalender-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.kalender-legend .dot {
  display: inline-block; width: 12px; height: 12px;
  border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .kalender-header { font-size: 9px; padding: 8px 0; }
  .kalender-cell { min-height: 70px; padding: 5px; }
  .kalender-day { font-size: 11px; }
  .kalender-event { font-size: 8px; padding: 2px 4px; }
  .kalender-nav h4 { font-size: 14px; }
  .kalender-legend { gap: 10px; font-size: 10px; padding: 10px; }
}

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
}
.modal-box {
  background: white; border-radius: 12px; padding: 24px;
  width: 100%; max-width: 420px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  animation: modalIn 0.2s ease-out;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
.modal-box h3 { font-size: 16px; margin-bottom: 16px; color: var(--primary); }

//* ============================================
   PAGINATION
   ============================================ */
.pagination-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 16px 20px;
  background: #F8FAFC;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  flex-wrap: wrap;
}

.pagination-info {
  font-size: 13px;
  color: #475569;
  font-weight: 500;
}
.pagination-info strong {
  color: #2563EB;
  font-weight: 700;
}

.pagination-controls {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #1E293B;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  transition: all 0.15s ease;
  cursor: pointer;
  user-select: none;
}
.page-btn:hover {
  background: #EFF6FF;
  border-color: #2563EB;
  color: #2563EB;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15);
}
.page-btn.active {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
}
.page-btn.active:hover {
  background: #1D4ED8;
  transform: none;
}
.page-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  background: #F1F5F9;
}

.page-dots {
  color: #94A3B8;
  padding: 0 6px;
  font-weight: 700;
  user-select: none;
}

.pagination-jump {
  font-size: 13px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.pagination-jump select {
  padding: 8px 12px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: #FFFFFF;
  color: #1E293B;
  transition: 0.15s;
}
.pagination-jump select:hover {
  border-color: #2563EB;
}
.pagination-jump select:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ============ MOBILE ============ */
@media (max-width: 768px) {
  .pagination-wrapper {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 14px 12px;
  }
  .pagination-controls {
    justify-content: center;
    width: 100%;
  }
  .page-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    font-size: 12px;
  }
  .pagination-jump {
    width: 100%;
    justify-content: center;
  }
}

/* ============ CHART GRID ============ */
.chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.chart-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  transition: 0.2s;
  position: relative;
}
.chart-box:hover {
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
  border-color: #BFDBFE;
}
.chart-box h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #F1F5F9;
}
.chart-box canvas {
  max-height: 300px;
}

.chart-full {
  grid-column: 1 / -1;
}

/* Mobile */
@media (max-width: 768px) {
  .chart-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .chart-box canvas {
    max-height: 240px;
  }
}

/* ============================================
   NOTIFIKASI BELL
   ============================================ */
.notif-wrapper {
  position: relative;
  display: inline-block;
}

.notif-bell {
  position: relative;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: 0.2s;
  line-height: 1;
}
.notif-bell:hover {
  background: #F1F5F9;
  transform: scale(1.1);
}

.notif-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #DC2626;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  animation: badgePulse 2s infinite;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.15); }
}

/* ============================================
   NOTIFIKASI DROPDOWN
   ============================================ */
.notif-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  max-width: calc(100vw - 20px);
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid #E2E8F0;
  z-index: 1000;
  overflow: hidden;
  animation: dropdownIn 0.2s ease-out;
}
@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #F1F5F9;
  font-weight: 700;
  color: #1E293B;
  font-size: 14px;
}
.notif-mark-all {
  background: none;
  border: none;
  color: #2563EB;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: 0.15s;
}
.notif-mark-all:hover {
  background: #EFF6FF;
}

.notif-list {
  max-height: 400px;
  overflow-y: auto;
}

.notif-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #F8FAFC;
  cursor: pointer;
  transition: 0.15s;
  position: relative;
}
.notif-item:hover {
  background: #F8FAFC;
}
.notif-item.unread {
  background: #EFF6FF;
}
.notif-item.unread::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563EB;
}

.notif-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: #EFF6FF;
}
.notif-icon.info    { background: #DBEAFE; }
.notif-icon.success { background: #DCFCE7; }
.notif-icon.warning { background: #FEF3C7; }
.notif-icon.danger  { background: #FEE2E2; }

.notif-content { flex: 1; min-width: 0; }
.notif-title {
  font-weight: 600;
  font-size: 13px;
  color: #1E293B;
  margin-bottom: 3px;
  line-height: 1.3;
}
.notif-message {
  font-size: 12px;
  color: #64748B;
  line-height: 1.4;
  margin-bottom: 4px;
  word-break: break-word;
}
.notif-time {
  font-size: 11px;
  color: #94A3B8;
}

.notif-delete {
  background: none;
  border: none;
  color: #CBD5E1;
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  opacity: 0;
  transition: 0.15s;
}
.notif-item:hover .notif-delete {
  opacity: 1;
}
.notif-delete:hover {
  color: #DC2626;
}

.notif-empty {
  padding: 40px 20px;
  text-align: center;
  color: #94A3B8;
  font-size: 13px;
}

.notif-footer {
  padding: 12px 16px;
  border-top: 1px solid #F1F5F9;
  text-align: center;
  background: #F8FAFC;
}
.notif-footer a {
  color: #2563EB;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.notif-footer a:hover {
  text-decoration: underline;
}

/* ============================================
   HALAMAN NOTIFIKASI LENGKAP
   ============================================ */
.notif-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.filter-chip {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: #64748B;
  background: #F1F5F9;
  transition: 0.15s;
}
.filter-chip:hover {
  background: #E2E8F0;
  color: #1E293B;
}
.filter-chip.active {
  background: #2563EB;
  color: #FFFFFF;
}

.notif-item-full {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  margin-bottom: 10px;
  background: #FFFFFF;
  transition: 0.15s;
}
.notif-item-full:hover {
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}
.notif-item-full.unread {
  background: #EFF6FF;
  border-color: #BFDBFE;
  border-left: 4px solid #2563EB;
}
.notif-item-full .notif-content { flex: 1; }
.notif-item-full .notif-title { font-size: 14px; }
.notif-item-full .notif-message { font-size: 13px; }
.notif-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
}
.notif-link {
  color: #2563EB;
  text-decoration: none;
  font-weight: 600;
}
.notif-link:hover { text-decoration: underline; }

.notif-actions {
  display: flex;
  gap: 4px;
  align-items: flex-start;
}
.btn-icon {
  width: 32px;
  height: 32px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.15s;
}
.btn-icon:hover {
  background: #EFF6FF;
  border-color: #2563EB;
}
.btn-icon.danger:hover {
  background: #FEE2E2;
  border-color: #DC2626;
}

.empty-state {
  padding: 60px 20px;
  text-align: center;
  color: #94A3B8;
}
.empty-icon {
  font-size: 60px;
  margin-bottom: 12px;
  opacity: 0.5;
}

/* ============================================
   TOAST NOTIFIKASI (pojok kanan bawah)
   ============================================ */
.notif-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-left: 4px solid #2563EB;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 360px;
  z-index: 9999;
  opacity: 0;
  transform: translateX(120%);
  transition: 0.3s ease-out;
}
.notif-toast.show {
  opacity: 1;
  transform: translateX(0);
}
.notif-toast.info    { border-left-color: #2563EB; }
.notif-toast.success { border-left-color: #16A34A; }
.notif-toast.warning { border-left-color: #F59E0B; }
.notif-toast.danger  { border-left-color: #DC2626; }

.notif-toast-icon { font-size: 24px; }
.notif-toast-content { flex: 1; }
.notif-toast-content strong {
  display: block;
  font-size: 13px;
  color: #1E293B;
  margin-bottom: 4px;
}
.notif-toast-content p {
  font-size: 12px;
  color: #64748B;
  line-height: 1.4;
}
.notif-toast-close {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.notif-toast-close:hover { color: #1E293B; }

/* ============ MOBILE ============ */
@media (max-width: 480px) {
  .notif-dropdown {
    width: calc(100vw - 24px);
    right: -60px;
  }
  .notif-toast {
    left: 12px;
    right: 12px;
    max-width: none;
  }
}