﻿@import url(../fonts/stylesheet.css);
@import url(./notyf.min.css);

:root {
    /*--colorBackground: rgb(255, 255, 255);*/
    --colorBackground: rgb(247, 247, 247);
    /*--colorCardBG: rgb(24, 6, 53);*/
    --colorCardBG: rgb(255, 255, 255);
    --colorElementBG: rgb(255, 255, 255);
    --colorElementBGLight: rgb(255, 255, 255);
    --colorSecondary: rgb(176, 176, 255);
    --colorSecondaryHover: rgb(255, 255, 255);
    --colorPrimary: rgb(58, 58, 255);
    --colorPrimaryHover: rgb(0 122 255);
    --colorSuccessBG: #e5f9f1;
    --colorSuccess: #02c076;
    --colorError: rgb(240 68 56);
    --colorWarning: #FDCE82;
    --colorTextPrimary: rgb(24, 6, 53);
    /*--colorTextSecondary: rgb(255, 255, 255);*/
    --colorTextSecondary: rgb(24, 6, 53);
    --colorTextTernary: rgb(255, 255, 255);
    --colorButtonPrimary: rgb(58, 58, 255);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-size: 16px;
    font-family: 'Rubik';
    font-weight: normal;
    font-style: normal;
    background-color: var(--colorBackground);
    color: var(--colorTextSecondary);
}

input,
button,
textarea,
select,
a {
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none;
    border: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

select {
	-moz-appearance: none;
	-webkit-appearance: none;
}
select::-ms-expand {
    display: none;
}

ul,
ol,
li {
    list-style: none;
}

img {
    display: block;
    width: auto;
    max-width: 100%;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.btn {
    cursor: pointer;
    display: inline-block;
    background-color: transparent;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn.is-loading {
    cursor: wait;
}

.btn img {
    height: 40px;
    margin: 0 auto;
}

.btn-primary {
    height: 32px;
    line-height: 32px;
    border-radius: 16px;
    background-color: var(--colorButtonPrimary);
    color: var(--colorTextTernary);
    padding: 0 20px;
    font-size: 14px;
    transition: background-color 0.32s ease-in-out 0s;
    border: 1px solid var(--colorPrimary);
}
.btn-primary:hover {
    background: linear-gradient(84.64deg, rgb(129, 254, 239) -7.37%, rgb(61, 61, 255) 34.14%, rgb(23, 6, 54) 84.93%);
    color: var(--colorTextTernary);
    border: 0px;
    transition: all 0.32s ease-in-out 0s;
    inset: 0px;
}
.btn-primary.btn-lg {
    height: 42px;
    line-height: 42px;
    border-radius: 21px;
    font-size: 18px;
}

.btn-secondary {
    height: 32px;
    line-height: 32px;
    border-radius: 16px;
    background-color: var(--colorSecondary);
    color: var(--colorTextPrimary);
    padding: 0 20px;
    font-size: 14px;
}
.btn-secondary:hover {
    background-color: var(--colorSecondaryHover);
}
.btn-secondary.btn-lg {
    height: 42px;
    line-height: 42px;
    border-radius: 21px;
    font-size: 18px;
}

.btn-primary.disabled {
    background-color: var(--colorPrimary) !important;
}
.btn-primary:hover.disabled {
    background-color: var(--colorPrimary) !important;
}
.btn-secondary.disabled {
    background-color: var(--colorSecondary) !important;
}
.btn-primary.disabled,
.btn-secondary.disabled {
    opacity: .2;
    cursor: not-allowed;
}


.btn-swap,
.btn-dropdown,
.btn-add {
    display: block;
    border-radius: 20px;
    cursor: pointer;
    border: none;
}

.btn-dropdown {
    width: 20px;
    height: 20px;
    background: url(../img/arrow-down.svg) no-repeat center;
    background-color: var(--colorPrimary);
    background-size: 12px;
}
.btn-dropdown:hover {
    background-color: var(--colorPrimaryHover);
}

.btn-swap {
    width: 40px;
    height: 40px;
    background: url(../img/swap.svg) no-repeat center;
    background-color: var(--colorSecondary);
    background-size: 20px;
}
.btn-swap:hover {
    background-color: var(--colorSecondaryHover);
}

.btn-add {
    width: 20px;
    height: 20px;
    background: url(../img/plus.svg) no-repeat center;
    background-color: var(--colorPrimary);
    background-size: 11px;
}
.btn-add:hover {
    background-color: var(--colorPrimaryHover);
}

.btn-link {
    text-transform: uppercase;
    color: var(--colorTextPrimary);
    background-color: var(--colorPrimary);
    height: 20px;
    line-height: 21px;
    border-radius: 10px;
    padding: 0 8px;
    font-size: 10px;
    font-weight: bold;
}
.btn-link:hover {
    background-color: var(--colorPrimaryHover);
}

.btn-icon {
    display: block;
    width: 15px;
    height: 15px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: auto;
    cursor: pointer;
}
.btn-icon.info {
    background-image: url(../img/info-icon.svg);
}
.btn-icon.close {
    background-image: url(../img/close-icon.svg);
}


.form-control {
    display: block;
    width: 100%;
    height: 42px;
    padding: 10px  10px 10px 10px;
    border: solid 1px var(--colorSecondary);
    border-radius: 21px;
    background-color: var(--colorElementBG);
    margin-bottom: 5px;
    font-size: 18px;
    color: var(--colorTextPrimary);
}
.form-control.invalid {
    border-color: var(--colorError);
}




.text-left {
    text-align: left !important;
}
.text-right {
    text-align: right !important;
}
.text-center {
    text-align: center !important;
}
.text-justify {
    text-align: justify !important;
}

.text-error {
    color: var(--colorError);
    font-size: 12px;
}

.d-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media only screen and (max-width: 900px) {
    .d-flex .Card + .Card {
        margin-top: 30px;
    }
}

@media only screen and (min-width: 901px) {
    .d-flex .Card + .Card {
        margin-left: 30px;
    }
}

.spinner {
    height: 100vh;
}


#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;
    color: var(--colorTextPrimary);
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.web3modal-modal-lightbox {
    z-index: 99 !important;
}
.web3modal-modal-card {
    background-color: var(--colorBackground) !important;
}
.web3modal-provider-container {
    background-color: var(--colorCardBG) !important;
}
.web3modal-provider-container:hover {
    background-color: var(--colorElementBG) !important;
}
.web3modal-provider-name {
    color: var(--colorTextPrimary) !important;
    font-weight: normal !important;
    text-transform: uppercase !important;
    font-size: 18px !important;
}
.web3modal-provider-description {
    color: var(--colorSecondary) !important;
    font-size: 14px !important;
}
.web3modal-provider-wrapper {
    border: solid 1px var(--colorCardBG) !important;
}
.web3modal-provider-wrapper:first-child {
    border-bottom: none !important;
}