@import url("./blue_voltage_theme.min.css");

:root {
    --primary: #0558ee;
    --secondary: #d3e2ff;
    --success: #138a52;
    --info: #3d8bff;
    --warning: #fec730;
    --danger: #d6455d;
    --light: #f3f7ff;
    --dark: #041449;
}

::selection {
    background: #fec730;
    color: #041449;
}

a.text-primary,
.page-link,
.btn-link,
.text-primary {
    color: #0558ee !important;
}

a.text-primary:hover,
.page-link:hover,
.btn-link:hover,
.text-primary:hover {
    color: #003eaf !important;
}

.btn-primary,
.bg-primary,
.badge-primary,
.progress-bar,
.dropdown-item.active,
.dropdown-item:active,
.list-group-item.active,
.page-item.active .page-link,
.nav-pills .nav-link.active,
.nav-pills .show>.nav-link,
.custom-control-input:checked~.custom-control-label::before,
.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::before {
    background-color: #0558ee !important;
    border-color: #0558ee !important;
    color: #fff !important;
}

.btn-primary {
    background: linear-gradient(90deg, #003eaf 0%, #0558ee 100%) !important;
    box-shadow: 0 8px 18px -10px rgba(5, 88, 238, .8) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
    background: #003eaf !important;
    border-color: #003eaf !important;
    color: #fff !important;
    box-shadow: 0 0 0 .2rem rgba(5, 88, 238, .25) !important;
}

.btn-outline-primary {
    color: #0558ee !important;
    border-color: #0558ee !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active {
    background-color: #0558ee !important;
    border-color: #0558ee !important;
    color: #fff !important;
    box-shadow: 0 0 0 .2rem rgba(5, 88, 238, .2) !important;
}

.btn-warning {
    background-color: #fec730 !important;
    border-color: #fec730 !important;
    color: #041449 !important;
}

.btn-warning:hover,
.btn-warning:focus {
    background-color: #f2b705 !important;
    border-color: #f2b705 !important;
    color: #041449 !important;
}

.form-control:focus,
.custom-select:focus {
    border-color: #8fb4ff !important;
    box-shadow: 0 0 0 .2rem #eaf1ff !important;
}

.table-primary,
.alert-primary {
    background-color: #eaf1ff !important;
    border-color: #d3e2ff !important;
    color: #041449 !important;
}

.border-primary {
    border-color: #0558ee !important;
}

.text-secondary {
    color: #6c7aa0 !important;
}

body,
.pc-container,
.container-fluid.py-4.bg-white {
    background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%) !important;
    color: #3d4b72;
}

/* Headings inherit their colour (the base theme's rule) so they stay readable on
   coloured cards, and use the page font: the base theme asks for "Nunito", which is
   never loaded, so browsers fell back to a serif font. */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
}

.card,
.account-card,
.alert,
.modal-content,
.rounded-lg,
.rounded-3 {
    border-radius: 18px !important;
}

.card,
.account-card {
    border-color: #e0e7f5 !important;
}

.pc-sidebar,
.side-nav {
    background: linear-gradient(180deg, #041449 0%, #012472 55%, #00318e 100%) !important;
    box-shadow: 18px 0 40px rgba(4, 20, 73, .18) !important;
}

.pc-sidebar .pc-navbar>.pc-item>.pc-link,
.side-nav .side-nav-item>.side-nav-link {
    color: rgba(201, 216, 248, .92) !important;
}

.pc-sidebar .pc-navbar>.pc-item>.pc-link:hover,
.pc-sidebar .pc-navbar>.pc-item:hover>.pc-link,
.pc-sidebar .pc-navbar>.pc-item.active>.pc-link,
.pc-sidebar .pc-navbar>.pc-item.pc-trigger>.pc-link,
.side-nav .side-nav-item>.side-nav-link:hover,
.side-nav .side-nav-item:hover>.side-nav-link,
.side-nav .side-nav-item.active>.side-nav-link,
.side-nav .side-nav-link[aria-expanded="true"] {
    background: linear-gradient(90deg, #003eaf 0%, #0558ee 100%) !important;
    color: #fff !important;
    border-radius: 14px;
    box-shadow: inset 3px 0 0 #fec730, 0 10px 24px rgba(0, 0, 0, .18) !important;
}

.pc-sidebar .pc-navbar>.pc-item>.pc-link:hover .pc-mtext,
.pc-sidebar .pc-navbar>.pc-item:hover>.pc-link .pc-mtext,
.pc-sidebar .pc-navbar>.pc-item.active>.pc-link .pc-mtext,
.pc-sidebar .pc-navbar>.pc-item.pc-trigger>.pc-link .pc-mtext,
.pc-sidebar .pc-navbar>.pc-item>.pc-link:hover .pc-micon,
.pc-sidebar .pc-navbar>.pc-item:hover>.pc-link .pc-micon,
.pc-sidebar .pc-navbar>.pc-item.active>.pc-link .pc-micon,
.pc-sidebar .pc-navbar>.pc-item.pc-trigger>.pc-link .pc-micon,
.side-nav .side-nav-item>.side-nav-link:hover .menu-text,
.side-nav .side-nav-item:hover>.side-nav-link .menu-text,
.side-nav .side-nav-item.active>.side-nav-link .menu-text,
.side-nav .side-nav-link[aria-expanded="true"] .menu-text,
.side-nav .side-nav-item>.side-nav-link:hover .menu-icon,
.side-nav .side-nav-item:hover>.side-nav-link .menu-icon,
.side-nav .side-nav-item.active>.side-nav-link .menu-icon,
.side-nav .side-nav-link[aria-expanded="true"] .menu-icon {
    color: #fff !important;
    opacity: 1 !important;
}

.pc-sidebar .pc-submenu>.pc-item>.pc-link:hover,
.pc-sidebar .pc-submenu>.pc-item.active>.pc-link,
.side-nav .sub-menu .side-nav-item>.side-nav-link:hover,
.side-nav .sub-menu .side-nav-item.active>.side-nav-link {
    background: rgba(211, 226, 255, .14) !important;
    color: #fff !important;
    border-radius: 12px;
}

.shadow.rounded-lg.border-0.btn-primary.text-white,
.modern-wallet,
.card.btn-primary.text-white {
    background: radial-gradient(circle at top right, rgba(254, 199, 48, .18), transparent 34%), linear-gradient(120deg, #00318e 0%, #0558ee 100%) !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 22px 22px 22px 4px !important;
    box-shadow: 0 22px 46px rgba(4, 20, 73, .24) !important;
}

.modern-wallet .cashback-container,
.shadow.rounded-lg.border-0.btn-primary.text-white .cashback-container {
    background: rgba(255, 255, 255, .14) !important;
    border: 1px solid rgba(255, 255, 255, .1) !important;
    border-radius: 18px !important;
}

.modern-wallet .btn-light,
.shadow.rounded-lg.border-0.btn-primary.text-white .btn-light {
    background: #fff !important;
    border-color: #fff !important;
    color: #041449 !important;
}

.modern-wallet .btn-dark,
.shadow.rounded-lg.border-0.btn-primary.text-white .btn-dark {
    background: #041449 !important;
    border-color: #041449 !important;
    color: #fff !important;
}

.modern-wallet .btn-warning,
.shadow.rounded-lg.border-0.btn-primary.text-white .btn-warning {
    background: #fec730 !important;
    border-color: #fec730 !important;
    color: #041449 !important;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    background: linear-gradient(135deg, #ffffff 0%, #eaf1ff 100%) !important;
    border-color: #d3e2ff #d3e2ff #fff !important;
    color: #003eaf !important;
    box-shadow: 0 10px 22px rgba(5, 88, 238, .12) !important;
}

.nav-tabs .nav-link {
    color: #6c7aa0 !important;
    border-radius: 14px 14px 0 0 !important;
}

.alert-info.bg-info-light,
.alert.alert-info {
    background: linear-gradient(135deg, #eaf1ff 0%, #f3f7ff 100%) !important;
    border: 1px solid #d3e2ff !important;
    color: #041449 !important;
}
