/* =========================================================
   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;
}

/* ===== Shop order / cart customer UI ===== */
.akt-order-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.akt-order-badge--pending { background: #fff7ed; color: #c2410c; }
.akt-order-badge--progress { background: #eff6ff; color: #1d4ed8; }
.akt-order-badge--ship { background: #ecfeff; color: #0e7490; }
.akt-order-badge--done { background: #ecfdf5; color: #047857; }
.akt-order-badge--cancel { background: #fef2f2; color: #b91c1c; }

.akt-order-summary,
.akt-order-items,
.akt-order-card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.akt-order-meta {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  background: #f8fafc;
  border-radius: 12px;
  height: 100%;
}
.akt-order-meta i { font-size: 18px; margin-top: 2px; }
.akt-order-meta span { display: block; color: #64748b; font-size: 12px; }
.akt-order-meta strong { display: block; font-size: 14px; }

.akt-order-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}
.akt-order-item:last-child { border-bottom: 0; }
.akt-order-item__img,
.akt-order-card__media {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.akt-order-item__img img,
.akt-order-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.akt-order-item__placeholder {
  color: #94a3b8;
  font-size: 22px;
}
.akt-order-item__body { flex: 1; min-width: 0; }
.akt-order-item__body h6 { font-size: 14px; font-weight: 700; }
.akt-order-item__total {
  font-weight: 800;
  color: var(--theme-color, #DE6227);
  white-space: nowrap;
  text-align: left;
}
.akt-order-item__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.akt-order-totals {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}
.akt-order-totals > div {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 14px;
}
.akt-order-totals__grand {
  margin-top: 6px;
  font-size: 16px;
  color: var(--theme-color, #DE6227);
}

.akt-order-card {
  display: flex;
  gap: 14px;
  align-items: center;
}
.akt-order-card__body { flex: 1; min-width: 0; }

.akt-order-timeline { position: relative; padding-right: 18px; }
.akt-order-timeline__item {
  position: relative;
  padding: 0 0 16px 0;
  padding-right: 18px;
}
.akt-order-timeline__item::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: -8px;
  right: 4px;
  width: 2px;
  background: #e2e8f0;
}
.akt-order-timeline__item:last-child::before { display: none; }
.akt-order-timeline__dot {
  position: absolute;
  top: 6px;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--theme-color, #DE6227);
  box-shadow: 0 0 0 4px rgba(222, 98, 39, 0.15);
}

@media (max-width: 575px) {
  .akt-order-item { align-items: flex-start; }
  .akt-order-item__side { align-items: flex-start; }
}

.akt-header-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
}
.akt-header-icon-link:hover { color: var(--theme-color, #DE6227); }

.akt-policy-list { display: grid; gap: 12px; }
.akt-policy-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.akt-policy-item i { font-size: 20px; margin-top: 2px; }
.akt-policy-item p { margin: 0; line-height: 1.7; color: #334155; }

.breadcrumb-section h3 i { color: var(--theme-color, #DE6227); }

.akt-zone-card {
  display: block;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  height: 100%;
}
.akt-zone-card.is-active {
  border-color: var(--theme-color, #DE6227);
  background: #fff7f2;
  box-shadow: 0 0 0 3px rgba(222, 98, 39, 0.12);
}
