@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --bs-font-sans-serif: Inter,Helvetica,"sans-serif";
    --greenRecash: #8dc63f;
    --grayRecash: #58595b;
}

html, body, app, .page {
    font-family: Inter,Helvetica,"sans-serif" !important;
}

html, body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color);
    }

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}

.pointer {
    cursor: pointer !important;
}

.fit-content {
    width: fit-content !important;
}

.mw-fit-content {
    min-width: 150px;
    max-width: fit-content;
    width: 50vw;
}

#sidebar, .mw-240 {
    max-width: 240px !important;
    min-width: 240px !important;
}

#sidebar {
    transition: none !important;
}

    #sidebar .nav-link.active {
        background-color: white;
        border-radius: 0.5rem;
        color: var(--primaryColor) !important;
    }

.page {
    background-color: rgba(0,0,0,0.1);
    overflow-y: auto;
    min-height: 100vh;
}

.content.dxbl-gridlayout-item {
    overflow-y: auto;
}

#collapsed-header {
    display: none;
}

    #collapsed-header.show-header {
        display: flex !important;
    }

.dxbl-grid .dxbl-grid-table .dxbl-grid-empty-cell {
    width: 0 !important;
}

.text-white, .white, .white:hover, .btn-active-dark:focus, .btn-active-dark:hover {
    color: white !important;
}

.btn:hover, .btn-active-dark:hover {
    opacity: 0.8 !important;
}

.label {
    font-weight: normal;
}

.filter-btn {
    border: 0;
}

.card {
    border-radius: 1rem !important;
}

.cardLink {
    cursor: pointer;
}

    .cardLink:hover {
        opacity: 0.8;
    }

.cardIcon {
    min-width: 47px;
    text-align: center;
}

.bg-white.cardLink:hover {
    opacity: 0.8;
    background-color: var(--bs-light) !important;
}

.listProducts tbody tr:last-child {
    border-bottom: 3px solid var(--primaryColor) !important
}

.bg-card-clean {
    border-left: 5px solid var(--primaryColor) !important;
}

.page-link.active, .active > .page-link {
    border: 0;
}

.fw-bolder, .fw-900 {
    font-weight: 800 !important;
}

.badge {
    letter-spacing: 0.015rem;
}

button.btn {
    min-height: 36px !important;
}

.card-credit {
    width: min(100%, 30);
    height: 200px;
    border-radius: 10px;
    perspective: 1000px;
}

@media (min-width: 1024px) {
    .card-credit {
        width: min(100%, 400px);
    }
}

.card-credit:hover .card-inner, .card-credit.flipped .card-inner {
    transform: rotateY(180deg);
}


.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: transform 600ms ease;
    transform-style: preserve-3d;
    box-shadow: 0 0 25px 2px rgba(black, 0.2);
}

.card-front,
.card-back {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    backface-visibility: hidden;
}

.card-front {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 300ms ease-in-out;
}

.card-back {
    transform: rotateY(180deg);
}

    .card-back::before {
        background-image: linear-gradient(to right top, #a3d4e7, #73c3e1);
        content: "";
        position: absolute;
        top: 40%;
        left: 20%;
        width: 180%;
        height: 120%;
        border-radius: 100%;
        filter: blur(10px);
        opacity: 0.15;
    }

    .card-back::after {
        content: "";
        position: absolute;
        top: 15%;
        width: 100%;
        height: 40px;
        background-image: linear-gradient(to right top, #021318, #07191f, );
    }

.card-glow {
    position: absolute;
    top: -140px;
    left: -65px;
    height: 200px;
    width: 400px;
    background: rgba(#fff, 0.4);
    filter: blur(10px);
    border-radius: 100%;
    transform: skew(-15deg, -15deg);
}

.card-contactless {
    position: absolute;
    right: 15px;
    top: 55px;
    transform: scale(0.5);
}

.card-chip {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 45px;
    height: 34px;
    border-radius: 5px;
    background-color: #ffda7b;
    overflow: hidden;
}

    .card-chip::before {
        content: "";
        position: absolute;
        left: 49%;
        top: -7%;
        transform: translateX(-50%);
        background: #ffda7b;
        border: 1px solid #a27c1f;
        width: 25%;
        height: 110%;
        border-radius: 100%;
        z-index: 2;
    }

    .card-chip::after {
        content: "";
        position: absolute;
        top: 30%;
        left: -10%;
        background: transparent;
        border: 1px solid #a27c1f;
        width: 120%;
        height: 33%;
    }

.card-holder {
    position: absolute;
    left: 25px;
    bottom: 30px;
    color: white;
    font-size: 14px;
    letter-spacing: 0.02em;
    filter: drop-shadow(1px 1px 1px rgba(black, 0.3));
}

.card-number {
    position: absolute;
    left: 25px;
    bottom: 65px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.2em;
    filter: drop-shadow(1px 1px 1px rgba(black, 0.3));
}

.card-valid {
    position: absolute;
    right: 25px;
    bottom: 30px;
    color: white;
    font-size: 14px;
    letter-spacing: 0.02em;
    filter: drop-shadow(1px 1px 1px rgba(black, 0.3));
}

.card-text-seccode {
    position: absolute;
    top: 90px;
    left: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 14px;
}

.card-seccode {
    position: absolute;
    top: 120px;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 17px;
    color: white;
    background-color: rgb(0, 0, 0);
    text-align: center;
    font-size: 24px;
    padding: 2rem;
}
