@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --maroon: #7B1D2E;
  --maroon-dark: #5a1520;
  --maroon-light: #9e3347;
  --maroon-faint: #f5eaed;
  --cream: #F5F0EA;
  --white: #F5F0EA;
  /* Sidebar — keep dark always */
  --sidebar-bg: #2c1a1f;
  --sidebar-text: #e8d5d9;
  --sidebar-active: #7B1D2E;
  --sidebar-hover: #3d2329;
  /* Main area — warm cream/vanilla */
  --bg: #EDE8E1;
  /* page background: warm linen */
  --bg-card: #F7F3EE;
  /* cards, topbar, modals: soft vanilla */
  --bg-input: #FBF8F4;
  /* form inputs: lightest cream */
  --border: #D9D0C7;
  /* borders: warm taupe */
  --text: #1e1610;
  --text-muted: #6e6259;
  --text-light: #a89e96;
  --shadow: 0 1px 4px rgba(0, 0, 0, .07);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .09);
  --radius: 8px;
  --radius-sm: 4px;
  --topbar-h: 56px;
  --sidebar-w: 240px;
}

[data-theme=dark] {
  --bg: #1a1210;
  --bg-card: #221619;
  --bg-input: #2a1c20;
  --cream: #1f1519;
  --white: #221619;
  --border: #3d2d32;
  --text: #ede0e3;
  --text-muted: #a08a8f;
  --text-light: #6b5056;
  --shadow: 0 1px 4px rgba(0, 0, 0, .3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .4);
  --maroon-faint: #3a1a22;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

a {
  color: var(--maroon);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.app-container {
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--sidebar-bg);
  color: var(--sidebar-text);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  transition: transform .25s ease;
}

.sidebar-brand {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-brand .brand-icon {
  width: 36px;
  height: 36px;
  background: var(--maroon);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
}

.sidebar-brand .brand-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .3px;
  color: #e8d5d9;
  line-height: 1.3;
}

.sidebar-brand .brand-name small {
  display: block;
  font-weight: 400;
  color: #9e8a8e;
  font-size: .7rem;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}

.nav-section-label {
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6b5056;
  padding: 12px 20px 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  color: var(--sidebar-text);
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, color .15s;
  border-left: 3px solid transparent;
}

.nav-item:hover,
.nav-item.active {
  background: var(--sidebar-hover);
  color: #fff;
  text-decoration: none;
}

.nav-item.active {
  border-left-color: var(--maroon);
  background: rgba(123, 29, 46, .25);
  color: #f0d4d9;
}

.nav-item i {
  width: 16px;
  text-align: center;
  font-size: .8rem;
  opacity: .8;
}

.nav-submenu {
  background: rgba(0, 0, 0, .15);
}

.nav-submenu .nav-item {
  padding-left: 44px;
  font-size: .8rem;
  font-weight: 400;
}

.nav-submenu .nav-item.active {
  border-left-color: var(--maroon-light);
}

.nav-group-toggle {
  cursor: pointer;
  user-select: none;
}

.nav-group-toggle .toggle-icon {
  margin-left: auto;
  font-size: .65rem;
  transition: transform .2s;
}

.nav-group-toggle.open .toggle-icon {
  transform: rotate(90deg);
}

.sidebar-footer {
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: .75rem;
  color: #6b5056;
}

/* TOPBAR */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.topbar {
  height: var(--topbar-h);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.topbar-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  flex: 0 0 auto;
}

.topbar-search {
  flex: 1;
  max-width: 320px;
  position: relative;
}

.topbar-search input {
  width: 100%;
  padding: 7px 12px 7px 34px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg);
  color: var(--text);
  font-size: .82rem;
  outline: none;
}

.topbar-search input:focus {
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(123, 29, 46, .1);
}

.topbar-search i {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: .75rem;
}

.topbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 10px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: .75rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.theme-toggle:hover {
  border-color: var(--maroon);
  color: var(--maroon);
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 500;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--maroon-faint);
  border: 2px solid var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: var(--maroon);
}

.user-dropdown {
  position: relative;
}

.user-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 160px;
  z-index: 300;
}

.user-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: .82rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.user-dropdown-menu a:last-child {
  border-bottom: none;
}

.user-dropdown-menu a:hover {
  background: var(--bg);
  text-decoration: none;
  color: var(--maroon);
}

.user-dropdown.open .user-dropdown-menu {
  display: block;
}

/* CONTENT */
.content-area {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

/* CARDS */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-header h3,
.card-header h4 {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
}

.card-body {
  padding: 18px;
}

/* STATS GRID */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--maroon-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--maroon);
  flex-shrink: 0;
}

.stat-info h4 {
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 2px;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.stat-sub {
  font-size: .7rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* TABLES */
.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
}

thead th {
  padding: 9px 12px;
  text-align: left;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  background: var(--bg);
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

tbody tr:hover td {
  background: var(--maroon-faint);
  color: var(--text);
}

tbody tr:last-child td {
  border-bottom: none;
}

/* BADGES */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.badge-active {
  background: #e6f4ea;
  color: #1a6e33;
}

.badge-closed {
  background: #f3f3f3;
  color: #666;
}

.badge-inactive {
  background: #fef3cd;
  color: #856404;
}

.badge-deceased {
  background: #f8d7da;
  color: #842029;
}

.badge-professed {
  background: #e8f4fd;
  color: #1a5f8a;
}

[data-theme=dark] .badge-active {
  background: #1a3d22;
  color: #6fcf8a;
}

[data-theme=dark] .badge-closed {
  background: #2a2a2a;
  color: #aaa;
}

[data-theme=dark] .badge-inactive {
  background: #3d3010;
  color: #f0c040;
}

[data-theme=dark] .badge-deceased {
  background: #3d1018;
  color: #f08080;
}

[data-theme=dark] .badge-professed {
  background: #0f2a3d;
  color: #7ac0ef;
}

/* FORMS */
.form-section {
  margin-bottom: 24px;
}

.form-section-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--maroon);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--maroon-faint);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid-2 {
  grid-template-columns: 1fr 1fr;
}

.form-grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: .76rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group label .req {
  color: var(--maroon);
  margin-left: 2px;
}

.form-control {
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  color: var(--text);
  font-size: .83rem;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}

.form-control:focus {
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(123, 29, 46, .1);
}

.form-control:disabled {
  background: var(--bg);
  opacity: .6;
}

select.form-control option {
  background: var(--bg-input);
}

textarea.form-control {
  resize: vertical;
  min-height: 70px;
}

.form-hint {
  font-size: .7rem;
  color: var(--text-light);
  margin-top: 1px;
}

/* TABS */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 18px;
  gap: 0;
  overflow-x: auto;
}

.tab-btn {
  padding: 9px 18px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  margin-bottom: -2px;
  font-family: inherit;
}

.tab-btn.active {
  color: var(--maroon);
  border-bottom-color: var(--maroon);
  font-weight: 600;
}

.tab-btn:hover:not(.active) {
  color: var(--text);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 500;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
}

.btn-primary:hover {
  background: var(--maroon-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--maroon);
  color: var(--maroon);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
  padding: 6px 10px;
}

.btn-ghost:hover {
  background: var(--bg);
  color: var(--maroon);
}

.btn-danger {
  background: #d93025;
  color: #fff;
  border-color: #d93025;
}

.btn-danger:hover {
  background: #b52a20;
}

.btn-sm {
  padding: 5px 11px;
  font-size: .76rem;
}

.btn-icon {
  padding: 6px;
  width: 30px;
  height: 30px;
  justify-content: center;
}

.btn-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ALERTS */
.alert {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.alert-success {
  background: #e6f4ea;
  color: #1a6e33;
  border-left: 3px solid #2e7d32;
}

.alert-danger {
  background: #fde8e8;
  color: #c62828;
  border-left: 3px solid #d93025;
}

.alert-warning {
  background: #fff8e1;
  color: #795548;
  border-left: 3px solid #f57f17;
}

.alert-info {
  background: #e8f4fd;
  color: #1a5f8a;
  border-left: 3px solid #1976d2;
}

[data-theme=dark] .alert-success {
  background: #1a3d22;
  color: #6fcf8a;
  border-left-color: #2e7d32;
}

[data-theme=dark] .alert-danger {
  background: #3d1018;
  color: #f08080;
  border-left-color: #d93025;
}

[data-theme=dark] .alert-warning {
  background: #3d3010;
  color: #f0c040;
  border-left-color: #f57f17;
}

[data-theme=dark] .alert-info {
  background: #0f2a3d;
  color: #7ac0ef;
  border-left-color: #1976d2;
}

/* MODAL */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 500;
  align-items: center;
  justify-content: center;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  max-width: 500px;
  width: 100%;
  margin: 16px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: .9rem;
  font-weight: 600;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* PAGE HEADER */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}

.page-header-left h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.page-header-left p {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* FILTERS BAR */
.filters-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.filters-bar .form-control {
  max-width: 200px;
}

/* REPEATABLE ROWS */
.repeatable-row {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  margin-bottom: 8px;
  position: relative;
}

.repeatable-row .remove-row {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: .75rem;
  padding: 2px 5px;
}

.repeatable-row .remove-row:hover {
  color: #d93025;
}

.add-row-btn {
  width: 100%;
  padding: 8px;
  border: 1px dashed var(--border);
  background: transparent;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: .8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  margin-top: 4px;
}

.add-row-btn:hover {
  border-color: var(--maroon);
  color: var(--maroon);
}

/* TIMELINE */
.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 16px;
}

.timeline-dot {
  position: absolute;
  left: -24px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--maroon);
  border: 2px solid var(--bg-card);
  box-shadow: 0 0 0 2px var(--maroon);
}

.timeline-dot.empty {
  background: var(--border);
  box-shadow: 0 0 0 2px var(--border);
}

.timeline-label {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-light);
}

.timeline-date {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}

.timeline-note {
  font-size: .75rem;
  color: var(--text-muted);
}

/* PHOTO */
.photo-wrap {
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder {
  color: var(--text-light);
  font-size: 2rem;
}

/* LOGIN PAGE */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 16px;
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  max-width: 400px;
  width: 100%;
  padding: 36px 32px;
}

.login-card .login-logo {
  text-align: center;
  margin-bottom: 24px;
}

.login-card .login-logo .logo-mark {
  width: 56px;
  height: 56px;
  background: var(--maroon);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 10px;
}

.login-card .login-logo h1 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.login-card .login-logo p {
  font-size: .78rem;
  color: var(--text-muted);
}

/* PROFILE PAGE */
.profile-header {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.profile-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.profile-stage {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.profile-meta {
  display: flex;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.profile-meta-item {
  font-size: .78rem;
  color: var(--text-muted);
}

.profile-meta-item strong {
  color: var(--text);
}

/* EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.empty-state h4 {
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.empty-state p {
  font-size: .8rem;
}

/* BREADCRUMB */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--maroon);
}

.breadcrumb-sep {
  color: var(--text-light);
}

/* MISC */
.text-maroon {
  color: var(--maroon);
}

.text-muted {
  color: var(--text-muted);
}

.text-sm {
  font-size: .78rem;
}

.fw-600 {
  font-weight: 600;
}

.mt-1 {
  margin-top: 4px;
}

.mt-2 {
  margin-top: 8px;
}

.mt-3 {
  margin-top: 14px;
}

.mt-4 {
  margin-top: 20px;
}

.mb-1 {
  margin-bottom: 4px;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-3 {
  margin-bottom: 14px;
}

.mb-4 {
  margin-bottom: 20px;
}

.d-flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

/* PRINT */
@media print {

  .sidebar,
  .topbar,
  .btn,
  .no-print {
    display: none !important;
  }

  .main-content {
    margin-left: 0 !important;
  }

  .content-area {
    padding: 0 !important;
  }

  .card {
    border: none !important;
    box-shadow: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }
}

/* RESPONSIVE */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 1.1rem;
}

@media(max-width:768px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
  }

  .hamburger {
    display: flex;
  }

  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .filters-bar .form-control {
    max-width: 100%;
  }
}

@media(max-width:480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .login-card {
    padding: 24px 18px;
  }
}