/* =========================================================
   AKT extras — notification panel only (does not override theme)
   ========================================================= */

.akt-notif-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 2;
}

.akt-notif-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  z-index: 10040;
}

.akt-notif-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(420px, 100%);
  background: #fff;
  z-index: 10041;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
}

.akt-notif-panel__header,
.akt-notif-panel__actions,
.akt-notif-panel__footer {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
}

.akt-notif-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.akt-notif-panel__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.akt-notif-panel__list {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  -webkit-overflow-scrolling: touch;
}

.akt-notif-item {
  border: 1px solid #eef2f7;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
  background: #fff;
}

.akt-notif-item.is-unread {
  border-color: rgba(222, 98, 39, 0.35);
  background: #fff7f2;
}

.akt-notif-item__top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.akt-notif-type {
  font-size: 11px;
  color: #64748b;
}

.akt-notif-status {
  font-size: 11px;
  font-weight: 700;
}

.akt-notif-status.unread {
  color: var(--theme-color, #DE6227);
}

.akt-notif-status.read {
  color: #94a3b8;
}

.akt-notif-item__title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px;
}

.akt-notif-item__body {
  font-size: 13px;
  color: #475569;
  margin: 0 0 8px;
}

.akt-notif-item__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 8px;
}

.akt-notif-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.akt-icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #f1f5f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.akt-empty-state {
  text-align: center;
  padding: 28px 16px;
  border: 1px dashed #e2e8f0;
  border-radius: 16px;
  background: #fff;
}

.akt-empty-state i {
  font-size: 2rem;
  color: #cbd5e1;
  margin-bottom: 8px;
}

/* Oil status cards (account page section only) */
.akt-oil-section {
  margin-top: 8px;
}

.akt-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
}

.akt-oil-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .akt-oil-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.akt-oil-card {
  border-radius: 16px;
  border: 1px solid #eef2f7;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  padding: 14px;
}

.akt-oil-card.status-green {
  border-top: 4px solid #16a34a;
}

.akt-oil-card.status-orange {
  border-top: 4px solid #f59e0b;
}

.akt-oil-card.status-red {
  border-top: 4px solid #dc2626;
}

.akt-oil-card.status-gray {
  border-top: 4px solid #94a3b8;
}

.akt-oil-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.akt-oil-meta > div {
  background: #f8fafc;
  border-radius: 12px;
  padding: 8px 10px;
}

.akt-oil-meta span {
  display: block;
  font-size: 11px;
  color: #64748b;
}

.akt-oil-meta strong {
  font-size: 13px;
  color: #0f172a;
}

.akt-oil-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.akt-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}

.akt-status-badge.green {
  background: #16a34a;
}

.akt-status-badge.orange {
  background: #f59e0b;
  color: #111;
}

.akt-status-badge.red {
  background: #dc2626;
}

.akt-status-badge.gray {
  background: #94a3b8;
}

.akt-status-badge.lg {
  font-size: 13px;
  padding: 8px 14px;
}

.akt-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10045;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
}

@media (min-width: 768px) {
  .akt-modal-overlay {
    align-items: center;
  }
}

.akt-modal {
  width: min(480px, 100%);
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.akt-modal__header,
.akt-modal__footer {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
}

.akt-modal__footer {
  border-bottom: 0;
  border-top: 1px solid #f1f5f9;
}

.akt-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.akt-modal__body {
  padding: 16px;
  max-height: 70vh;
  overflow: auto;
}

.akt-detail-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
}

.akt-detail-list span {
  color: #64748b;
}
