:root {
    --primary-color: #40b1c0;
    --secondary-color: #0e1d49;
    --primary-color-highlight: #07B4C2;
}

[onclick] {
    cursor: pointer;
}

body {
    overflow: auto;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

.float-right {
    float: right;
}

::-webkit-scrollbar {
    width: 5px;
    display: block;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #0e1d49;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #0e1d49;
}

.display-centered {
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.display-none {
    display: none !important;
}

.apexcharts-tooltip {
    color: white !important;
}

/* START - General Theme Adjusts */
#login-screen .btn {
    height: 50px;
    border-radius: 40px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.main-wrapper {
    flex-direction: column;
}

.daterangepicker .ranges li.active {
    background-color: var(--primary-color);
}

.card .card-title {
    font-weight: 400;
    font-size: 0.8rem;
}

.card-big-number {
    font-size: 1.5rem;
}

.global-funnel {
    gap: 15%;
}

.container-funnel {
    clip-path: polygon(0 0, 100% 0, 78% 100%, 22% 100%);
    row-gap: 2px;
}

.b-shadow-circle {
    box-shadow: 0 2px 8px -2px #9c9c9c;
}

/* END - General Theme Adjusts */

/* START - Login */
.full-height-container {
    height: 100vh;
}

.full-height-row {
    height: 100%;
}

.auth-form-wrapper {
    padding: 40px;
    width: 100%;
    max-width: 400px;
}

.login-logo {
    width: 240px;
}

.login-image {
    background-image: url('../assets/images/bg-login.png');
    background-size: cover;
    background-position: center;
    height: 100%;
}

@media (max-width: 768px) {
    .login-image {
        height: 25%;
    }
}

.form-control:focus {
    border: 2px solid var(--primary-color);

}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.text-link {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* END - Login */

.bg-success {
    background-color: rgb(6 180 194) !important;
}

.sidebar .sidebar-body .nav .nav-item.active {
    color: #0e1d49;
    border-left: solid 3px #06b4c2;
    padding-left: 0.5rem;
    position: relative;
    left: -0.7rem;
}

.btn-group-simulation {
    display: flex;
    gap: 4px;
}


.btn-group-simulation .btn-primary.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff !important;
    font-weight: 400;
}

.btn-group-simulation .btn-primary.active:hover {
    background-color: var(--primary-color-highlight);
    border-color: var(--primary-color-highlight);
    color: #ffffff !important;
    font-weight: 400;
}

.btn-group-simulation .btn-primary {
    background-color: #e9e9e9;
    color: #0e1d497a !important;
    border-color: #dddddd00;
    padding: 4px 10px;
}

.btn-group-simulation .btn-primary:first-of-type {
    border-radius: 20px 0 0 20px;
}

.btn-group-simulation .btn-primary:last-of-type {
    border-radius: 0px 20px 20px 0px;
}


.btn-group-simulation .btn-primary:hover {
    background-color: #dddddd;
    color: var(--secondary-color) !important;
    border-color: #dddddd;
}


.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgb(255, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.circle span {
    font-size: 24px;
    display: block;
    text-align: center;
}

.circle small {
    font-size: 12px;
    display: block;
    text-align: center;
}

#bankCardsContainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.bank-card {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #f9f9f9;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease-in-out, border-color 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.bank-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 9px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}

.bank-card.selected {
    border: 2px solid var(--primary-color);
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 9px rgba(0, 0, 0, 0.2);
}

.bank-card.selected:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 9px rgba(0, 0, 0, 0.2);
}

.bank-card-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bank-logo {
    width: 60px;
    min-width: 60px;
    height: 60px;
    min-height: 60px;
    object-fit: contain;
    border-radius: 60px;
    border: solid 1px #ebebeb;
}

.bank-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.pos-bank-name {
    color: #343434;
    font-size: 1rem;
    display: block;
    font-weight: 900;
}

.pos-bank-indexer {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
}

#btnBackToSelect {
    font-size: 0.75rem;
    width: 160px;
    color: #0e1d49;
    background: none;
    border: none;
}

@media (max-width: 768px) {
    #bankCardsContainer {
        grid-template-columns: 1fr;
    }

    .pos-bank-indexer {
        position: inherit;
    }
}

.sidebar .sidebar-header,
.sidebar .sidebar-body {
    border-right: none;
}

.btn-sm {
    padding: .3rem .8rem .2rem .8rem;
    border-radius: 100px;
}

#reportrange i {
    color: var(--secondary-color);
}


.process-bank-name {
    font-size: 0.8rem;
    max-width: 80%;
    font-weight: normal;
}

.process-bank-value {
    font-weight: bold !important;
}

.badge {
    padding: .4em 1em .25em 1em;
    font-size: .85em;
    font-weight: 400;
    border-radius: 100px;
    max-height: 20px;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    width: fit-content;
}

.bg-secondary {
    background-color: var(--primary-color) !important;
}

.bg-secondary svg {
    margin-right: 5px;
    line-height: 0;
    height: 14px;
    position: relative;
    top: -1px;
    width: fit-content;
}

.table-icon-action {
    background: #efefef;
    padding: 6px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    border-radius: 4PX;
    align-items: center;
    justify-content: center;
}

.table-icon-action:hover {
    background: #dddddd;
}


.table-icon-action svg {
    color: #5c5c5c !important;
}

.swal2-styled.swal2-confirm {
    background: #f36 !important;
    border: solid 1px #f36 !important;
}

.swal2-popup .swal2-actions button.swal2-cancel {
    background-color: rgb(191 191 191) !important;
    border-color: rgb(191 191 191) !important;
}

.swal2-icon.swal2-warning {
    border-color: #ff3366;
    color: #ff3366;
}

.swal2-container.swal2-center {
    backdrop-filter: blur(4px);
    background: #7474749c;
}

.swal2-container.swal2-center>.swal2-popup {
    box-shadow: 0 0 30px -8px #00000096;
}

.btn {
    border-radius: 100px;
    padding: 4px 10px 2px 10px;
    min-width: 110px;
}

.table-icon-action-inline {
    background: #efefef;
    padding: 6px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    border-radius: 4PX;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    margin-right: 6px;
    position: relative;
    top: 4px;
}

.table-icon-action-inline:hover {
    background: #dddddd;
}

.table-icon-action-inline svg {
    margin-right: 10px;
    color: #5c5c5c !important;
}

.icon-back-white {
    color: white !important;
    width: 16px;
    position: relative;
    top: -1px;
    transition: transform 0.3s ease;
}

.btn:hover .icon-back-white {
    transform: translateX(-4px);
}

.bank-simplified-name {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-top: 4px;
}

.bankNameCard-info {
    display: flex;
    flex-direction: column;
}

.bank-group {
    row-gap: 1rem;
    display: flex;
    flex-direction: column;
}

.bank-group-title {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .card .btn {
        margin-left: 30px !important;
    }
}

.select2-container {
    max-width: 100%;
}

.select2-selection__clear{
    margin-right: 25px;
}


.pulse {
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
