/* notifications.css — polished styles for the Notifications page */

:root{
	--bg: #f5f7fb;
	--card: #ffffff;
	--muted: #6b7280;
	/* Match site header blue */
	--accent: #1976d2;
	--accent-ghost: rgba(25,118,210,0.12);
	--danger: #dc3545;
	--radius: 12px;
}

body { background: var(--bg); }
.notifications-page { padding: 20px; max-width:1100px; margin: 0 auto; }
.breadcrumb { color: var(--muted); margin-bottom: 12px; font-size:14px; }

.notifications-grid { display:grid; grid-template-columns: 1fr 380px; gap:20px; align-items:start; }
@media (max-width:980px){ .notifications-grid { grid-template-columns: 1fr; padding-bottom:24px; } }

.panel {
	background: var(--card);
	border-radius: var(--radius);
	padding: 14px;
	box-shadow: 0 8px 30px rgba(16,24,40,0.04);
	border: 1px solid rgba(16,24,40,0.04);
}
.panel-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
.panel-header h2 { margin:0; font-size:16px; color:#111827; }
.panel-header .meta { color:var(--muted); font-size:13px; }
.panel-actions { display:flex; gap:8px; align-items:center; }

.panel-title { display:flex; align-items:center; gap:8px; }
.badge.hidden { display:none !important; }

.panel-body { max-height:66vh; overflow:auto; padding-right:6px; }
.empty { color:var(--muted); padding:18px 12px; text-align:center; }

/* Order item */
.order-item {
	display:flex; align-items:center; gap:14px;
	padding:12px; border-radius:10px; background: linear-gradient(180deg, #fff, #fbfdff);
	border: 1px solid rgba(15,23,42,0.03); margin-bottom:12px;
}
.order-item:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(2,6,23,0.06); }

.order-meta { flex:1; min-width:0; }
.order-id { font-weight:700; font-size:13px; color:#0f172a; word-break:break-all; }
.order-time { color:var(--muted); font-size:12px; margin-top:6px; }
.order-right { text-align:right; min-width:120px; }
.order-total { font-weight:800; color:#0f172a; font-size:16px; }

/* Admin messages */
.message-item { display:flex; gap:12px; padding:12px; border-radius:10px; align-items:flex-start; border:1px solid rgba(15,23,42,0.03); margin-bottom:12px; background:var(--card); }
.message-body { flex:1; min-width:0; }
.message-subject { font-weight:700; color:#0f172a; font-size:14px; }
.message-text { color:#374151; margin-top:6px; font-size:13px; }
.message-actions { display:flex; gap:8px; align-items:center; }
.message-item.unread { box-shadow: inset 6px 0 0 0 var(--accent-ghost); }

/* small badges */
.badge { display:inline-block; background:var(--accent); color:#fff; font-size:12px; padding:4px 8px; border-radius:999px; }

/* Buttons */
.btn { background:var(--accent); color:#fff; border:none; padding:8px 12px; border-radius:8px; cursor:pointer; font-weight:600; }
.btn.small { padding:6px 8px; font-size:13px; }
.btn.ghost { background:transparent; color:var(--accent); border:1px solid var(--accent-ghost); }
.btn:focus { outline:3px solid rgba(0,102,204,0.12); }

/* scrollbar tweaks for panel bodies */
.panel-body::-webkit-scrollbar { width:10px; }
.panel-body::-webkit-scrollbar-thumb { background: rgba(15,23,42,0.06); border-radius:10px; }

/* utilities */
.muted { color:var(--muted); font-size:13px; }
.small { font-size:12px; color:var(--muted); }

@media (max-width:520px){
	.order-right { min-width:90px; }
	.notifications-page { padding: 14px; }
}

/* End notifications.css */

/* Header tweaks specific to notifications page */
.top-compact-header {
	background: var(--accent);
	color: #fff;
	padding: 10px 14px;
	display:flex; align-items:center; justify-content:space-between;
	border-bottom: 1px solid rgba(0,0,0,0.06);
}
.top-compact-header .left { display:flex; align-items:center; gap:10px; }
.top-compact-header .brand-text { font-weight:700; color:#fff; font-size:15px; }
.top-compact-header .hamburger { background: rgba(255,255,255,0.06); border-radius:6px; padding:6px; color:#fff; border:none; }
.top-compact-header .header-actions { display:flex; align-items:center; gap:8px; }
.top-compact-header .header-actions .hamburger { background: rgba(255,255,255,0.06); padding:6px; border-radius:6px; }

@media (max-width:520px){
	.top-compact-header .brand-text { font-size:14px; }
}
