#quick-entry-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 96px;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

.quick-entry-wrapper {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.quick-entry-box {
  width: 100%;
  max-width: 900px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
}

.quick-entry-tabs {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 18px;
}

.quick-entry-tabs button {
  flex: 1;
  height: 40px;
  min-height: 40px;
  border-radius: 14px;
}

.quick-entry-body {
  overflow-y: auto;
  padding: 16px 20px;
}

@media (max-width: 1023px) {
  #quick-entry-modal {
    left: 0;
  }

  .quick-entry-wrapper {
    padding: 12px;
  }

  .quick-entry-box {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 22px;
  }
}

.mobile-bottom-nav {
  position: fixed !important;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 9998;
  height: 70px;

  background: #ffffff;
  color: #111827;

  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  box-shadow: 0 -8px 35px rgba(0, 0, 0, 0.18);

  padding-bottom: env(safe-area-inset-bottom);
  display: block;
  overflow: hidden;
}

[data-theme="financeDark"] .mobile-bottom-nav {
  background: #111827;
  color: #f9fafb;
  border-color: rgba(255, 255, 255, 0.10);
}

.mobile-bottom-nav > div {
  height: 64px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.mobile-bottom-nav a,
.mobile-bottom-nav button {
  min-width: 0;
  height: 64px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  border: 0;
  background: transparent;
}

.mobile-bottom-nav svg {
  width: 23px;
  height: 23px;
  display: block;
}

.mobile-bottom-nav span {
  display: block;
  line-height: 1;
}

@media (min-width: 1024px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .settings-page {
    margin-bottom: 110px;
  }
}