/* Custom color theme properties */
:root {
  --f7-theme-color: #4cd964;
  --f7-theme-color-rgb: 253, 126, 20;
  --f7-theme-color-shade: #4cd964;
  --f7-theme-color-tint: rgba(72, 133, 237, 0.63);
}

/* Invert navigation bars to fill style */
:root,
:root.dark,
:root .dark {
  --f7-bars-bg-color: var(--f7-theme-color);
  --f7-bars-bg-color-rgb: var(--f7-theme-color-rgb);
  --f7-bars-translucent-opacity: 0.9;
  --f7-bars-text-color: #fff;
  --f7-bars-link-color: #fff;
  --f7-navbar-subtitle-text-color: rgba(255,255,255,0.85);
  --f7-bars-border-color: transparent;
  --f7-tabbar-link-active-color: #fff;
  --f7-tabbar-link-inactive-color: rgba(255,255,255,0.54);
  --f7-sheet-border-color: transparent;
  --f7-tabbar-link-active-border-color: #fff;
}
.appbar,
.navbar,
.toolbar,
.subnavbar,
.calendar-header,
.calendar-footer {
  --f7-touch-ripple-color: var(--f7-touch-ripple-white);
  --f7-link-highlight-color: var(--f7-link-highlight-white);
  --f7-link-touch-ripple-color: var(--f7-touch-ripple-white);
  --f7-button-text-color: #fff;
  --f7-button-pressed-bg-color: rgba(255,255,255,0.1);
}
.navbar-large-transparent,
.navbar-large.navbar-transparent {
  --f7-navbar-large-title-text-color: #000;

  --r: 253;
  --g: 126;
  --b: 20;
  --progress: var(--f7-navbar-large-collapse-progress);
  --f7-bars-link-color: rgb(
    calc(var(--r) + (255 - var(--r)) * var(--progress)),
    calc(var(--g) + (255 - var(--g)) * var(--progress)),
    calc(var(--b) + (255 - var(--b)) * var(--progress))
  );
}
.dark .navbar-large-transparent,
.dark .navbar-large.navbar-transparent {
  --f7-navbar-large-title-text-color: #fff;
}

/* Your app custom styles here */

.navbar-bg {
  background-color: #4cd964;
}

.page-content {
  /* padding-left: 10px;
  padding-right: 10px; */
  background-color: #F8F8F8;
}

.login-screen-content {
    background: #fff;
    width: 90% !important;
    margin: auto auto auto auto;
    border-radius: 8px;
    padding-top: 22px;
}

.pwa-install-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 20000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    padding: 10px 12px;
}
.pwa-install-banner[hidden] {
    display: none !important;
}
.pwa-install-banner img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
}
.pwa-install-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    font-size: 13px;
    line-height: 1.25;
    color: #222;
}
.pwa-install-hint {
    color: #666;
    font-size: 12px;
    margin-top: 2px;
}
.pwa-install-btn {
    background: #4cd964;
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 8px 12px;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}
.pwa-install-close {
    color: #888;
    font-size: 22px;
    line-height: 1;
    padding: 0 4px;
    text-decoration: none;
}
@media (display-mode: standalone) {
    .pwa-install-banner {
        display: none !important;
    }
}