/* Darker blue background for important info paragraphs on download page in dark mode */
body.dark-mode .sqlite-download .panel-body > p {
    background: #102040 !important;
    color: #e0e0ff !important;
    border-radius: 6px;
    padding: 16px 20px;
    margin-top: 18px;
    margin-bottom: 18px;
}
body.dark-mode .email-support {
    padding: 20px !important;
}

body.dark-mode .panel.email-support,
body.dark-mode .email-support.panel,
body.dark-mode .email-support {
    padding: 20px !important;
}
body.dark-mode figure {
    background: #000 !important;
}
/* Keep feature comparison icons same as light mode in dark mode */
body.dark-mode .sqlite-features .table .ion-checkmark-circled {
    color: #4caf50 !important;
}
body.dark-mode .sqlite-features .table .ion-close-circled {
    color: #e53935 !important;
}
/* Dark mode for striped tables in download panels */
body.dark-mode .panel .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #151515 !important;
}
body.dark-mode .panel .table-striped > tbody > tr:nth-of-type(even),
body.dark-mode .panel .table-hover > tbody > tr {
    background-color: #181818 !important;
}
body.dark-mode .panel .table th,
body.dark-mode .panel .table td {
    background-color: #000 !important;
    color: #e0e0e0 !important;
    border-color: #23272b !important;
}
/* Dark mode for download panels */
body.dark-mode .panel,
body.dark-mode .panel-heading,
body.dark-mode .panel-body {
    background: #000 !important;
    color: #e0e0e0 !important;
    border-color: #23272b !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
}
body.dark-mode .panel-heading {
    border-bottom: 1px solid #23272b !important;
}
body.dark-mode .panel {
    background: #000 !important;
    color: #e0e0e0 !important;
    border-color: #23272b !important;
}
body.dark-mode .panel-body {
    background: #000 !important;
    color: #e0e0e0 !important;
    border-color: #23272b !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
}
body.dark-mode .panel-heading {
    background: #000 !important;
    color: #e0e0e0 !important;
    border-color: #23272b !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}
body.dark-mode figure figcaption {
    background: #000 !important;
    color: #e0e0e0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background-clip: padding-box;
}
body.dark-mode figure figcaption h4,
body.dark-mode figure figcaption h4 a {
    background: #000 !important;
    color: #e0e0e0 !important;
}
body.dark-mode .table-hover > tbody > tr:hover {
    background-color: #181818 !important;
    color: #e0e0e0 !important;
}
/* Dark mode styles */
body.dark-mode {
    background: #000 !important;
    color: #e0e0e0 !important;
}
body.dark-mode .navbar, body.dark-mode #top-bar, body.dark-mode .footer {
    background: #000 !important;
    color: #fff !important;
}
body.dark-mode #top-bar .main-menu li > a,
body.dark-mode #top-bar .main-menu li a,
body.dark-mode #top-bar .navbar-brand,
body.dark-mode #top-bar .navbar-brand a,
body.dark-mode #top-bar .navbar-brand img,
body.dark-mode #top-bar .navbar-toggle .icon-bar {
    color: #fff !important;
    fill: #fff !important;
    filter: none !important;
}
body.dark-mode #top-bar .main-menu li > a:hover,
body.dark-mode #top-bar .main-menu li a:hover {
    color: #02bdd5 !important;
}
body.dark-mode .main_carousal, body.dark-mode .company-description, body.dark-mode .sqlite_desc, body.dark-mode .sqlite_features {
    background: #000 !important;
}
body.dark-mode .media, body.dark-mode .block, body.dark-mode .header-text {
    background: #000 !important;
    color: #e0e0e0 !important;
}
body.dark-mode a, body.dark-mode a:visited {
    color: #8ab4f8;
}
body.dark-mode .icon, body.dark-mode i {
    color: #fbbc04 !important;
}
body.dark-mode .carousel-control span {
    background: #23272b !important;
}
body.dark-mode .media-heading, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode p, body.dark-mode li {
    color: #e0e0e0 !important;
}
/* Dark mode toggle button styles */
#darkModeToggle {
    position: fixed;
    top: 18px;
    right: 24px;
    z-index: 9999;
    background: transparent;
    color: #fff;
    border: none;
    border-radius: 50%;
    padding: 6px;
    cursor: pointer;
    font-size: 26px;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
#darkModeToggle:focus {
    outline: none;
}
body.dark-mode #darkModeToggle {
    background: transparent;
    color: #fbbc04;
}
