:root {
    --primary-bg-color: #2aa7ef;
    --primary-bg-hover: #7fd4ff;
    --primary-bg-border: #2aa7ef;
}

html,
body,
body.light-theme {
    background: #e7eef6 !important;
    color: #1c2838 !important;
}

.main-header,
.main-sidebar,
.app-sidebar,
.sidebar,
.main-sidebar-header,
.main-header-left,
.main-navbar,
.responsive-navbar,
.main-sidemenu,
.side-menu {
    background: #f7fbff !important;
    border-color: #d3e0ee !important;
}

.side-menu__item,
.side-menu__label,
.main-content,
.breadcrumb-item,
.page-title {
    color: #1c2838 !important;
}

.header-logo .main-logo {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
    font-size: 0 !important;
}

.header-logo .desktop-logo {
    display: block !important;
    width: 64px !important;
    height: 64px !important;
    margin: 8px auto !important;
    font-size: 0 !important;
    color: transparent !important;
    background: url("../img/brand/logo.png") center / contain no-repeat !important;
}

.app.sidebar-mini.sidenav-toggled .header-logo .desktop-logo {
    display: none !important;
}

.app.sidebar-mini.sidenav-toggled .header-logo .mobile-logo {
    display: block !important;
    width: 40px !important;
    height: 40px !important;
    margin: 8px auto !important;
    font-size: 0 !important;
    background: url("../img/brand/logo.png") center / contain no-repeat !important;
}

.page-single .display-2,
.display-2.primary--text {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    background: url("../img/brand/logo.png") center / contain no-repeat !important;
    width: 132px;
    height: 132px;
    margin: 0 auto 12px;
    display: block !important;
}

.btn-primary,
.badge-primary {
    background-color: #e10600 !important;
    border-color: #e10600 !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.side-menu__item:hover,
.side-menu .slide .side-menu__item.active,
.side-menu .slide .side-menu__item.active:hover {
    background-color: #f5c518 !important;
    border-color: #f5c518 !important;
    color: #111 !important;
}

.side-menu__item:hover .side-menu__label,
.side-menu__item:hover .side-menu__icon,
.side-menu__item:hover .angle,
.side-menu .slide .side-menu__item.active .side-menu__label,
.side-menu .slide .side-menu__item.active .side-menu__icon,
.side-menu .slide .side-menu__item.active .angle,
body.dark-theme .side-menu .slide .side-menu__item.active,
body.dark-theme .side-menu .slide .side-menu__item.active .side-menu__label,
body.dark-theme .side-menu .slide .side-menu__item.active .side-menu__icon,
body.dark-theme .side-menu .slide .side-menu__item.active .angle {
    color: #111 !important;
    fill: #111 !important;
}

.form-control,
.custom-select,
select.form-control,
.form-select {
    background: #ffffff;
    color: #1c2838;
    border-color: #c5d4e4;
}

body.error-page1,
body.error-page1.bg-primary,
.page,
.page-single {
    background: radial-gradient(circle at top, #f8fbff 0%, #d5e4f2 62%) !important;
}

.card-sigin,
.main-card-signin,
.dropdown-menu,
.modal-content,
.table,
.table td,
.table th {
    background: #ffffff !important;
    color: #1c2838 !important;
    border-color: #d3e0ee !important;
}

.card-sigin,
.main-card-signin {
    border-radius: 16px;
}

.card-sigin label,
.main-card-signin label,
.custom-control-label,
.form-label,
.card-sigin a,
.main-card-signin a {
    color: #1c2838 !important;
}

.clickablesection {
    background: #121a27 !important;
    border: 2px solid #2aa7ef !important;
    border-radius: 12px;
    color: #f4f8fc !important;
}

.clickablesection label,
.clickablesection span,
.clickablesection p,
.clickablesection i {
    color: #f4f8fc !important;
}

.clickablesection.active {
    background: #7fd4ff !important;
    border-color: #2aa7ef !important;
    color: #062033 !important;
}

.clickablesection.active label,
.clickablesection.active span,
.clickablesection.active p,
.clickablesection.active i {
    color: #062033 !important;
}

.main-content .card,
.main-content .card .card-body,
.main-content .card .card-header,
.main-content .card .card-footer {
    background: #ffffff !important;
    color: #1c2838 !important;
    border-color: #d3e0ee !important;
}

.main-content .card h1,
.main-content .card h2,
.main-content .card h3,
.main-content .card h4,
.main-content .card h5,
.main-content .card h6,
.main-content .card p,
.main-content .card span,
.main-content .card small,
.main-content .card a:not(.btn),
.main-content .card label,
.main-content .card td,
.main-content .card th {
    color: #1c2838 !important;
}

.main-content .card .btn-primary {
    background: #e10600 !important;
    color: #fff !important;
    border-color: #e10600 !important;
}

.rocket-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: rgba(42, 167, 239, 0.16);
}

.rocket-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: #1478b8;
}

.btn .rocket-card-icon,
button .rocket-card-icon {
    width: 16px !important;
    height: 16px !important;
    margin: 0 6px 0 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    vertical-align: -2px;
}

.btn .rocket-card-icon svg,
button .rocket-card-icon svg {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
}

.main-content .btn > i,
.main-content button.btn > i {
    font-size: 14px !important;
    line-height: 1 !important;
}

body.dark-theme,
body.dark-theme.light-theme {
    background: #070b14 !important;
    color: #f4f7fb !important;
}

body.dark-theme .main-header,
body.dark-theme .main-sidebar,
body.dark-theme .app-sidebar,
body.dark-theme .sidebar,
body.dark-theme .main-sidebar-header,
body.dark-theme .main-header-left,
body.dark-theme .main-navbar,
body.dark-theme .responsive-navbar,
body.dark-theme .main-sidemenu,
body.dark-theme .side-menu {
    background: #101826 !important;
    border-color: #243044 !important;
}

body.dark-theme .side-menu__item,
body.dark-theme .side-menu__label,
body.dark-theme .main-content,
body.dark-theme .breadcrumb-item,
body.dark-theme .page-title {
    color: #f4f7fb !important;
}

body.dark-theme .form-control,
body.dark-theme .custom-select,
body.dark-theme select.form-control,
body.dark-theme .form-select {
    background: #070b14;
    color: #f4f7fb;
    border-color: #314158;
}

body.dark-theme.error-page1,
body.dark-theme.error-page1.bg-primary,
body.dark-theme .page,
body.dark-theme .page-single {
    background: radial-gradient(circle at top, #1a2740 0%, #070b14 58%) !important;
}

body.dark-theme .card-sigin,
body.dark-theme .main-card-signin,
body.dark-theme .dropdown-menu,
body.dark-theme .modal-content,
body.dark-theme .table,
body.dark-theme .table td,
body.dark-theme .table th {
    background: #101826 !important;
    color: #f4f7fb !important;
    border-color: #243044 !important;
}

body.dark-theme .card-sigin label,
body.dark-theme .main-card-signin label,
body.dark-theme .custom-control-label,
body.dark-theme .form-label,
body.dark-theme .card-sigin a,
body.dark-theme .main-card-signin a {
    color: #d5deea !important;
}

body.dark-theme .main-content .card,
body.dark-theme .main-content .card .card-body,
body.dark-theme .main-content .card .card-header,
body.dark-theme .main-content .card .card-footer {
    background: #101826 !important;
    color: #f5f8fc !important;
    border-color: #2aa7ef !important;
}

body.dark-theme .main-content .card h1,
body.dark-theme .main-content .card h2,
body.dark-theme .main-content .card h3,
body.dark-theme .main-content .card h4,
body.dark-theme .main-content .card h5,
body.dark-theme .main-content .card h6,
body.dark-theme .main-content .card p,
body.dark-theme .main-content .card span,
body.dark-theme .main-content .card small,
body.dark-theme .main-content .card a:not(.btn),
body.dark-theme .main-content .card label,
body.dark-theme .main-content .card td,
body.dark-theme .main-content .card th {
    color: #f5f8fc !important;
}

body.dark-theme .rocket-card-icon svg {
    stroke: #7fd4ff;
}

table.rocket-device-notes {
    width: 100% !important;
}

table.rocket-device-notes .col-narrow-id {
    width: 52px !important;
    white-space: nowrap;
}

table.rocket-device-notes .col-narrow-device {
    width: 108px !important;
    white-space: nowrap;
}

table.rocket-device-notes .col-narrow-action {
    width: 1% !important;
    white-space: nowrap;
}

table.rocket-device-notes .col-narrow-action .btn,
table.rocket-device-notes .col-narrow-action a {
    margin: 1px !important;
    padding: 4px 6px !important;
}

table.rocket-device-notes .device-note-col,
table.rocket-device-notes .device-note-cell {
    width: 32% !important;
    min-width: 240px;
}

.rocket-status-filter {
    width: auto;
    min-width: 128px;
    margin-right: 8px;
    height: 38px;
}

.device-note-input {
    width: 100%;
    min-height: 38px;
    resize: vertical;
    border: 1px solid #8fb4d6;
    border-radius: 6px;
    background: #ffffff;
    color: #1c2838;
    padding: 4px 8px;
    font-size: 13px;
}

.device-note-status {
    display: block;
    min-height: 14px;
    margin-top: 2px;
    font-size: 11px;
    color: #1a7f4b;
}

body.dark-theme .device-note-input {
    background: #070b14 !important;
    color: #f4f7fb !important;
    border-color: #3d5570 !important;
}

body.dark-theme .device-note-status {
    color: #8ee0b2 !important;
}

.rocket-device-alerts {
    margin: 0 0 16px;
    padding: 14px 16px;
    border: 1px solid #e10600;
    border-radius: 10px;
    background: #fff4f4;
    color: #1c2838;
}

.rocket-device-alerts p {
    margin: 0 0 8px;
}

.rocket-device-alerts button {
    border: 0;
    border-radius: 6px;
    background: #e10600;
    color: #ffffff;
    padding: 6px 12px;
    cursor: pointer;
}

body.dark-theme .rocket-device-alerts {
    background: #2a1216 !important;
    color: #f4f7fb !important;
}

.rocket-playlist-icon {
    display: inline-flex;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    vertical-align: -2px;
}

.rocket-playlist-icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

.main-content .card a.btn .rocket-playlist-icon,
.main-content .card a.btn .rocket-playlist-icon svg,
.main-content .card .btn .rocket-playlist-icon,
.main-content .card .btn .rocket-playlist-icon svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.main-content .card a.btn .rocket-playlist-count,
body.dark-theme .main-content .card a.btn .rocket-playlist-count {
    display: inline-block;
    min-width: 18px;
    margin-left: 6px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ffffff !important;
    color: #0b4f86 !important;
    font-size: 11px;
    line-height: 16px;
    text-align: center;
}

.rocket-extra-playlists {
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid #d5e2ef;
    border-radius: 12px;
    background: #ffffff;
}

.rocket-extra-playlists h3 {
    margin: 0 0 6px;
    color: #1c2838;
    font-size: 16px;
}

.rocket-extra-playlists p {
    margin: 0 0 12px;
    color: #4d6074;
}

.rocket-extra-list {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.rocket-extra-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e6eef6;
    color: #1c2838;
}

.rocket-extra-form {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
    gap: 8px;
    align-items: end;
}

.rocket-extra-form label {
    display: block;
    margin-bottom: 4px;
    color: #4d6074;
    font-size: 12px;
}

.rocket-extra-form input,
.rocket-extra-form select {
    width: 100%;
    height: 38px;
    padding: 6px 10px;
    border: 1px solid #c9d7e6;
    border-radius: 8px;
    background: #ffffff;
    color: #1c2838;
}

.rocket-extra-form button,
.rocket-extra-list button {
    height: 38px;
    border: 0;
    border-radius: 8px;
    background: #e10600;
    color: #ffffff;
    padding: 0 12px;
    cursor: pointer;
}

.rocket-extra-list button {
    height: 30px;
    background: #b42318;
}

body.dark-theme .rocket-extra-playlists {
    background: #101826;
    border-color: #243044;
}

body.dark-theme .rocket-extra-playlists h3,
body.dark-theme .rocket-extra-playlists p,
body.dark-theme .rocket-extra-list li,
body.dark-theme .rocket-extra-form label {
    color: #f4f7fb !important;
}

body.dark-theme .rocket-extra-form input,
body.dark-theme .rocket-extra-form select {
    background: #0c1422;
    border-color: #2a3a52;
    color: #f4f7fb;
}

@media (max-width: 1100px) {
    .rocket-extra-form {
        grid-template-columns: 1fr 1fr;
    }
}
