.astralis-theme {
    color: #e6edf7;
    background:
        radial-gradient(circle at top right, rgba(45, 127, 249, 0.18), transparent 28%),
        radial-gradient(circle at top left, rgba(17, 197, 255, 0.12), transparent 24%),
        linear-gradient(180deg, #09111b 0%, #0d1724 100%);
    --astralis-line: #486689;
    --astralis-line-soft: rgba(120, 158, 201, 0.4);
    --astralis-line-glow: rgba(165, 203, 242, 0.08);
}

.astralis-theme a {
    color: #61b5ff;
}

.astralis-theme a:hover,
.astralis-theme a:focus {
    color: #97ceff;
}

.astralis-theme .header {
    background: linear-gradient(180deg, #09111b 0%, #111c2c 100%);
    border-bottom: 1px solid #1f314a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.astralis-theme .title {
    background: linear-gradient(180deg, #111c2c 0%, #162437 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid #223851;
}

.astralis-theme .title h3 {
    color: #f2f7ff;
}

.astralis-theme .top-nav .dropdown a.dropdown-toggle,
.astralis-theme .top-nav .dropdown a.dropdown-toggle:focus {
    color: #c6d8ec !important;
}

.astralis-theme .top-nav .dropdown a.dropdown-toggle:hover {
    color: #ffffff !important;
}

.astralis-theme .nav-content nav.navbar,
.astralis-theme .nav-content div.navbar.pagination {
    background: linear-gradient(180deg, #142235 0%, #101b2b 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid #223851;
}

.astralis-theme .nav-content .navbar-nav > li > a.nav-link,
.astralis-theme .nav-content .nav-tabs .navbar-nav > li > a,
.astralis-theme .nav-tabs .nav-content .navbar-nav > li > a {
    color: #cad8e8 !important;
}

.astralis-theme .nav-content nav.navbar .navbar-nav > li > a:hover,
.astralis-theme .nav-content nav.navbar .navbar-nav > .active > a,
.astralis-theme .nav-content nav.navbar .navbar-nav > .open > a {
    color: #ffffff !important;
    background-color: rgba(97, 181, 255, 0.08);
}

.astralis-theme .dropdown-menu,
.astralis-theme .top-nav .dropdown .dropdown-menu {
    background: #162438;
    border: 1px solid #28405f;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.astralis-theme .dropdown-item,
.astralis-theme ul.dropdown-menu li a {
    color: #d9e5f4;
}

.astralis-theme .dropdown-item:focus,
.astralis-theme ul.dropdown-menu li a:focus,
.astralis-theme .dropdown-item:hover,
.astralis-theme ul.dropdown-menu li a:hover,
.astralis-theme .dropdown-item:active,
.astralis-theme ul.dropdown-menu li a:active {
    background: #20324b;
    color: #ffffff;
}

.astralis-theme .card,
.astralis-theme .panel,
.astralis-theme .card-blesta,
.astralis-theme .panel-blesta,
.astralis-theme .well {
    background: linear-gradient(180deg, #111b2b 0%, #0e1725 100%);
    color: #e6edf7;
    border: 1px solid var(--astralis-line) !important;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px var(--astralis-line-glow);
}

.astralis-theme .card-blesta > .card-header,
.astralis-theme .panel .card-blesta > .panel-heading {
    color: #f7fbff;
    background: linear-gradient(180deg, #243b5b 0%, #1c2f49 100%);
    border-bottom: 1px solid #2b4565;
}

.astralis-theme .card-body h4,
.astralis-theme .panel .panel-body h4 {
    border-bottom-color: var(--astralis-line);
}

.astralis-theme .card-links > li,
.astralis-theme .panel-links > li,
.astralis-theme .card-links > .active,
.astralis-theme .panel-links > .active,
.astralis-theme .card-steps a.active {
    color: #aebfd3;
}

.astralis-theme .card-links > li + li:before,
.astralis-theme .panel-links > li + li:before {
    color: #5f7591;
}

.astralis-theme .list-group-item {
    background: #121e2f;
    color: #e6edf7;
    border-color: var(--astralis-line-soft);
}

.astralis-theme .card > .list-group,
.astralis-theme .panel > .list-group,
.astralis-theme .card > hr,
.astralis-theme .panel > hr {
    border-color: var(--astralis-line-soft);
}

.astralis-theme .list-group.list-options .list-group-item:hover,
.astralis-theme a.list-group-item:hover,
.astralis-theme a.list-group-item:focus,
.astralis-theme .list-group-item.active {
    background: #1a2b41 !important;
    color: #ffffff;
    border-color: #2a4566;
}

.astralis-theme .list-group-item.credits,
.astralis-theme .list-group-item h4 {
    color: #7ac3ff !important;
}

.astralis-theme table,
.astralis-theme .table-curved td,
.astralis-theme .table-curved th {
    border-color: var(--astralis-line-soft);
}

.astralis-theme .table > thead > tr > th,
.astralis-theme .table > tbody > tr > th,
.astralis-theme .table > tfoot > tr > th,
.astralis-theme .table > thead > tr > td,
.astralis-theme .table > tbody > tr > td,
.astralis-theme .table > tfoot > tr > td,
.astralis-theme .table-bordered th,
.astralis-theme .table-bordered td,
.astralis-theme .table-bordered thead th,
.astralis-theme .table-bordered thead td {
    border-color: var(--astralis-line-soft);
}

.astralis-theme .table {
    color: #e6edf7;
}

.astralis-theme .table > tbody > tr > td,
.astralis-theme .table > tbody > tr > th {
    font-size: 0.9rem;
}

.astralis-theme .table > thead > tr > th {
    color: #c9d8e8;
    background: #162438;
    box-shadow: inset 0 -1px 0 var(--astralis-line-glow);
}

.astralis-theme .table > thead > tr > th > a,
.astralis-theme .table > thead > tr > th > a:hover,
.astralis-theme .table > thead > tr > th > a:focus {
    color: #d8e7f8;
}

.astralis-theme .table-striped > tbody > tr:nth-child(2n + 1) > td,
.astralis-theme .table-striped > tbody > tr:nth-child(2n + 1) > th,
.astralis-theme .table-striped-alt > tbody > tr:nth-child(2n + 1) > td,
.astralis-theme .table-striped-alt > tbody > tr:nth-child(2n + 1) > th {
    background-color: #101a29;
}

.astralis-theme .table-striped > tbody > tr:nth-child(2n) > td,
.astralis-theme .table-striped > tbody > tr:nth-child(2n) > th,
.astralis-theme .table-striped-alt > tbody > tr:nth-child(2n) > td,
.astralis-theme .table-striped-alt > tbody > tr:nth-child(2n) > th,
.astralis-theme .table-striped-alt > tbody > tr:nth-child(4n + 3) > td,
.astralis-theme .table-striped-alt > tbody > tr:nth-child(4n + 3) > th {
    background-color: #132032;
}

.astralis-theme .table-hover > tbody > tr:hover > td,
.astralis-theme .table-hover > tbody > tr:hover > th {
    background-color: #27415f !important;
    color: #f4f8fd;
}

.astralis-theme .table-hover > tbody > tr:hover > td a,
.astralis-theme .table-hover > tbody > tr:hover > th a {
    color: #ffffff;
}

.astralis-theme .table > tbody > tr.expand_details > td,
.astralis-theme .table > tbody > tr.expand_details > td:hover,
.astralis-theme .table.multi_heading .email_header {
    background-color: #162438;
    border-top-color: var(--astralis-line);
}

.astralis-theme .table-curved td,
.astralis-theme .table-curved th,
.astralis-theme .table-curved tbody > tr > td:first-child {
    border-left-color: var(--astralis-line-soft);
}

.astralis-theme .table-curved td,
.astralis-theme .table-curved th {
    border-top-color: var(--astralis-line-soft);
}

.astralis-theme .form-control,
.astralis-theme .custom-select,
.astralis-theme textarea,
.astralis-theme select {
    color: #eef4fc;
    background-color: #0e1725;
    border-color: #2b4565;
}

.astralis-theme .form-control:focus,
.astralis-theme .custom-select:focus,
.astralis-theme textarea:focus,
.astralis-theme select:focus {
    color: #ffffff;
    background-color: #101c2c;
    border-color: #56aefe;
    box-shadow: 0 0 0 0.2rem rgba(86, 174, 254, 0.18);
}

.astralis-theme .form-control::placeholder,
.astralis-theme textarea::placeholder {
    color: #7f93ad;
}

.astralis-theme .input-group-text {
    color: #d5e2f1;
    background-color: #162438;
    border-color: #2b4565;
}

.astralis-theme .btn-light {
    color: #e7eef7;
    background: #182639;
    border-color: #2a425f;
}

.astralis-theme .btn-light:hover,
.astralis-theme .btn-light:focus {
    color: #ffffff;
    background: #21324a;
    border-color: #36577d;
}

.astralis-theme .btn-primary {
    color: #ffffff !important;
    background: linear-gradient(180deg, #2896ff 0%, #1973de 100%) !important;
    border-color: #1b79e9 !important;
}

.astralis-theme .btn-primary:hover,
.astralis-theme .btn-primary:focus {
    background: linear-gradient(180deg, #4ca7ff 0%, #2383f5 100%) !important;
    border-color: #2a87f5 !important;
}

.astralis-theme .btn-secondary {
    color: #f3f8ff !important;
    background: #1b2c44 !important;
    border-color: #2c4769 !important;
}

.astralis-theme .btn-secondary:hover,
.astralis-theme .btn-secondary:focus {
    background: #233751 !important;
    border-color: #3b5b81 !important;
}

.astralis-theme .btn-outline-primary {
    color: #7cc5ff;
    border-color: #3688d5 !important;
}

.astralis-theme .btn-outline-primary:hover,
.astralis-theme .btn-outline-primary:focus {
    color: #ffffff;
    background: #1973de;
    border-color: #1973de;
}

.astralis-theme .alert {
    color: #e6edf7;
    border-color: #2c4666;
}

.astralis-theme .alert-primary,
.astralis-theme .alert-info {
    background: rgba(40, 150, 255, 0.14);
    border-color: rgba(86, 174, 254, 0.35);
}

.astralis-theme .alert-success {
    background: rgba(35, 181, 122, 0.14);
    border-color: rgba(71, 201, 145, 0.35);
}

.astralis-theme .alert-warning {
    background: rgba(255, 194, 61, 0.16);
    border-color: rgba(255, 206, 102, 0.38);
    color: #fff2c5;
}

.astralis-theme .alert-danger {
    background: rgba(255, 94, 117, 0.16);
    border-color: rgba(255, 122, 142, 0.35);
}

.astralis-theme .top-focus-box {
    background: rgba(25, 115, 222, 0.12) !important;
    border: 1px solid rgba(86, 174, 254, 0.24);
    border-radius: 0.35rem;
}

.astralis-theme .pagination .page-link,
.astralis-theme div.pagination ul.pagination li a {
    color: #d7e5f4;
    background: #132032;
    border-color: #223851;
}

.astralis-theme .pagination .page-item.active .page-link,
.astralis-theme div.pagination ul.pagination li.active .page-link,
.astralis-theme div.pagination ul.pagination li.active a {
    color: #ffffff;
    background: #1f8bff;
    border-color: #1f8bff;
}

.astralis-theme .breadcrumbs .breadcrumb {
    background-color: #111c2c;
    border: 1px solid #223851;
}

.astralis-theme .close {
    color: #d2ddec;
    opacity: 0.85;
}

.astralis-theme .close:hover,
.astralis-theme .close:focus {
    color: #ffffff;
    opacity: 1;
}

.astralis-theme .loading_container {
    background-color: rgba(6, 12, 20, 0.7);
}

.astralis-theme .cards .card {
    color: #f2f7ff;
    background:
        linear-gradient(160deg, rgba(97, 181, 255, 0.1), rgba(17, 27, 43, 0) 42%),
        linear-gradient(180deg, #162438 0%, #101a29 100%);
    border-color: #29415f;
}

.astralis-theme .cards .card .card-content .card-value,
.astralis-theme .cards .card .card-content .card-label {
    color: inherit;
}

.astralis-theme .badge-secondary,
.astralis-theme .label-currency,
.astralis-theme .card-links .badge,
.astralis-theme .panel-links .badge {
    background-color: #41617f !important;
}

.astralis-theme hr,
.astralis-theme .col-border {
    border-color: var(--astralis-line-soft);
}

.astralis-theme .progress {
    background-color: #162438;
}

.astralis-theme .progress-bar {
    color: #ffffff;
}

.astralis-theme .text-muted,
.astralis-theme small,
.astralis-theme .text-secondary {
    color: #9bb0c7 !important;
}

.astralis-theme .modal-content {
    background: #111c2c;
    border: 1px solid #29415f;
}

.astralis-theme .modal-header,
.astralis-theme .modal-footer {
    border-color: #223851;
}

.astralis-theme .table a.text-danger,
.astralis-theme .text-danger {
    color: #ff8fa1 !important;
}
