.token-display {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1; /* Ensures consistent text alignment */
    margin: 0; /* Remove any default paragraph margins */
}

.token-display img {
    margin-right: 8px; /* Consistent spacing between logo and text */
}

.token-display span {
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.hero-wrapper {
    text-align: center;
}

.home-heading {
    margin-top: 25vh;
    font-size: 60px;
    margin-bottom: 5vh;
    font-weight: 400;
}

.cool-text {
    background: linear-gradient(to right, #1BA9A0, #2B6CCC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats {
    display: flex;
    justify-content: space-around;
    width: 100%;
    /* Ensure the parent container has enough width */
    margin-bottom: 5vh;
}

.stat {
    flex: 1;
    text-align: center;
    /* Center the content */
    box-sizing: border-box;
    /* Include padding and border in element's total width and height */
}

.counter {
    font-size: 2em;
    margin-bottom: 0.5em;
    background: linear-gradient(to right, #1BA9A0, #2B6CCC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: 20vh;
}

.cta-button {
    width: 150px;
    padding: 1em 2em;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Outfit';
    padding: 15px;
    border-radius: 5px;
    border: none;
    background: linear-gradient(to right, #1BA9A0, #2B6CCC);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-button.docs {
    width: 150px;
    padding: 1em 2em;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Outfit';
    padding: 15px;
    border-radius: 5px;
    border: solid 2px #1BA9A0;
    background: #0000009b;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-button:hover {
    transition: 1s;
    background: linear-gradient(to right, #056C66, #053B8D);
    cursor: pointer;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: url('overlay.png'), url('background-cropped.jpg');
    background-size: 1920px 1480px, cover;
    background-repeat: no-repeat;
    background-position: 50% 30%, top;
    color: white;
    background-color: rgb(3, 3, 3);
}

body.home-page {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    background-image: url('background-cropped.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 30%, top;
    color: white;
    background-color: rgb(3, 3, 3);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes warning {
    0% {
        transform: scale(1.1);
        opacity: 1;
    }

    50% {
        transform: scale(0.9);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.warning {
    animation: warning 1.5s ease-in-out infinite;
}

.spin {
    animation: rotate 2s linear infinite;
}

* {
    box-sizing: border-box;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    justify-content: center;
    padding: 15px 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: backdrop-filter 0.3s ease;
}

.navbar {
    max-width: 1000px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0);
    padding: 0 30px;
}

.navbar-container:not(.scrolled) {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.navbar-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo-site {
    margin-right: auto;
}

.nav-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.nav-links-hamburger {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    text-align: center;
}

.cta {
    margin-left: auto;
}

.nav-links a,
.nav-links-hamburger a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    background-image: linear-gradient(to right, #1BA9A0, #2B6CCC);
    background-repeat: no-repeat;
    background-size: 0 2px;
    background-position: 0 100%;
    transition: background-size .2s;
}

.nav-links-hamburger a {
    margin-top: 15px;
}

.nav-links a:hover,
.nav-links-hamburger a:hover {
    background-size: 120% 2px;
}

.nav-links a.selected,
.nav-links-hamburger a.selected {
    background-size: 120% 2px;
}

.hamburger {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    /* Change the color of the icon */
}

@media (max-width: 820px) {
    #chartContainer {
        height: 70vh !important;
    }
}

@media (max-width: 820px) {
    .nav-links {
        display: none;
    }

    .nav-links-hamburger {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .navbar-container:not(.scrolled) {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

@media (min-width: 821px) {
    .nav-links {
        display: flex;
    }

    .nav-links-hamburger {
        display: none;
    }

    .hamburger {
        display: none;
    }
}

h1 {
    margin-top: 60px;
    text-align: center;
    font-size: 2.5em;
}

h2 {
    font-size: 26px;
    margin-top: 0;
    margin-bottom: 20px;
}

.subtitle {
    text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
}

.main-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* Add this line */
}

.main-content>* {
    flex: 1;
    margin: 0 10px;
}

.main-content> :first-child {
    margin-left: 0;
}

.main-content> :last-child {
    margin-right: 0;
}

@media (max-width: 980px) {
    .main-content {
        flex-direction: column;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .left-section {
        margin-bottom: 20px;
        width: 100%;
    }

    .right-section {
        width: 100%;
    }

    .container {
        max-width: 500px;
        margin: 0 auto;
        padding: 20px;
    }

    .main-content>* {
        flex: none;
        margin: 0;
        margin-bottom: 20px;
    }

    .main-content> :first-child {
        margin-left: auto;
    }

    .main-content> :last-child {
        margin-right: auto;
    }

    radix-connect-button {
        --radix-connect-button-width: 36px;
    }
}

.left-section,
.right-section {
    background-color: #0B1022;
    border-radius: 10px;
    padding: 20px;
    position: relative;
}

.input-group {
    background-color: #141A30;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
}

.warning-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e89898;
    border-radius: 6px;
    padding: 0px;
    padding-left: 25px;
    padding-right: 25px;
    border: 2px solid #7c2a2a;
    color: #7c2a2a;
    user-select: none;
}

.info-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #989de8;
    border-radius: 6px;
    padding: 0px;
    padding-left: 25px;
    padding-right: 25px;
    border: 2px solid #2a2f7c;
    color: #2a2f7c;
    user-select: none;
}

.happy-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #98E898;
    border-radius: 6px;
    padding: 0px;
    padding-left: 25px;
    padding-right: 25px;
    border: 2px solid #2A7C2A;
    color: #2A7C2A;
    user-select: none;
}

.happy-box:hover,
.warning-box:hover {
    cursor: pointer;
}

input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: white;
    color: black;
    font-family: 'Outfit', sans-serif;
    margin-top: 10px;
    font-size: 20px;
}

.transaction-button {
    font-family: 'Outfit';
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    border: none;
    background: linear-gradient(to right, #1BA9A0, #2B6CCC);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-text,
.button-warning,
.button-waiting {
    font: Outfit;
    font-size: 18px;
    font-weight: 700;
}

.transaction-button:hover {
    transition: 1s;
    background: linear-gradient(to right, #056C66, #053B8D);
    cursor: pointer;
}

.transaction-button[disabled] {
    transition: 1s;
    background: linear-gradient(to right, #056C66, #053B8D);
    cursor: auto;
}

.statistics {
    display: flex;
    justify-content: space-between;
}

.statistics>* {
    flex: 1;
    margin: 0 10px;
    /* Adjust as needed */
}

.statistics> :first-child {
    margin-left: 0;
}

.statistics> :last-child {
    margin-right: 0;
}

.stat-box {
    background-color: #0B1022;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

@media (max-width: 980px) {
    .statistics {
        flex-direction: column;
        align-items: center;
    }

    .statistics>* {
        margin: 10px 0;
        /* Adjust as needed */
    }

    .statistics> :first-child {
        margin-top: 0;
    }

    .statistics> :last-child {
        margin-bottom: 0;
    }

    .stat-box {
        width: 100%;
    }
}

.total-content-wrapper {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    border-radius: 10px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 20px;
    margin-top: 40px;
}

.stat-line {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 400;
    align-items: center;
}

.stat-title {
    font-size: 22px;
    font-weight: 500;
}

.stat-value-small {
    border-style: solid;
    border-color: rgb(255, 255, 255);
    border-width: 1px;
    padding: 10px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
}

.stat-value {
    /*add gradient*/
    background: linear-gradient(to right, #19E2D8, #1575FE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 20px;
    font-weight: 500;
}

.wide-notification {
    background-color: #0B1022;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    font-weight: 400;
    font-size: 20px;
}

@font-face {
    font-family: 'Outfit';
    src: url('Outfit-Regular.ttf');
    /* Update with the path to your font file */
}

body {
    font-family: 'Outfit', sans-serif;
    /* Fallback to sans-serif if Outfit is not available */
}

.light-header {
    font-weight: 200;
    text-align: center;
    letter-spacing: 20px;
    font-size: 25px;
}

.buttons-box {
    background-color: #141A30;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    width: 100%;
    padding: 4px;
}

.stake-button {
    flex: 1;
    padding: 10px 10px;
    border: none;
    background-color: #0B1022;
    cursor: pointer;
    color: white;
    font-family: Outfit, sans-serif;
    font-size: 16px;
}

.stake-button:hover {
    flex: 1;
    padding: 10px 10px;
    border: none;
    background: linear-gradient(to right, #056C66, #053B8D);
    cursor: pointer;
    color: white;
    font-family: Outfit, sans-serif;
    font-size: 16px;
}

.stake-button.right {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.stake-button.left {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.stake-button.selected {
    background: linear-gradient(to right, #1BA9A0, #2B6CCC);
    font-size: 16px;
    font-weight: 400;
    color: white;
}

.side-button {
    border-radius: 12px;
    font-size: 20px;
    border: 0px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    color: white;
    font-size: 30px;
}

.side-button.right {
    background-color: #22D1F8;
}

.side-button.left {
    background-color: #1BA8A1;
}

.slider {
    -webkit-appearance: none;
    margin-top: 10px;
    /* Remove default styling */
    width: 100%;
    height: 8px;
    /* Reduced height of the slider track */
    padding: 0;
    /* Remove any padding */
    /* Remove any margin */
    background: linear-gradient(to right, #1BA9A0 0%, #1BA9A0 11.76470588235294%, #ffffff 11.76470588235294%);
    /* Linear gradient */
    border-radius: 5px;
    outline: none;
    opacity: 0.9;
    transition: opacity 0.2s;
    margin-bottom: 20px;
}

.slider.start-at-zero {
    background: #ffffff;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    /* Reduced width of the thumb */
    height: 14px;
    /* Reduced height of the thumb */
    background: #fff;
    /* Color of the thumb */
    border-radius: 50%;
    cursor: pointer;
    /* Center thumb on track */
}

.left-label {
    font-weight: 400;
    font-size: 16px;
    color: #9DBAFF;
}

.left-label.with-bottom-margin {
    margin-bottom: 10px;
}

.right-label {
    font-weight: 400;
    font-size: 16px;
    color: #9DBAFF;
    margin-left: auto;
}

.clickable {
    user-select: none;
}

.rendered-number {
    margin-right: 10px;
    margin-bottom: 0px;
    font-size: 60px;
}

.rendered-number.percentage {
    width: 50%;
    text-align: center;
}

.right-label.clickable:hover,
.left-label.clickable:hover {
    font-weight: 600;
}

.two-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.two-labels.immediate-follow {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.input-logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-logo-wrapper.with-bottom-margin {
    margin-bottom: 20px;
}

.full-input.with-logo {
    padding-left: 48px;
    /* adjust as needed */
    padding-right: 55px;
    /* add this line and adjust as needed */
}

.half-input.with-logo {
    padding-left: 48px;
    /* adjust as needed */
    padding-right: 55px;
    /* add this line and adjust as needed */
}

.suffix {
    position: absolute;
    right: 10px;
    top: 58%;
    transform: translateY(-50%);
    pointer-events: none;
    color: black;
    font-size: 20px;
}

.suffix.first-in-line {
    right: 20px;
}

.two-inputs {
    display: flex;
}

.with-margin {
    margin-right: 10px;
}

.input-logo {
    position: absolute;
    left: 6px;
    top: 15px;
    height: 35px;
    /* adjust as needed */
    width: 35px;
    /* adjust as needed */
}

.logo {
    height: 35px;
    width: 35px;
    margin-right: 10px;
}

.switch {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto 20px auto;
}

.switch-button {
    color: #B0D0FF;
}

.switch-button:hover {
    color: #9DBAFF;
    cursor: pointer;
}

footer {
    margin-top: 80px;
    padding: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.footer-content {
    display: flex;
    justify-content: flex-end;
}

.footer-content .logo-section {
    order: 2;
}

.footer-section {
    flex: 1;
    margin-right: 20px;
}

.footer-section:last-child {
    margin-right: 0;
}

.footer-section h3 {
    margin-bottom: 10px;
}

.footer-section a {
    display: block;
    margin-bottom: 5px;
    color: #1575FE;
    text-decoration: none;
}

.logo-section {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.logo-section img {
    width: 150px;
    height: auto;
    margin-left: auto;
    display: block;
}

@media (max-width: 620px) {
    .logo-section {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .footer-section:last-child {
        margin-bottom: 0;
    }

    .rendered-number {
        font-size: 40px;
    }

    .side-button {
        width: 45px;
        height: 45px;
    }

    .two-inputs.stackable {
        flex-direction: column;
    }

    .suffix.first-in-line {
        right: 10px;
        top: 50%;
    }

    .half-input.with-margin {
        margin-right: 0;
    }

    .left-label.stackable {
        display: block;
    }

    .right-label.stackable {
        display: none;
    }

    .half-input.first-half {
        margin-bottom: 10px;
    }
}

@media (max-width: 500px) {
    .stat-value-small {
        border-color:rgba(0, 0, 0, 0);
        text-align: right;
    }
}

@media (min-width: 621px) {
    .left-label.stackable {
        display: none;
    }
}

.copyright-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.dropdown-custom {
    position: relative;
    display: inline-block;
    min-width: 225px;
}

.dropdown-custom.smaller {
    min-width: 150px;
}

.dropdown-custom-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border: 1px solid black;
    border-radius: 5px;
    max-height: 300px;
    /* Adjust as needed */
    overflow-y: auto;
    /* Add this line */
}

.dropdown-custom-button,
.dropdown-custom-content {
    width: max-content;
}

.dropdown-custom-option {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    min-width: 225px;
}

.dropdown-custom-option.smaller {
    min-width: 150px;
}

.dropdown-custom-option.littlewarning {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: #ffe19a;
}

.dropdown-custom-option.extrawarning:hover {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: #ffc9c9
}

.dropdown-custom-option.littlewarning:hover {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: #ffe8b3;
}

.dropdown-custom-option.extrawarning {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: #ffb8b8
}

.dropdown-custom-option:hover {
    background-color: #d1dfff
}

.dropdown-custom-button {
    background-color: #ffffff;
    font-family: Outfit, sans-serif;
    color: #000;
    padding: 10px;
    font-size: 16px;
    border-radius: 6px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0px;
    cursor: pointer;
}

.dropdown-custom-button:hover {
    background-color: #d1dfff;
}

.dropdown-custom-button[disabled] {
    cursor: auto;
    background-color: #b2b2b2;
}

.dropdown-custom-option img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    /* Adjust as needed */
}

/* Style the scrollbar itself */
.dropdown-custom-content::-webkit-scrollbar {
    width: 10px;
    /* Adjust as needed */
}

/* Style the scrollbar thumb */
.dropdown-custom-content::-webkit-scrollbar-thumb {
    background: #141A30;
    /* Adjust as needed */
}

/* Style the scrollbar thumb on hover */
.dropdown-custom-content::-webkit-scrollbar-thumb:hover {
    background: #0B1022;
    /* Adjust as needed */
}

.dropdown-custom-content .dropdown-custom-option.selected {
    background-color: #9DBAFF;
    /* Adjust as needed */
}

.option-text {
    display: flex;
    flex-direction: column;
}

.option-title {
    font-weight: bold;
}

.option-subtext {
    font-size: 0.8em;
    color: #0B1022;
}

table {
    width: 100%;
    table-layout: fixed;
    border-bottom-left-radius: 8px; /* Adjust the value for more or less rounding */
    border-bottom-right-radius: 8px; /* Adjust the value for more or less rounding */
    overflow: hidden; /* Ensures that the rounded corners are visible */
}

.tbl-header {
    background-color: #1ba9a053;
    border-top-left-radius: 8px; /* Round top left corner */
    border-top-right-radius: 8px; /* Round top right corner */
}

.tbl-content {
    height: 300px;
    overflow-x: auto;
    margin-top: 0px;
    border: 1px solid #1ba9a053;
    border-bottom-right-radius: 8px; /* Round corners of the container */
    border-bottom-left-radius: 8px; /* Round corners of the container */
}

th {
    padding: 20px 15px;
    text-align: left;
    font-weight: 500;
    font-size: 15px;
    color: #fff;
}

td {
    padding: 15px;
    text-align: left;
    vertical-align: middle;
    font-weight: 300;
    font-size: 12px;
    color: #fff;
    border-bottom: solid 1px #1ba9a053;
}

/* for custom scrollbar for webkit browser */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px #1ba9a053;
}

::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px #1ba9a08a;
}

textarea {
    width: 100%; /* Full width */
    height: 300px; /* Height of the textarea */
    font-size: 16px; /* Font size */
    padding: 10px; /* Padding inside the textarea */
    border: 1px solid #ccc; /* Border style */
    border-radius: 4px; /* Rounded corners */
    resize: both; /* Allow resizing */
}

textarea.loan-id {
    width: 100%; /* Full width */
    height: 40px; /* Height of the textarea */
    font-size: 16px; /* Font size */
    padding: 10px; /* Padding inside the textarea */
    border: 1px solid #ccc; /* Border style */
    border-radius: 4px; /* Rounded corners */
    resize: both; /* Allow resizing */
}