@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap");

.wallet-adapter-button {
    background-color: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-family: DM Sans, Roboto, Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    height: 48px;
    line-height: 48px;
    padding: 0 24px;
    border-radius: 4px
}

.wallet-adapter-button-trigger {
    background-color: #512da8
}

.wallet-adapter-button:not([disabled]):focus-visible {
    outline-color: white
}

.wallet-adapter-button:not([disabled]):hover {
    background-color: #1a1f2e
}

.wallet-adapter-button[disabled] {
    background: #404144;
    color: #999;
    cursor: not-allowed
}

.wallet-adapter-button-end-icon,
.wallet-adapter-button-end-icon img,
.wallet-adapter-button-start-icon,
.wallet-adapter-button-start-icon img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px
}

.wallet-adapter-button-end-icon {
    margin-left: 12px
}

.wallet-adapter-button-start-icon {
    margin-right: 12px
}

.wallet-adapter-collapse {
    width: 100%
}

.wallet-adapter-dropdown {
    position: relative;
    display: inline-block
}

.wallet-adapter-dropdown-list {
    position: absolute;
    z-index: 99;
    display: grid;
    grid-template-rows: 1fr;
    grid-row-gap: 10px;
    padding: 10px;
    top: 100%;
    right: 0;
    margin: 0;
    list-style: none;
    background: #2c2d30;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .6);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    font-family: DM Sans, Roboto, Helvetica Neue, Helvetica, Arial, sans-serif
}

.wallet-adapter-dropdown-list-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px)
}

.wallet-adapter-dropdown-list-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: none;
    outline: none;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
    padding: 0 20px;
    width: 100%;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    height: 37px;
    color: #fff
}

.wallet-adapter-dropdown-list-item:not([disabled]):hover {
    background-color: #1a1f2e
}

.wallet-adapter-modal-collapse-button svg {
    align-self: center;
    fill: #999
}

.wallet-adapter-modal-collapse-button.wallet-adapter-modal-collapse-button-active svg {
    transform: rotate(180deg);
    transition: transform .15s ease-in
}

.wallet-adapter-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity .15s linear;
    background: rgba(0, 0, 0, .5);
    z-index: 1040;
    overflow-y: auto
}

.wallet-adapter-modal.wallet-adapter-modal-fade-in {
    opacity: 1
}

.wallet-adapter-modal-button-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 12px;
    cursor: pointer;
    background: #1a1f2e;
    border: none;
    border-radius: 50%
}

.wallet-adapter-modal-button-close:focus-visible {
    outline-color: white
}

.wallet-adapter-modal-button-close svg {
    fill: #777;
    transition: fill .2s ease 0s
}

.wallet-adapter-modal-button-close:hover svg {
    fill: #fff
}

.wallet-adapter-modal-overlay {
    background: rgba(0, 0, 0, .5);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0
}

.wallet-adapter-modal-container {
    display: flex;
    margin: 3rem;
    min-height: calc(100vh - 6rem);
    align-items: center;
    justify-content: center
}

@media (max-width:480px) {
    .wallet-adapter-modal-container {
        margin: 1rem;
        min-height: calc(100vh - 2rem)
    }
}

.wallet-adapter-modal-wrapper {
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    z-index: 1050;
    max-width: 400px;
    border-radius: 10px;
    background: #10141f;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .6);
    font-family: DM Sans, Roboto, Helvetica Neue, Helvetica, Arial, sans-serif;
    flex: 1 1
}

.wallet-adapter-modal-wrapper .wallet-adapter-button {
    width: 100%
}

.wallet-adapter-modal-title {
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    margin: 0;
    padding: 64px 48px 48px;
    text-align: center;
    color: #fff
}

@media (max-width:374px) {
    .wallet-adapter-modal-title {
        font-size: 18px
    }
}

.wallet-adapter-modal-list {
    margin: 0 0 12px;
    padding: 0;
    width: 100%;
    list-style: none
}

.wallet-adapter-modal-list .wallet-adapter-button {
    font-weight: 400;
    border-radius: 0;
    font-size: 18px
}

.wallet-adapter-modal-list .wallet-adapter-button-end-icon,
.wallet-adapter-modal-list .wallet-adapter-button-end-icon img,
.wallet-adapter-modal-list .wallet-adapter-button-start-icon,
.wallet-adapter-modal-list .wallet-adapter-button-start-icon img {
    width: 28px;
    height: 28px
}

.wallet-adapter-modal-list .wallet-adapter-button span {
    margin-left: auto;
    font-size: 14px;
    opacity: .6
}

.wallet-adapter-modal-list-more {
    cursor: pointer;
    border: none;
    padding: 12px 24px 24px 12px;
    align-self: flex-end;
    display: flex;
    align-items: center;
    background-color: transparent;
    color: #fff
}

.wallet-adapter-modal-list-more svg {
    transition: all .1s ease;
    fill: rgba(255, 255, 255, 1);
    margin-left: .5rem
}

.wallet-adapter-modal-list-more-icon-rotate {
    transform: rotate(180deg)
}

.wallet-adapter-modal-middle {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px 24px;
    box-sizing: border-box
}

.wallet-adapter-modal-middle-button {
    display: block;
    cursor: pointer;
    margin-top: 48px;
    width: 100%;
    background-color: #512da8;
    padding: 12px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    color: #fff
}

.dropdown {
    position: relative;
    display: inline-block
}

.dropdown-trigger {
    cursor: pointer
}

.dropdown-body-container {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000
}

.dropdown-body {
    margin-top: 3px;
    background-color: #1f2937;
    min-width: 120px;
    padding: 10px 3px;
    box-sizing: border-box;
    border-radius: 8px
}

:root {
    --color-bg1: #12181f;
    --color-bg2: #0b0f14;
    --color-bg3: #202933;
    --color-bg4: #29303a;
    --color-primary: #131a22;
    --color-primary-hover: #0f141a;
    --color-fg1: white;
    --color-fg2: rgb(224, 224, 224);
    --color-border: #eee;
    --padding-large: 2rem
}

body {
    font-family: Inter, sans-serif;
    background-image: linear-gradient(to bottom right, #0b0f14, #192330, #0b0f14);
    padding: 0;
    margin: 0;
    color: var(--color-fg2);
    /* max-width: 100vw; */
    /* overflow: hidden; */
    font-size: 17px
}

.container {
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.footer {
    padding: 10px;
    text-align: center
}

.tabs {
    border-radius: 10px;
    overflow: hidden
}

.tab,
.tabs {
    display: flex
}

.tab {
    cursor: pointer;
    flex: 1 1;
    padding: 15px;
    text-align: center;
    color: #ccc;
    background-color: rgba(31, 41, 55, .5);
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap
}

@media (max-width:450px) {
    .tab {
        font-size: .9em
    }
}

.navbar {
    background-color: rgba(0, 0, 0, .2);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(168, 85, 247, .2);
    padding: .8rem 1rem;
    justify-content: space-between;
    flex-direction: row;
    align-items: center
}

.navbar,
.top_right {
    display: flex
}

@media (max-width:450px) {
    .top_right {
        flex-direction: column;
        align-items: center
    }
}

@media (min-width:451px) {
    .top_right {
        flex-direction: row;
        align-items: center;
        gap: 2px
    }
}

.btn {
    all: unset;
    font-weight: 700;
    cursor: pointer;
    padding: .7rem 1rem;
    border-radius: .5rem;
    font-weight: 500;
    display: flex;
    justify-content: center;
    gap: 5px;
    align-items: center;
    border: 1px solid var(--color-border);
    transition: all .3s ease
}

.btn-linear {
    background-image: linear-gradient(90deg, #2563eb, #9333ea)
}

.btn-underline {
    color: #ccc;
    text-decoration: underline
}

.btn-plain span {
    color: #ccc;
    text-decoration: none
}

.btn-plain:hover span {
    color: white;
    transform: scale(1.02)
}

.btn-opacity {
    opacity: .6
}

.btn-opacity:hover {
    opacity: .7
}

.btn-primary {
    color: #333;
    font-weight: 700;
    background-image: linear-gradient(135deg, rgb(188, 204, 218) 20%, rgb(121, 169, 207), rgb(188, 204, 218), rgb(121, 169, 207));
    background-size: 200% auto;
    background-position: 100%;
    transition: background-position .5s ease;
    border: 1px solid #888;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    border-radius: 8px
}

.btn-primary:hover {
    background-position: 0
}

.btn-primary-submitting {
    color: #333;
    font-weight: 700;
    background-image: repeating-linear-gradient(135deg, rgb(127, 171, 207), rgb(188, 204, 218) 25%, rgb(127, 171, 207) 50%);
    background-size: 200% 200%;
    animation: marquee-effect .8s linear infinite;
    cursor: wait;
    text-align: center;
    font-size: 16px;
    border-radius: 8px
}

@keyframes marquee-effect {
    0% {
        background-position: 100% 100%
    }

    to {
        background-position: 0 0
    }
}

.btn-dark {
    background-color: var(--color-primary);
    border-color: #1f2b38
}

.btn-dark:hover {
    background-color: var(--color-primary-hover);
    border-color: #16a34a
}

.btn-red {
    background-color: #dc2626
}

.btn span {
    white-space: nowrap
}

.btn-lg {
    padding: .8rem 1.5rem
}

.btn-sm {
    font-weight: 400;
    padding: .3rem .6rem
}

.btn-sm span {
    font-size: 14px
}

.btn-sm .icon {
    width: 16px;
    height: 16px
}

.btn-block {
    width: 100%;
    box-sizing: border-box
}

.btn-lg span {
    font-size: 1.1rem;
    font-weight: 700
}

.icon {
    display: flex;
    justify-content: center;
    align-items: center
}

.icon svg {
    width: 20px;
    height: 20px
}

.icon_sm svg {
    width: 16px;
    height: 16px
}

.icon_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    background-color: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .6);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .8);
    transition: background-color .2s ease;
    cursor: pointer
}

.icon_btn:hover {
    background-color: rgba(255, 255, 255, .3);
    color: rgba(255, 255, 255, .8)
}

.input {
    width: 100%;
    box-sizing: border-box;
    background-color: rgba(31, 41, 55, .5);
    border: 1px solid #4b5563;
    border-radius: .5rem;
    padding: .75rem 1rem;
    color: white;
    transition: color .3s, border-color .3s;
    font-size: 17px
}

.input::placeholder {
    color: #9ca3af
}

.input:focus {
    border-color: #bebebe;
    outline: none
}

.card {
    background: linear-gradient(to bottom right, var(--color-bg3), var(--color-bg2));
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border-radius: 1rem;
    padding: 1.5rem 1.5rem 0;
    border: 1px solid #414955;
    box-sizing: border-box
}

@media (max-width:450px) {
    .card {
        width: calc(100% - 2rem);
        margin: 1rem
    }
}

@media (min-width:451px) {
    .card {
        width: 430px
    }
}

.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, .2);
    border-top-color: #bde5ff;
    border-radius: 50%;
    animation: spin 1s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(1turn)
    }
}

.withdraw_max {
    position: absolute;
    right: 60px;
    top: 13px;
    color: white;
    background-color: #000000;
    font-size: 12px;
    border-radius: 4px;
    padding: 2px 7px;
    cursor: pointer
}

.withdraw_max:hover {
    background-color: #888888
}

.user_panel_btn {
    display: flex;
    align-items: center;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, .5);
    border: 1px solid rgba(0, 0, 0, .5);
    padding: 5px;
    font-weight: 700;
    font-size: 12px
}

.user_panel_btn:hover {
    border-color: rgba(145, 255, 163, .5)
}

.btn-plain {
    border: none
}

.btn-plain .disconnect_btn,
.btn-plain .disconnect_btn:hover {
    color: #ff8d8d
}

.btn-outline {
    border-radius: 4px;
    border-color: #8b928c;
    box-sizing: border-box;
    background-color: var(--color-primary)
}

.btn-outline:hover {
    background-color: var(--color-primary-hover);
    border-color: #16a34a
}

.hover-zoomin:hover {
    transform: scale(1.2)
}

.wallet-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px;
    border-radius: 6px
}

.wallet-item:hover {
    background-color: #11151b
}