/* ══════════════════════════════════════════════════════════════
   Gmail-Inspired Design System
   ══════════════════════════════════════════════════════════════ */

:root {
  --bg-page: #f6f8fc;
  --bg-white: #ffffff;
  --bg-sidebar: #ffffff;
  --bg-row-hover: #f2f2f2;
  --bg-row-read: #f6f8fc;
  --bg-row-unread: #ffffff;
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --text-muted: #80868b;
  --accent-red: #d93025;
  --accent-blue: #1a73e8;
  --accent-star: #f4b400;
  --border-light: #e0e0e0;
  --border-input: #dadce0;
  --icon-default: #5f6368;
  --icon-hover: #202124;
  --sidebar-width: 256px;
  --header-height: 64px;
  --gutter: 16px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 50%;
}

/* ── Reset & Base ─────────────────────────────────────────── */

body {
  background: var(--bg-page);
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  margin: 0;
  overflow-x: hidden;
}

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

a:hover {
  text-decoration: underline;
}

/* ── Header Bar ──────────────────────────────────────────── */

.header-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  padding: 0 8px 0 8px;
  z-index: 1040;
  gap: 8px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  width: calc(var(--sidebar-width) - 16px);
}

.header-icon-btn {
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-default);
  cursor: pointer;
  transition: background-color 0.15s;
  padding: 0;
  flex-shrink: 0;
}

.header-icon-btn:hover {
  background: #e8eaed;
  color: var(--icon-hover);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  padding-left: 0;
}

.header-brand:hover {
  text-decoration: none;
}

.brand-icon {
  display: flex;
  align-items: center;
}

.brand-icon .material-icons-outlined {
  font-size: 30px;
  color: #ea4335;
}

.brand-text {
  font-family: "Poppins", "Product Sans", sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: -0.5px;
}

.header-center {
  flex: 1;
  max-width: 720px;
}

.search-bar {
  display: flex;
  align-items: center;
  background: #eaf1fb;
  border-radius: var(--radius-md);
  padding: 0 16px;
  height: 46px;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
  border: 1px solid transparent;
}

.search-bar:focus-within {
  background: var(--bg-white);
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
}

.search-icon {
  color: var(--icon-default);
  margin-right: 12px;
  font-size: 22px;
  flex-shrink: 0;
}

.search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  color: var(--text-primary);
  width: 100%;
  height: 100%;
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--accent-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 4px;
}

/* ── Sidebar ──────────────────────────────────────────────── */

.sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 8px 12px 8px 0;
}

.sidebar-nav {
  flex: 1;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 12px 0 24px;
  height: 32px;
  border-radius: 0 16px 16px 0;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: background-color 0.12s;
  margin-bottom: 1px;
  white-space: nowrap;
  overflow: hidden;
}

.sidebar-item:hover {
  background: #eaecef;
  text-decoration: none;
  color: var(--text-primary);
}

.sidebar-item.active {
  background: #d3e3fd;
  color: var(--text-primary);
  font-weight: 700;
}

.sidebar-item .material-icons-outlined {
  font-size: 20px;
  width: 20px;
  flex-shrink: 0;
}

.sidebar-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-badge {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}

.sidebar-divider {
  height: 1px;
  background: var(--border-light);
  margin: 8px 0;
}

.sidebar-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 8px;
  margin-top: 8px;
}

.sidebar-user {
  cursor: default;
  color: var(--text-secondary) !important;
  font-size: 13px;
}

/* ── Sidebar desktop: fixed ──────────────────────────────── */

@media (min-width: 992px) {
  .sidebar-wrapper {
    position: fixed !important;
    top: var(--header-height) !important;
    left: 0 !important;
    width: var(--sidebar-width) !important;
    height: calc(100vh - var(--header-height)) !important;
    background: var(--bg-sidebar) !important;
    overflow-y: auto;
    overflow-x: hidden;
    border-right: none;
    z-index: 1020;
    transform: none !important;
    visibility: visible !important;
  }
}

/* ── Main Content Area ────────────────────────────────────── */

.main-content {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  padding: 0 var(--gutter) var(--gutter);
}

@media (min-width: 992px) {
  .main-content {
    margin-left: var(--sidebar-width);
  }
}

/* ── Content Toolbar ──────────────────────────────────────── */

.content-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  background: var(--bg-white);
  min-height: 48px;
  border-bottom: 1px solid #f0f0f0;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 2px;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 2px;
}

.toolbar-icon-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-default);
  cursor: pointer;
  transition: background-color 0.15s;
  padding: 0;
}

.toolbar-icon-btn:hover {
  background: #e8eaed;
  color: var(--icon-hover);
}

.toolbar-page-info {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  padding: 0 8px;
}

/* HTMX loading indicator */
.htmx-indicator {
  display: none;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
  display: inline-block;
}

/* ── Filter Panel ─────────────────────────────────────────── */

.filter-panel {
  background: #f8f9fa;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
}

/* ── Email List Card ──────────────────────────────────────── */

.email-list-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: none;
  border: none;
}

/* ── Email Table ──────────────────────────────────────────── */

.email-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 14px;
}

.email-table td {
  padding: 0 4px;
  vertical-align: middle;
  height: 44px;
  border-bottom: 1px solid #f0f0f0;
}

.email-table tbody tr {
  cursor: pointer;
  transition: background-color 0.1s ease;
  background: var(--bg-row-read);
}

.email-table tbody tr.unread {
  background: var(--bg-row-unread);
}

.email-table tbody tr:hover {
  background: var(--bg-row-hover);
}

/* Column widths */
.email-table .col-star {
  width: 40px;
  text-align: center;
  padding-left: 12px;
}

.email-table .col-sender {
  width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-left: 4px;
}

.email-table .col-message {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.email-table .col-message a {
  text-decoration: none;
  color: inherit;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.email-table .col-attachment {
  width: 28px;
  text-align: center;
}

.email-table .col-date {
  width: 85px;
  text-align: right;
  white-space: nowrap;
  padding-right: 16px;
  font-size: 12px;
  color: var(--text-secondary);
}

/* Sender name */
.sender-name {
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 14px;
}

tr.unread .sender-name {
  font-weight: 700;
  color: var(--text-primary);
}

/* Subject + snippet */
.subject-text {
  font-weight: 400;
  color: var(--text-primary);
}

tr.unread .subject-text {
  font-weight: 700;
}

.snippet-text {
  color: var(--text-secondary);
  font-weight: 400;
}

tr.unread .col-date {
  color: var(--text-primary);
  font-weight: 700;
}

/* Star icons */
.star-icon {
  font-size: 20px;
  color: var(--text-muted);
  cursor: default;
  user-select: none;
  line-height: 1;
}

.star-icon.starred {
  color: var(--accent-star);
}

/* ── Pagination Bar ───────────────────────────────────────── */

.pagination-bar {
  padding: 8px 16px;
  background: var(--bg-white);
  border-top: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.page-info {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.pagination-bar .pagination {
  margin: 0;
}

.pagination-bar .page-link {
  border: none;
  color: var(--icon-default);
  background: transparent;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: var(--radius-full);
}

.pagination-bar .page-link:hover {
  background: #e8eaed;
  color: var(--icon-hover);
}

.pagination-bar .page-item.active .page-link {
  background: var(--accent-blue);
  color: #fff;
}

.pagination-bar .page-item.disabled .page-link {
  background: transparent;
  color: var(--text-muted);
}

/* ── Sender Avatar (email detail) ─────────────────────────── */

.sender-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

/* ── Email Detail View ────────────────────────────────────── */

.email-detail-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.email-detail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  border-bottom: 1px solid #f0f0f0;
  min-height: 48px;
}

.email-detail-subject {
  padding: 16px 16px 4px 72px;
}

.email-detail-subject h2 {
  font-family: "Poppins", "Google Sans", sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
}

.label-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e0e0e0;
  color: var(--text-secondary);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-top: 4px;
}

.email-detail-message {
  padding: 16px;
}

.email-view-sender-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0 0 16px;
}

.email-view-sender-info {
  flex: 1;
  min-width: 0;
}

.email-view-sender-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.email-view-sender-email {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 400;
}

.email-view-recipient {
  font-size: 12px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.email-view-date {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

.email-view-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

/* Auth badges */
.auth-badges {
  display: flex;
  gap: 6px;
  padding: 10px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  margin: 0 0 16px;
  flex-wrap: wrap;
}

/* Email body */
.email-body {
  padding-left: 52px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
}

/* View tabs */
.email-detail-card .nav-tabs {
  border-bottom: 1px solid #f0f0f0;
  padding-left: 52px;
}

.email-detail-card .nav-tabs .nav-link {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 10px 16px;
  border-radius: 0;
  transition: color 0.15s, border-color 0.15s;
}

.email-detail-card .nav-tabs .nav-link:hover {
  color: var(--text-primary);
  border-bottom-color: #e8eaed;
}

.email-detail-card .nav-tabs .nav-link.active {
  color: var(--accent-blue);
  border-bottom-color: var(--accent-blue);
  background: transparent;
}

.email-detail-card .tab-content {
  padding: 16px 16px 16px 52px;
}

/* Reply/Forward buttons */
.reply-actions {
  display: flex;
  gap: 8px;
  padding: 24px 0 8px;
  margin-left: 52px;
}

.reply-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-input);
  border-radius: 18px;
  padding: 8px 24px;
  background: var(--bg-white);
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  cursor: default;
  transition: background-color 0.15s;
  text-decoration: none;
}

.reply-btn:hover {
  background: #f1f3f4;
  color: var(--text-secondary);
  text-decoration: none;
}

.reply-btn .material-icons-outlined {
  font-size: 18px;
}

/* ── Attachment Chips ─────────────────────────────────────── */

.attachment-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--border-input);
  border-radius: 16px;
  font-size: 13px;
  color: #3c4043;
  background: #f1f3f4;
  text-decoration: none;
  transition: background-color 0.15s;
}

.attachment-chip:hover {
  background: #e8eaed;
  color: #3c4043;
  text-decoration: none;
}

.attachment-chip .chip-size {
  color: var(--text-muted);
  font-size: 12px;
}

/* Attachments footer */
.attachments-section {
  border-top: 1px solid #f0f0f0;
  padding: 16px;
  padding-left: 52px;
}

.attachments-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Login Page ───────────────────────────────────────────── */

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

.login-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
}

.login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}

.login-brand .material-icons-outlined {
  font-size: 40px;
  color: #ea4335;
}

.login-brand-text {
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--text-primary);
}

.login-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 32px;
}

.login-card .form-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.login-card .form-control {
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.login-card .form-control:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.15);
}

.login-card .btn-primary {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 15px;
  font-weight: 500;
}

.login-card .btn-primary:hover {
  background: #1557b0;
  border-color: #1557b0;
}

/* ── Admin Pages (Stats, Domains, etc.) ───────────────────── */

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 12px;
}

.page-header h2 {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-header h2 .material-icons-outlined {
  font-size: 24px;
  color: var(--icon-default);
}

/* Clean card style for admin pages */
.admin-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: none;
  box-shadow: none;
  overflow: hidden;
}

.admin-card .card-header {
  background: var(--bg-white);
  border-bottom: 1px solid #f0f0f0;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-primary);
  padding: 12px 16px;
}

/* Tables in admin pages */
.admin-card .table {
  margin: 0;
  font-size: 13px;
}

.admin-card .table thead th {
  background: #fafbfc;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--text-secondary);
  padding: 10px 16px;
}

.admin-card .table tbody td {
  padding: 10px 16px;
  border-bottom: 1px solid #f5f5f5;
  vertical-align: middle;
}

.admin-card .table tbody tr:hover {
  background: #fafbfc;
}

.admin-card .table tbody tr:last-child td {
  border-bottom: none;
}

/* Form card for admin add/create forms */
.admin-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: none;
  box-shadow: none;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.admin-form-card .form-control,
.admin-form-card .form-select {
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.admin-form-card .form-control:focus,
.admin-form-card .form-select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.15);
}

/* Stat cards */
.stat-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: none;
  box-shadow: none;
  text-align: center;
  padding: 20px 16px;
  transition: box-shadow 0.15s;
}

.stat-card:hover {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Admin buttons */
.btn-gmail-primary {
  background: var(--accent-blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.15s;
}

.btn-gmail-primary:hover {
  background: #1557b0;
  color: #fff;
}

.btn-gmail-danger {
  background: transparent;
  color: var(--accent-red);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.15s;
}

.btn-gmail-danger:hover {
  background: #fce8e6;
}

.btn-gmail-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.15s;
}

.btn-gmail-outline:hover {
  background: #f1f3f4;
}

/* ── Responsive — Tablet ──────────────────────────────────── */

@media (min-width: 768px) and (max-width: 991.98px) {
  .header-left {
    width: auto;
    min-width: 0;
  }

  .brand-text {
    display: none;
  }

  .email-table .col-sender {
    width: 160px;
  }
}

/* ── Responsive — Mobile ──────────────────────────────────── */

@media (max-width: 767.98px) {
  .header-bar {
    padding: 0 4px;
    gap: 4px;
  }

  .header-left {
    width: auto;
    min-width: 0;
  }

  .brand-text {
    display: none;
  }

  .brand-icon .material-icons-outlined {
    font-size: 24px;
  }

  .search-bar {
    height: 40px;
    padding: 0 12px;
  }

  .search-input {
    font-size: 14px;
  }

  .header-right .header-icon-btn:not(:last-child) {
    display: none;
  }

  .main-content {
    padding: 0 8px 8px;
  }

  /* Email table mobile */
  .email-table .col-star {
    width: 32px;
    padding-left: 6px;
  }

  .email-table .col-sender {
    width: 100px;
    font-size: 12px;
  }

  .email-table .col-message {
    font-size: 13px;
  }

  .email-table .col-attachment {
    width: 22px;
  }

  .email-table .col-date {
    width: 56px;
    font-size: 11px;
    padding-right: 8px;
  }

  .email-table td {
    height: 40px;
  }

  /* Hide snippet on mobile */
  .email-table .snippet-text {
    display: none;
  }

  /* Email detail mobile */
  .email-detail-subject {
    padding-left: 16px;
  }

  .email-detail-subject h2 {
    font-size: 18px;
  }

  .email-body,
  .email-detail-card .tab-content,
  .email-detail-card .nav-tabs {
    padding-left: 16px;
  }

  .reply-actions {
    margin-left: 16px;
    flex-wrap: wrap;
  }

  .reply-btn {
    padding: 6px 16px;
    font-size: 13px;
  }

  .attachments-section {
    padding-left: 16px;
  }

  /* Email view sender row mobile */
  .email-view-sender-row {
    flex-wrap: wrap;
  }

  .email-view-date {
    text-align: left;
    width: 100%;
    padding-left: 52px;
    margin-top: -8px;
  }

  /* Admin pages */
  .page-header h2 {
    font-size: 18px;
  }

  /* Pagination */
  .pagination-bar {
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px;
  }
}

/* ── No-content state ─────────────────────────────────────── */

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state .material-icons-outlined {
  font-size: 48px;
  opacity: 0.4;
  margin-bottom: 12px;
  display: block;
}

.empty-state p {
  margin: 0;
  font-size: 14px;
}

/* ── Utility ──────────────────────────────────────────────── */

.font-mono {
  font-family: "Roboto Mono", monospace;
}

.text-gmail-blue {
  color: var(--accent-blue);
}

.text-gmail-red {
  color: var(--accent-red);
}

.bg-gmail-blue {
  background: #e8f0fe;
  color: #1967d2;
}

.bg-gmail-green {
  background: #e6f4ea;
  color: #137333;
}

.bg-gmail-red {
  background: #fce8e6;
  color: #c5221f;
}

.bg-gmail-orange {
  background: #fef7e0;
  color: #e37400;
}

/* Override some Bootstrap defaults */
.badge {
  font-weight: 500;
}

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

.table {
  --bs-table-hover-bg: #fafbfc;
}
