:root {
  --bs-primary: #6366f1;
  --bs-primary-rgb: 99, 102, 241;
  --bs-link-color: #6366f1;
  --bs-link-color-rgb: 99, 102, 241;
  --bs-link-hover-color: #4f46e5;
  --bs-link-hover-color-rgb: 79, 70, 229;
  --bs-primary-bg-subtle: #e0e7ff;
  --bs-primary-border-subtle: #c7d2fe;
  --bs-primary-text-emphasis: #3730a3;
  --bs-body-bg: #f8fafc;
  --bs-body-font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.rqr-navbar {
  background: linear-gradient(to right, #111827, #4B5563);
  border-bottom: 1px solid #374151 !important;
}
.rqr-navbar .navbar-brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
}
.rqr-navbar .nav-link {
  color: #D1D5DB !important;
  font-weight: 400;
  transition: color 0.2s;
}
.rqr-navbar .nav-link:hover, .rqr-navbar .nav-link:focus {
  color: #ffffff !important;
}
.rqr-navbar .navbar-church-icon {
  color: white;
  transition: color 0.2s ease;
}
.rqr-navbar .navbar-brand:hover .navbar-church-icon {
  color: #c084fc;
}

.rqr-footer {
  background-color: #111827;
  color: #9CA3AF;
}

.rqr-footer-border {
  border-color: #1F2937 !important;
}

.rqr-footer-link {
  color: #60A5FA;
  text-decoration: underline;
}
.rqr-footer-link:hover {
  color: #ffffff;
}

.btn-primary {
  --bs-btn-bg: #6366f1;
  --bs-btn-border-color: #6366f1;
  --bs-btn-hover-bg: #4f46e5;
  --bs-btn-hover-border-color: #4338ca;
  --bs-btn-active-bg: #4f46e5;
  --bs-btn-active-border-color: #4338ca;
  --bs-btn-disabled-bg: #6366f1;
  --bs-btn-disabled-border-color: #6366f1;
  --bs-btn-focus-shadow-rgb: 99, 102, 241;
}

.btn-outline-primary {
  --bs-btn-color: #6366f1;
  --bs-btn-border-color: #6366f1;
  --bs-btn-hover-bg: #6366f1;
  --bs-btn-hover-border-color: #6366f1;
  --bs-btn-active-bg: #6366f1;
  --bs-btn-active-border-color: #6366f1;
  --bs-btn-focus-shadow-rgb: 99, 102, 241;
}

.home-hero-heading {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.home-hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  opacity: 0.9;
}

.home-serif-heading {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  color: #1a1a2e;
}

.rqr-heading-serif {
  font-family: Georgia, "Times New Roman", serif;
}

.shadow-sm {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1) !important;
}

.rqr-page-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: transparent;
  border: none;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s;
}
.rqr-page-btn.active {
  background-color: #6366f1;
  color: white;
  border-radius: 8px;
}
.rqr-page-btn:hover:not(.active) {
  background-color: #e5e7eb;
}

.rqr-page-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: transparent;
  border: none;
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}
.rqr-page-arrow-btn:hover:not(:disabled) {
  color: #374151;
}
.rqr-page-arrow-btn:disabled {
  opacity: 0.3;
}

.rqr-view-memorial-link {
  color: #6366f1;
  font-size: 0.9rem;
  font-weight: 500;
}
.rqr-view-memorial-link:hover {
  color: #4f46e5;
}

.rqr-dashboard-layout {
  display: flex;
  min-height: calc(100vh - 56px);
}
.rqr-dashboard-layout > main {
  min-width: 0;
}

.rqr-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  padding: 12px 8px;
}

.rqr-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.15s;
  margin-bottom: 2px;
}
.rqr-sidebar-link i {
  font-size: 1.1rem;
  flex-shrink: 0;
}
.rqr-sidebar-link:hover {
  background-color: #f3f4f6;
  color: #111827;
}
.rqr-sidebar-link.active {
  background-color: #f3f4f6;
  color: #111827;
}

.image-upload-zone {
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.image-upload-zone:hover {
  background-color: rgba(0, 0, 0, 0.04);
}
