

html {
    color: rgb(202, 233, 255);
    background-color: rgb(7, 22, 45);
    background-image: radial-gradient(50% 500px at 50% -6%, rgba(0, 41, 102, 0.698) 0%, rgb(7, 24, 50) 50%, rgb(6, 22, 45) 100%), radial-gradient(circle at -70% 50%, rgba(0, 43, 102, 0.698) 0px, transparent 50%);
    background-attachment: fixed;
    width: 100%;
    height: 100%;
}

.swap-container {
    font-family: InterVariable, sans-serif;
    user-select: none;
    position: relative;
}

.swap {
    background-color: #0C264B;
    width: 468px;
    height: 404px;
    padding: 0.5rem;
    border-radius: 1rem;
    font-size: 16px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(27, 35, 54);
    box-shadow: rgba(75, 131, 251, 0.16) 0px 40px 120px 0px;
}

.swap-interior {
    
}

#swap-text {
    margin: 8px 12px 16px;
    min-width: 0px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    font-family: InterVariable, sans-serif;
    color: #A6C7E4;
    min-height: 24px;
    white-space: nowrap;
    font-variant: no-common-ligatures no-discretionary-ligatures no-historical-ligatures no-contextual;
    cursor: default;
}

.input {
    padding: 1rem 0px;
    background-color: rgb(7, 22, 45);
    margin-bottom: 0.25rem;
    width: 100%;
    padding: 16px;
    height: 124px;
    border-radius: 1rem;
    display:flex;
    border: 1px solid transparent;
    position: relative;
}

.input1:hover {
    -webkit-font-smoothing: antialiased
    transition: border-color 125ms ease 0s;
    border: 1px solid;
    border-color: #263048;
}

.input2 {
    user-select: default;
}

.connect-wallet {
    margin-top: 4px;
    width: 100%;
    height: 56px;
    color: #1D72F1;
    background-color: #1B3C75;
    border-radius: 1rem;
    text-align: center;
    line-height:56px;
    width:100%;
    height:56px;
    font-size:20px;
    font-weight: 600;
}

.connect-wallet:hover {
    background-color: rgba(104, 152, 243, 0.286);
    cursor: pointer;
}

.swap-center {
    box-sizing: border-box;
    grid-template-columns: 1fr;
    -webkit-box-align: center;
    align-items: center;
    display: grid;
    flex-flow: wrap;
    gap: 0.5rem;
    grid-auto-flow: column;
    -webkit-box-pack: justify;
    justify-content: space-between;
    font-size: 16px;
    color: #5C6684;
    align-items: center;
    text-align: center;
}

.eth-input {
    width: 100%;
    float: left;
    font-size: 2.25rem;
    margin: auto 0;
    margin: 0px;
    outline: none;
    overflow: hidden;
    padding: 0px;
    text-align: left;
    text-overflow: ellipsis;
    cursor: text;
    background-color: transparent;
    height: 44px;
    font-weight: 500;
    color: rgb(166,199,228);
}

.eth-input::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: rgb(92,102,132);
}
.eth-input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color: rgb(92,102,132);
   opacity:  1;
}
.eth-input::-moz-placeholder { /* Mozilla Firefox 19+ */
   color: rgb(92,102,132);
   opacity:  1;
}
.eth-input:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color: rgb(92,102,132);
}
.eth-input::-ms-input-placeholder { /* Microsoft Edge */
   color: rgb(92,102,132);
}

.eth-input::placeholder { /* Most modern browsers support this now. */
   color: rgb(92,102,132);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.eth-input:focus {
  color: rgb(166,199,228); /* text color when input is focused */
}

.eth-token {
    background-color: #283148;
    border-radius: 10rem;
    height: 34px;
    width: 88px;
    float: right;
    display: flex;
    align-items: center;
}

.eth-token:hover {
    cursor: pointer;
    background-color: #2F3951;
}

.eth-token div {
    justify-content: center; /* centers horizontally */
    align-items: center; /* centers vertically */
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 600;
    font-stretch: 100%;
    -webkit-font-smoothing: antialiased;
}

.eth-token img {
    height: 24px;
    width: 24px;
    float: left;
    margin: 6px;
}

.swap-input-header {
    width: 416px;
    height: 20px;
    font-size: 14px;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    color: #99A1BD;
    position: absolute;
}

.select-token {
    
}

.swap-input-footer {
    width: 416px;
    height: 20px;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    color: #99A1BD;
    position: absolute;
    bottom: 16px;
}

#input2-footer {
  position: absolute;
  bottom: 16px;
  display: flex;
  align-items: center;
}

.input2-price {
  font-weight: 400;
  color: #99A1BD;
}

.input2-percentage {
  font-weight: 400;
  color: #5C6684;
  margin-left: 4px;
}

.eth-token-select {
    background-color: #1D72F1;
    border-radius: 10rem;
    height: 34px;
    width: 165px;
    float: right;
    display: flex;
    align-items: center;
}

.eth-token-select:hover {
    cursor: pointer;
    background-color: #2577F0;
}

.eth-token-select div {
    display: flex;
    justify-content: center; /* centers horizontally */
    align-items: center; /* centers vertically */
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 600;
    font-stretch: 100%;
    -webkit-font-smoothing: antialiased;
    margin: auto;
    padding-left: 10px;
}

.eth-token-select img {
    height: 16px;
    width: 16px;
    float: right;
    right: 0;
    margin: 9px;
    -webkit-filter: invert(100%); /* Safari/Chrome */
    filter: invert(100%)
}





.token-select-container{
    height: 100%;
}


.token-select-container-header {
    align-items: center;
    color: rgb(166, 199, 228);
    height: 1.75rem;
    display: flex;
    -webkit-box-pack: start;
    justify-content: flex-start;
    margin: 0.5rem 0.75rem 0.75rem;
    position: relative;
    line-height: 24px;
    height: 28px;
    margin: 12px;
    margin-top: 8px;
    padding-top: 8px;
    display: flex;
    justify-content: center; /* centers horizontally */
    align-items: center; /* centers vertically */
}

.token-select-container-header img {
    height: 30px;
    width: 30px;
    right: 0;
    position: absolute;
}

.token-select-container-header img:hover {
    cursor: pointer;
}

.token-select-container-header div {
    font-size: 16px;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
}

.tokens {
    -webkit-box-align: center;
    align-items: center;
    display: flex;
    flex-flow: wrap;
    gap: 0.5rem;
    grid-auto-flow: column;
    -webkit-box-pack: start;
    justify-content: start;
    margin: 0px 1.25rem;
    column-gap: 8px;
    height: 84px;
}

.tokens div {
    -webkit-text-size-adjust: 100%;
    font-feature-settings: normal;
    font-variation-settings: normal;
    tab-size: 4;
    line-height: inherit;
    --tw-bg-opacity: 1;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    user-select: none;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    font-variant: no-common-ligatures no-discretionary-ligatures no-historical-ligatures no-contextual;
    -webkit-box-align: center;
    align-items: center;
    display: flex;
    flex-flow: wrap;
    gap: 0.25rem;
    grid-auto-flow: column;
    -webkit-box-pack: justify;
    justify-content: space-between;
    border: 1px solid rgb(27, 35, 54);
    border-radius: 1rem;
    color: rgb(166, 199, 228);
    cursor: pointer;
    padding: 0.5rem 0.75rem 0.5rem 0.5rem;
    box-sizing: border-box;
    font-family: InterVariable, sans-serif;
}

.tokens div:hover {
        -webkit-text-size-adjust: 100%;
    font-feature-settings: normal;
    font-variation-settings: normal;
    tab-size: 4;
    line-height: inherit;
    --tw-bg-opacity: 1;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    user-select: none;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    font-variant: no-common-ligatures no-discretionary-ligatures no-historical-ligatures no-contextual;
    -webkit-box-align: center;
    align-items: center;
    display: flex;
    flex-flow: wrap;
    gap: 0.25rem;
    grid-auto-flow: column;
    -webkit-box-pack: justify;
    justify-content: space-between;
    border: 1px solid rgb(27, 35, 54);
    border-radius: 1rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem 0.5rem 0.5rem;
    box-sizing: border-box;
    font-family: InterVariable, sans-serif;
    background-color: rgba(75, 131, 251, 0.24);
    border-color: rgb(75, 131, 251);
    color: rgb(75, 131, 251);
}

.tokens div img {
    -webkit-text-size-adjust: 100%;
    font-feature-settings: normal;
    font-variation-settings: normal;
    tab-size: 4;
    line-height: inherit;
    --tw-bg-opacity: 1;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    user-select: none;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    font-variant: no-common-ligatures no-discretionary-ligatures no-historical-ligatures no-contextual;
    color: rgb(166, 199, 228);
    cursor: pointer;
    border: 0 solid #e5e7eb;
    display: block;
    vertical-align: middle;
    max-width: 100%;
    background: radial-gradient(white 60%, rgba(255, 255, 255, 0) calc(70% + 1px));
    border-radius: 50%;
    box-shadow: white 0px 0px 1px;
    height: 1.25rem;
    width: 1.25rem;
    box-sizing: border-box;
    font-family: InterVariable, sans-serif;
}

.swap-center button {
    background-color: #283148;
    border-radius: 10rem;
    height: 34px;
    float: right;
    display: flex;
    align-items: center;
}

.swap-center button:hover {
    cursor: pointer;
    background-color: #2F3951;
}

.swap-center button div {
    justify-content: center; /* centers horizontally */
    align-items: center; /* centers vertically */
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 600;
    font-stretch: 100%;
    -webkit-font-smoothing: antialiased;
}

.swap-center button img {
    height: 24px;
    width: 24px;
    float: left;
    margin: 6px;
    border-radius: 50%;
}

#selected-token .down-arrow {
    height: 16px;
    width: 16px;
    float: right;
    right: 0;
    margin: 9px;
    margin-left: 4.5px;
    -webkit-filter: invert(100%); /* Safari/Chrome */
    filter: invert(100%)
}

.tokens-scrollable {
    overflow-y: scroll;
    height: 150px;
}

/* width */
.tokens-scrollable::-webkit-scrollbar {
  width: 8px;
}

/* Track */
.tokens-scrollable::-webkit-scrollbar-track {
  background: transparent;
}

/* Handle */
.tokens-scrollable::-webkit-scrollbar-thumb {
  background: #283147;
  border-radius: 5px;
}

/* Handle on hover */
.tokens-scrollable::-webkit-scrollbar-thumb:hover {
  
}

.scrollable-content {
    padding: 8px 20px;
    height: 56px;
    width: 100%;
    display: flex;
}

.scrollable-content:hover {
    background-color: #102037;
}

.scrollable-image {
    height: 36px;
    width: 36px;
    border-radius: 100%;
    position: relative;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    margin-left: 8px;
}

.scrollable-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.scrollable-symbol {
    color: rgb(166, 199, 228);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    font-family: InterVariable, sans-serif;
}

.scrollable-name {
    color: rgb(153, 161, 189);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
    font-family: InterVariable, sans-serif;
}

hr {
    margin-top: 20px;
    border-bottom-color: rgb(27, 35, 54);
    border-color: rgb(27, 35, 54);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
}

.search-token {
    width: 95%;
    background-color: rgb(7, 22, 45);
    border-color: rgb(27, 35, 54);
    border-width: 1px;
    border-radius: 16px;
    height: 52px;
    padding: 11px;
    margin: 20px 10px;
    cursor: text;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-token:hover {
    background-color: #152F54;
}

.search-token input {
    background-color: transparent;
    width: 100%;
    height: 100%;
    border: none;
    outline-width: 0;
    font-weight: 400;
    margin-left: 10px;
    color: #A4C5E2;
}

.search-token input::placeholder {
    color: #57617F;
}

.search-token img {
    pointer-events: none;
    width: 21px;
    height: 21px;
}