/* ======================================================== Notification Service — Admin Panel Styles ======================================================== */ :root { --sidebar-bg: #1a1d23; --sidebar-active: #0d6efd; --sidebar-muted: #8a929e; --content-bg: #f0f2f5; --card-shadow: 0 2px 8px rgba(0,0,0,.10), 0 0 1px rgba(0,0,0,.08); } /* ── Body ─────────────────────────────────────────────── */ body { background-color: var(--content-bg); font-size: .9rem; } /* ── Navbar ───────────────────────────────────────────── */ .admin-navbar { border-bottom: 1px solid rgba(255,255,255,.07); box-shadow: 0 2px 6px rgba(0,0,0,.4); height: 52px; } .admin-navbar .navbar-brand { font-size: .95rem; font-weight: 700; letter-spacing: .02em; } /* ── Sidebar ──────────────────────────────────────────── */ .sidebar { min-height: calc(100vh - 52px); background-color: var(--sidebar-bg); border-right: 1px solid rgba(255,255,255,.05); padding: 1.25rem 0 1rem; } .sidebar-section-label { font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sidebar-muted); padding: .25rem 1.25rem .5rem; } .sidebar .nav-link { color: #adb5bd; border-radius: 0 .375rem .375rem 0; margin: .1rem .75rem .1rem 0; padding: .5rem 1rem; font-size: .85rem; display: flex; align-items: center; gap: .6rem; border-left: 3px solid transparent; transition: background .15s, color .15s, border-color .15s; } .sidebar .nav-link:hover { color: #fff; background-color: rgba(255,255,255,.06); border-left-color: rgba(255,255,255,.2); } .sidebar .nav-link.active { color: #fff; background-color: rgba(13,110,253,.2); border-left-color: var(--sidebar-active); font-weight: 600; } .sidebar .nav-link .bi { font-size: .95rem; flex-shrink: 0; } /* ── Main content ─────────────────────────────────────── */ .main-content { padding: 1.75rem 2rem; } /* ── Page header ──────────────────────────────────────── */ .page-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: .875rem; margin-bottom: 1.5rem; border-bottom: 1px solid #dee2e6; } .page-header h2 { margin: 0; font-size: 1.25rem; font-weight: 700; color: #212529; display: flex; align-items: center; gap: .45rem; } /* ── Table card ───────────────────────────────────────── */ .table-card { border: none; border-radius: .5rem; box-shadow: var(--card-shadow); overflow: hidden; } .table { font-size: .875rem; } .table tbody tr td { vertical-align: middle; } .table thead th { font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; } /* ── Empty state ──────────────────────────────────────── */ .empty-state { text-align: center; padding: 3.5rem 2rem; color: var(--sidebar-muted); } .empty-state .bi { font-size: 2.5rem; opacity: .35; display: block; margin-bottom: .75rem; } .empty-state p { font-size: .9rem; margin-bottom: 0; } /* ── Editor wrapper — constrains width ───────────────── */ .editor-wrapper { max-width: 860px; } /* ── Editor card ──────────────────────────────────────── */ .editor-card { border: none; border-radius: .5rem; box-shadow: var(--card-shadow); } .editor-card-header-bar { background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%); color: #fff; font-size: .9rem; font-weight: 600; padding: .75rem 1.25rem; border-bottom: none; display: flex; align-items: center; border-radius: .5rem .5rem 0 0 !important; } .editor-card-body { padding: 1.5rem 1.5rem 1rem; } .editor-card-footer { background-color: #f8f9fa; border-top: 1px solid #e9ecef; padding: .875rem 1.5rem; display: flex; justify-content: flex-end; gap: .5rem; border-radius: 0 0 .5rem .5rem !important; } /* ── Form-section divider ─────────────────────────────── */ .form-section-title { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sidebar-muted); padding-bottom: .4rem; margin-bottom: 1rem; border-bottom: 1px solid #dee2e6; } /* ── Form fields ──────────────────────────────────────── */ .form-label { font-size: .82rem; margin-bottom: .3rem; } .form-control[readonly] { background-color: #f4f5f7; border-color: #e2e5e9; color: #6c757d; cursor: not-allowed; } textarea.form-control { resize: vertical; }