/*
///////////////////////////////////////
// GLOBAL STYLES
///////////////////////////////////////
*/

:root {
    /* Screen breakpoints */
    --breakpoint-mobile-max: 480px;
    --breakpoint-tablet-min: 481px;
    --breakpoint-tablet-max: 1023px;
    --breakpoint-desktop-min: 1024px;

    /* Colors */
    --primary-color: #353b4e;
    --secondary-color: #dfa754;
    --primary-text-color: #333333;
    --secondary-text-color: #f4f4f4;
    --highlight-color: #c79a43;
    --background-color: #f4f4f4;
    --border-color: #ccc;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    margin: 0;
    padding: 0;
    background-color: white;
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s;
}

a,
button,
input[type="submit"],
input[type="button"],
.clickable {
    cursor: pointer !important;
}

a:hover,
a:visited {
    cursor: pointer !important;
}

a:hover {
    color: #dfa754;
}

a:visited {
    color: var(--primary-color);
}

h1,
h2,
h3 {

    font-weight: 700;
}

h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.25rem;
}

h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}


/* Media Queries */
@media screen and (max-width:480px) {

    /* Styles for mobile devices */
    body {
        font-size: 0.875rem;
    }

    h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    h2 {
        font-size: 1.375rem;
        margin-bottom: 0.875rem;
    }

    h3 {
        font-size: 1.125rem;
        margin-bottom: 0.625rem;
    }

    p {
        font-size: 0.875rem;
        margin-bottom: 0.875rem;
    }
}

@media screen and (min-width:481px) and (max-width: 768px) {

    /* Styles for tablet devices */
    body {
        font-size: 0.9375rem;
    }

    h1 {
        font-size: 1.875rem;
        margin-bottom: 1.125rem;
    }

    h2 {
        font-size: 1.4375rem;
        margin-bottom: 0.9375rem;
    }

    h3 {
        font-size: 1.1875rem;
        margin-bottom: 0.6875rem;
    }

    p {
        font-size: 0.9375rem;
        margin-bottom: 0.9375rem;
    }

}



/*
///////////////////////////////////////
// FONTS
///////////////////////////////////////
*/

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 200 900;
    /* range of weights available */
    src: url('fonts/Nunito-VariableFont_wght.ttf') format('truetype');
}

/*
///////////////////////////////////////
// LOGIN
///////////////////////////////////////
*/
/* Password form styles */
#password-form-container {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
}

#password-form-container.show {
    display: flex;
}

#password-form {
    background-color: #fff;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

#password-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

#password-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#password-form button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#password-form button:hover {
    background-color: #45a049;
}

/*
///////////////////////////////////////
// HEADER STYLES
///////////////////////////////////////
*/

.mobile-message-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

.mobile-message {
    display: none;
    background-color: #dfa754;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 16px;
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    width: 80%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-message .close-button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 5px;
    line-height: 1;
}

@media screen and (max-width: 480px) {

    .mobile-message-overlay,
    .mobile-message {
        display: block;
    }
}

.header-message {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: #dfa754;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #dfa754;
    border-radius: 20px;
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
    min-height: 20px;
    margin-right: 10px;
}

.header-message .loading {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

#defaultHeader p {
    margin: 0;
    margin-right: 110px;
    margin-bottom: 0px;
    padding: 0;
    line-height: 1.2;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1rem;
}


#data_timestamp {
    font-size: 0.66em;
    color: #353b4e;
    cursor: default;
}

@media (max-width: 1024px) {
    #defaultHeader p {
        font-size: 0.8rem;
        margin-right: 0px;
    }
}

@media (max-width: 768px) {
    #defaultHeader p {
        font-size: 0.6rem;
        margin-right: 0px;
    }

    #data_timestamp {
        font-size: 0.5em;
    }

    .header-message {
        font-size: 12px;
        margin-right: 5px;
    }
}

.header-main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    background-color: white;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-items: center;
    text-align: center;
    padding: 0px;
}

.header-top-error {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.965rem 1.875rem;
}

.header-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    padding: 0.125rem 1.25rem;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-logo-container {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.header-logo {
    height: 110px;
    margin-right: 1.25rem;
    margin-left: 1.25rem;
}

.header-logo-link {
    display: inline-block;
}

.header-info-container {
    color: var(--primary-color);
    padding: 0 rem;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}



#HomeSection p {
    margin: 0;
    padding: 0;
}

.new-data-available-container {
    text-align: center;
    margin-top: 0;
}

#newDataAvailableContainer button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 0.3125rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 0 0.3125rem rgba(0, 0, 0, 0.2);
    outline: none;
}

#newDataAvailableContainer button.glow {
    animation: glow 2s ease-in-out infinite;
}

.loading-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

#headerMessage {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.loading-spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #ffb103;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    animation: rotate 1s linear infinite;
    margin: 5px;
}


.content-loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    width: 100vw;
    /* Ensure full width */
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #ffb103;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-top: 50px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Transaction spinner */
.loading:not(:required):after {
    border-color: #ffb103;
    border-top-color: #f3f3f3;
}


@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 0.3125rem rgba(0, 0, 0, 0.2), 0 0 0.9375rem rgba(40, 167, 69, 0.75);
    }

    50% {
        box-shadow: 0 0 0.3125rem rgba(0, 0, 0, 0.2), 0 0 1.5625rem rgba(40, 167, 69, 1);
    }
}

@media (min-width: 768px) {
    .tab-links {
        display: flex;
        align-items: center;
    }

    .tab-dropdown {
        display: none;
    }
}


@media screen and ((min-width: 481px) and (max-width: 768px)) {
    .tab-dropdown {
        display: none;
    }

    #searchArea input[type="text"] {
        font-size: 12px;
        /* Sets the font size for the text inside the input */
        width: 200px;
        /* Sets the width of the input field */
        padding: 8px;
        /* Adds padding inside the input field for better text visibility */
        border: 2px solid #ccc;
        /* Adds a border to the input field */
        border-radius: 4px;
        /* Rounds the corners of the input field */
    }
}




/*
///////////////////////////////////////
// CONNECT WALLET STYLES
///////////////////////////////////////
*/



#walletButtonContainer {
    border: 1px solid #dfa754;
    border-radius: 0.5rem;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-right: 20px;
}

.wallet-label {
    font-size: 0.8rem;
    font-weight: bold;
    color: #dfa754;
    margin-bottom: 0.25rem;
}


.connect-wallet-button,
.reset-wallet-button,
.disconnect-wallet-button {
    background-color: #dfa754;
    color: #ffffff;
    border: none;
    padding: 0.25rem 0.5rem;
    font-size: 0.5rem;
    font-weight: bold;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
}

.connect-wallet-button:hover,
.reset-wallet-button:hover,
.disconnect-wallet-button:hover {
    background-color: #c79a43;
}

.connect-wallet-button:active,
.reset-wallet-button:active,
.disconnect-wallet-button:active {
    transform: scale(0.9);
}

.connect-wallet-button:disabled,
.reset-wallet-button:disabled,
.disconnect-wallet-button:disabled,
#stakeButton:disabled,
#unstakeXshinButton:disabled,
#unstakeToStakeButton:disabled,
#stakeStakeAccountButton:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wallet-button {
    background: linear-gradient(to right, #ffd700, #ffa500);
    color: #ffffff;
    border: none;
    padding: 0.25rem .5625rem;
    font-size: .6rem;
    font-weight: bold;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    transition: transform 0.3s;
}

.wallet-button:hover {
    background-color: #c79a43;
    transform: scale(1.1);
}


@media (max-width:480px) {
    #walletArea {
        margin-right: 10px;
    }
}


/*
///////////////////////////////////////
// NAVIGATION STYLES
///////////////////////////////////////
*/

.section h1 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
}

.nav-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    margin: 0.25rem 0.125rem;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 0.3125rem;
}

.nav-button:hover {
    background-color: white;
    color: black;
}

#apyEarnings,
#solStaked,
#validatorCount {
    margin: 0.5rem 0;
}

/*
///////////////////////////////////////
// TAB CONTENT STYLES
///////////////////////////////////////
*/
.subsection {
    margin: 0;
    padding: 0;
    text-align: center;
}

#Home {
    display: block;
}

.validator-pubkey {
    color: #aaa;
}

.validator-tab-content {
    padding: 0;
    background-color: rgb(219, 216, 216);
    display: none;
}

.tab-links {
    display: flex;
    overflow: hidden;
    background-color: var(--primary-color);
    text-align: center;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-size: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-links button {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    border-radius: 0.3125rem;
    padding: 0.3125rem 1.25rem;
    margin: 0.3125rem;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
}

.tab-links button:hover {
    background-color: #dfa754;
    color: #fff;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
}

.tab-links button.active {
    background-color: #dfa754;
    color: var(--primary-color);
    border: 2px solid #c79a43;
    box-shadow: none;
}

@media (max-width:1024px) {
    .tab-links button {
        padding: 0.25rem .5rem;
        margin: 0.25rem;
        font-size: 0.875rem;
    }
}

@media (max-width:768px) {
    .tab-links button {
        padding: 0.25rem .8rem;
        margin: 0.25rem;
        font-size: 0.875rem;
    }
}


/*
  ///////////////////////////////////////
  // MAIN CONTENT STYLES
  ///////////////////////////////////////
  */

body {
    margin: 0;
    padding-top: 6.25rem;
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    background-color: #ffffff;
}


.main-content {
    padding-top: 3.125rem;
    padding-bottom: 0;
    flex: 1;
}

@media (max-width: 768px) {
    .section h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .nav-button {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
        margin: 0.1875rem 0.0625rem;
    }

    body {
        padding-top: 5rem;
    }

    .main-content {
        padding-top: 2.5rem;
        padding-bottom: 0px;
    }
}

@media (max-width:480px) {
    .section h1 {
        font-size: 1.5rem;
        margin-bottom: 0.875rem;
    }

    .nav-button {
        font-size: 0.8125rem;
        padding: 0.4375rem 0.875rem;
        margin: 0.125rem 0.0625rem;
    }

    body {
        padding-top: 4rem;
    }

    .main-content {
        padding-top: 2rem;
        padding-bottom: 0px;
    }
}

@media (max-width: 480px) {

    #Terms,
    #Privacy,
    #Press,
    #FAQ,
    #Strategy {
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }
}

/*
///////////////////////////////////////
// DASHBOARD CHART STYLES
///////////////////////////////////////
*/

.validator-count {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    background-color: #353b4e;
    color: #dfa754;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    line-height: 60px;
}

#solanaStakeDistributionChart .validator-count {
    background-color: #dfa754;
    color: #353b4e;
}

.card-title {
    text-align: center;
}


#epochCountdown,
#strategyStats p {
    margin: 0;
}

.trade-input,
.trade-dropdown,
.trade-button {
    display: block;
    margin-bottom: 0.625rem;
    padding: 0.625rem;
    font-size: 1rem;
}

.trade-input,
.trade-dropdown {
    width: 100%;
    max-width: 100%;
    border-radius: 0.3125rem;
}

.trade-button {
    border-radius: 0.3125rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

.chart-container {
    opacity: 0;
    transform: translateY(50px);
    animation: riseUp 0.5s ease-out forwards;
}

@keyframes riseUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.sample-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 1.5rem;
    color: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.dashboard-chart {
    width: 100%;
    padding: 0.625rem;
    box-sizing: border-box;
    min-height: 18.75rem;
}

.dashboard-chart-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.dashboard-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1.25rem;
}

.header-top {
    position: relative;
}

.data-timestamp-container {
    display: block !important;
    visibility: visible !important;
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 5px 0;
    font-size: 12px;
    color: #666;
}

.your-wallet,
.spp-stats,
.solana-stats {
    flex-basis: 100%;
    background-color: #f4f4f4;
    padding: 1.25rem;
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.your-wallets:hover,
.spp-stats:hover,
.solana-stats:hover {
    transform: translateY(-0.3125rem);
}

.stat-item {
    margin-bottom: 0.625rem;
}

.epoch-countdown {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-top: 1.25rem;
}

@media (min-width: 768px) {

    .your-wallet,
    .spp-stats,
    .solana-stats {
        flex-basis: calc(33.333% - 1.25rem);
        margin-bottom: 0;
    }
}

@media (max-width:480px) {

    .trade-input,
    .trade-dropdown,
    .trade-button {
        font-size: 0.875rem;
    }

    .sample-text {
        font-size: 1.25rem;
    }

    .dashboard-chart {
        min-height: 15rem;
    }

    .epoch-countdown {
        font-size: 1.25rem;
        margin-top: 1rem;
    }
}

/*
///////////////////////////////////////
// CHART STYLES
///////////////////////////////////////
*/
.chart {
    width: 100%;
    padding: 0.625rem;
    box-sizing: border-box;
    min-height: 18.75rem;
}

@media (min-width: 1020px) {
    .chart-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .chart {
        max-width: 50%;
        flex: 1 1 auto;
    }
}

.chart-container-comparison {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: auto;
    margin-top: 0;
}

.custom-legend {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    padding: 0;
}

.custom-legend .section-subheader {
    margin-bottom: 1.25rem;
}

.legend-key {
    display: flex;
    align-items: center;
    margin-right: 0.9375rem;
}

.color-box {
    width: 3.125rem;
    height: 0.625rem;
    display: inline-block;
    margin-right: 0.3125rem;
}

.ours-color {
    background-color: #dfa754;
}

.theirs-color {
    background-color: var(--primary-color);
}

.section-chart-comparison {
    padding: 1.25rem;
    padding-top: 0;
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 10%, #f8e4c3 50%, #f8e4c3 80%, #f3d19c 100%);
}

@media (max-width: 1020px) {
    .chart-container canvas {
        flex: 0 0 100%;
    }
}

.chart-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.25rem;
}

.legend-image {
    width: 3.125rem;
    height: 3.125rem;
    object-fit: contain;
}

.legend-text {
    margin-left: 0px;
    font-size: 1rem;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .chart {
        min-height: 15rem;
    }

    .custom-legend .section-subheader {
        margin-bottom: 1rem;
    }

    .legend-key {
        margin-right: 0.625rem;
    }

    .color-box {
        width: 2.5rem;
        height: 0.5rem;
        margin-right: 0.25rem;
    }

    .legend-image {
        width: 2.5rem;
        height: 2.5rem;
    }

    .legend-text {
        font-size: 0.875rem;
    }
}

@media (max-width:480px) {
    .custom-legend .section-subheader {
        margin-bottom: 0.75rem;
    }

    .legend-key {
        margin-right: 0.5rem;
    }

    .color-box {
        width: 2rem;
        height: 0.4rem;
        margin-right: 0.2rem;
    }

    .legend-text {
        font-size: 0.75rem;
    }

    /* Resize comparison charts to be 2.5x taller */
    .chart {
        min-height: 20rem;
        /* 2.5x taller */
        width: 100%;
    }

    #highValueChart,
    #lowValueChart {
        height: 20rem !important;
        /* Force height */
    }

    /* Make individual columns 2.5x narrower */
    .chart-container {
        flex-direction: column;
    }

    /* Adjust the overlay icon size and center it */
    .legend-image {
        width: 1.6rem;
        /* Smaller size */
        height: 1.6rem;
        display: block;
        margin: 0.5rem auto;
        /* Center horizontally with some spacing */
    }

    /* Optional: Center the legend text */
    .chart-legend {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Adjust the overlay icon size */
    .award-plugin-icon {
        width: 1.2rem;
        /* Smaller size */
        height: 1.2rem;
    }

    /* Center the overlay icon */
    .award-plugin-icon-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/*
///////////////////////////////////////
// FOOTER STYLES
///////////////////////////////////////
*/


.footer-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-bottom: 0.225rem;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    margin: 0.3125rem;
    padding: 0.225rem 1.25rem;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 0.3125rem;
}

.footer-section a:hover {
    background-color: #dfa754;
    color: var(--primary-color);
}

.company-link {
    width: 100%;
    text-align: center;
    margin-bottom: 0.625rem;
}

.company-link a {
    color: #dfa754;
    text-decoration: none;
    transition: color 0.3s;
}

.company-link a:hover {
    color: white;
}

.footer-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.footer-tab-link {
    background-color: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.625rem;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 0.3125rem;
    font-size: 1rem;
    margin: 0.3125rem;
}



.footer-tab-link:hover {
    background-color: #dfa754;
    color: var(--primary-color);
}

.footer-tab-link.active {
    background-color: #dfa754;
    color: var(--primary-color);
}

.footer-tab-pane {
    display: none;
}

.footer-tab-pane.active {
    display: block;
}

.footer-main {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--primary-color);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0.125rem;
}

.footer-main-error {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--primary-color);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0.625rem;
}

.footer-section {
    width: auto;
    margin-bottom: 0;
}

.company-link {
    width: auto;
    margin-bottom: 0;
}

.footer-mobile {
    display: none;
}

.mobile-wallet-note {
    font-size: 0.9rem;
    color: #353b4e;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 12px;
    border-radius: 8px;
    margin: 10px 0;
    line-height: 1.4;
    text-align: center;
}

.mobile-wallet-note b {
    color: #ffffff;
    font-weight: bold;
}

@media screen and (min-width: 769px) {
    .mobile-wallet-note {
        display: none;
    }
}


@media (max-width: 850px) {
    .footer-main {
        padding: 0.1rem;
    }

    .footer-section a {
        font-size: 0.675rem;
        padding: 0.5rem 1rem;
        margin: 0.25rem;
    }

    .footer-tab-link {
        font-size: 0.675rem;
        padding: 0.5rem;
        margin: 0.25rem;
    }

    .company-link {
        font-size: 0.675rem;
    }
}

@media (max-width: 480px) {
    .footer-main {
        display: none;
    }

    .footer-mobile {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: var(--primary-color);
        padding: 0.125rem;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        color: white;
    }

    .footer-mobile a {
        color: #dfa754;
        text-decoration: none;
        margin: 0.15625rem;
        padding: 0.3125rem 0.625rem;
        font-size: 0.775rem;
        transition: color 0.3s;
    }

    .footer-mobile a:hover {
        color: white;
    }
}

/*
///////////////////////////////////////
// VALIDATOR DETAIL STYLES
///////////////////////////////////////
*/



.validator-details-summary-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid;
    border-radius: 3px;
    margin-right: 8px;
    cursor: pointer;
    vertical-align: middle;
}

.validator-details-summary-checkbox:checked {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

.score-calculation-container {
    margin-top: 20px;
}

.button-score-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

.score-calculation-button {
    background-color: #dfa754;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.total-score-display {
    font-weight: bold;
    color: #353b4e;
}

.score-info-container {
    width: 100%;
    margin-top: 10px;
}

.scoring-key {
    margin-top: 10px;
    background-color: white;
    border: 2px solid #dfa754;
    border-radius: 10px;
    padding: 10px;
    text-align: left;
}

.scoring-key p {
    margin: 5px 0;
    color: #353b4e;
}

.calculation {
    font-style: italic;
}

@media screen and (max-width: 480px) {
    .calculation {
        font-size: 0.8em;
    }

    .validator-details-summary-value {
        font-size: 0.9em;
    }

    .total-score-display {
        font-size: 0.9em;
    }

    .calculation {
        font-size: 0.55rem;
    }
}


.validator-details-tab-content>table {
    display: none;
    margin-top: 20px;
}

.validator-details-tab-content>table.active {
    display: table;
}

.validator-detail-tab {
    overflow: hidden;
    background-color: var(--primary-color);
    text-align: center;
    padding: 0.625rem 1.25rem;
}

.validator-detail-tab button {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    border-radius: 0.3125rem;
    padding: 0.625rem 1.25rem;
    margin: 0 0.3125rem;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
}

.validator-detail-tab button:hover {
    background-color: #dfa754;
    color: #fff;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
}

.validator-detail-tab button.active {
    background-color: #dfa754;
    color: var(--primary-color);
    border: 2px solid #c79a43;
    box-shadow: none;
}

.validator-detail-content {
    display: none;
    padding: 0;
    border: 1px solid #ccc;
    border-top: none;
}

.toggle-awards-btn {
    position: absolute;
    bottom: 0.625rem;
    left: 0.625rem;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.3125rem 0.625rem;
    font-size: 0.75rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.toggle-awards-btn:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .validator-detail-tab {
        padding: 0.5rem 1rem;
    }

    .validator-detail-tab button {
        padding: 0.5rem 1rem;
        margin: 0.25rem;
        font-size: 0.875rem;
    }

    .toggle-awards-btn {
        bottom: 0.5rem;
        left: 0.5rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.6875rem;
    }
}

@media (max-width:480px) {
    .validator-detail-tab {
        padding: 0.375rem 0.75rem;
    }

    .validator-detail-tab button {
        padding: 0.375rem 0.75rem;
        margin: 0.1875rem;
        font-size: 0.8125rem;
    }

    .toggle-awards-btn {
        bottom: 0.375rem;
        left: 0.375rem;
        padding: 0.1875rem 0.375rem;
        font-size: 0.625rem;
    }
}


/*
///////////////////////////////////////
// DASHBOARD HEADER STYLES
///////////////////////////////////////
*/
.dashboard-header {
    text-align: center;
    margin: 0;
    color: var(--primary-color);
    font-size: 1rem;
}

.dashboard-phrase {
    color: var(--primary-color);
    font-size: 1rem;
}

.gold-text {
    color: #dfa754;
}

/*
  ///////////////////////////////////////
  // UNSTAKE CONTAINER STYLES
  ///////////////////////////////////////
  */


.unstake-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #f0f0f0;
    border-radius: 0.5rem;
}

.unstake-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 14px;
    width: 150px;
}

.unstake-input-group input {
    height: 20px;
    font-size: 16px;
    padding: 10px;
}

.withdraw-options {
    display: flex;
    gap: 1rem;
}

.reserve-withdraw,
.stake-withdraw {
    flex: 1;
    font-size: 0.875rem;
    margin-top: 0px;
}

input[type="number"] {
    width: 100%;
    padding: 0px;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.unstake-action-button {
    padding: 1rem;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    text-align: center;
    font-size: 0.875rem;
    display: block;
    margin: 0 auto;
}

.unstake-action-button:hover {
    background-color: #45a049;
}

.disbursement-breakdown {
    text-align: center;
    font-size: 0.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

#totalUnstakeAmount {
    height: 20px;
    width: 220px;
    font-size: 16px;
    padding: 10px;
}

#reserveWithdrawAmount,
#stakeWithdrawAmount {
    height: 20px;
    width: 100px;
    font-size: 16px;
    padding: 10px;
    text-align: center;
    line-height: .8;
}

/*
  ///////////////////////////////////////
  // STAKE CONTAINER STYLES
  ///////////////////////////////////////
  */

.stakingTabContent,
.sub-tabs,
.sub-tab-content {
    position: relative;
    overflow: visible !important;
    z-index: 5;
}

.sub-tabs {
    margin: 0;
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}


.sub-tab-list {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.sub-tab-list li {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 3;
    margin-right: 0px;
}

.sub-tab-list li a {
    display: block;
    padding: 8px 16px;
    background: #353b4e;
    color: #dfa754;
    text-decoration: none;
    transition: padding 0.2s ease, margin 0.2s ease;
    position: relative;
    z-index: 3;
    font-size: 12px;
    font-weight: bold;
    border-top: none;
    border-right: none;
    border-left: none;
    cursor: pointer;
}



.sub-tab-list li:first-child a.active::before {
    content: "";
    position: absolute;
    bottom: 0px;
    right: -2px;
    border-top: 47px solid #353b4e;
    ;
    border-left: 15px solid transparent;
    z-index: 2;
    box-shadow: 0 -2px -4px rgba(0, 0, 0, 0.2);
}


.sub-tab-list li:last-child a.active::before {
    content: "";
    position: absolute;
    bottom: -10;
    left: -2px;
    top: -7px;
    border-top: 47px solid #353b4e;
    ;
    border-right: 15px solid transparent;
    z-index: 3;
}


.sub-tab-list li a.active {
    background: #dfa754;
    color: white;
    border-bottom: none;
    position: relative;
    z-index: 1;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border: 2px solid #dfa754;
    border-bottom: none;
}

.sub-tab-content {
    background: #353b4e;
    padding: 20px;
    border-radius: 0 0 6px 6px;
    position: relative;
    z-index: 2;
    font-size: 14px;
    margin-top: -1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex-grow: 1;
    margin-top: -18px;
    width: 100%;
    height: auto;
    border: 2px solid #dfa754;
    box-sizing: border-box;
}



.sub-tab-list li a:hover {
    margin-top: -3px;
    padding-bottom: 11px;
    z-index: 4;
}


.sub-tab-list li:first-child a {
    border-top-left-radius: 6px;
    border-top-right-radius: 0;
}

.sub-tab-list li:last-child a {
    border-top-left-radius: 0;
    border-top-right-radius: 6px;
}


.sub-tab-content>div {
    display: none;
}

.sub-tab-content>div.active {
    display: block;
}

#stakeToXshin {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#stakeAccountDropdown {
    width: 100%;
    margin-bottom: 10px;
}

.estimate-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    margin-bottom: 10px;
}

#stakeAccountSelect {
    width: 250px;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
}

#stakeAccountSelect option {
    display: flex;
    align-items: center;
}

#stakeAccountSelect option .validator-icon {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    margin-right: 5px;
}

.stake-balance-container {
    position: relative;
    cursor: pointer;
}

.stake-balance-container:hover {
    background-color: #f0f0f0;
    border-radius: 4px;
}

.stake-account-dropdown {
    position: absolute;
    top: 110px;
    right: 50;
    background-color: white;
    border: 1px solid #ccc;
    padding: 0px;
    z-index: 1001;
    max-width: 150px;
    width: 150px;
    display: none;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .stake-account-dropdown {
        top: 80px;
    }
}


.stake-account-dropdown.show {
    display: block;
}

.stake-account-item {
    padding: 5px;
    cursor: pointer;
}

.stake-account-item:hover {
    background-color: #f8e4c3 !important;
}

.stake-account-item-line1 {
    display: flex;
    align-items: center;
}

.stake-account-item-line1 img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.stake-account-item-line2 {
    font-size: 12px;
}


.stake-account-item img {
    width: 24px;
    height: 24px;
    margin-right: 5px;
}

.stake-balance-container .dropdown-arrow {
    margin-left: 5px;
    cursor: pointer;
    font-size: 12px
}

.stake-balance-container:hover .stake-account-dropdown {
    display: flex;
    flex-direction: column;
    display: block;
}

#stake .input-group {
    flex-direction: row;
    justify-content: space-between;
}


.stake-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #f0f0f0;
    border-radius: 0.5rem;
}


.stake-container button {
    padding: 0.625rem 1.25rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 0.3125rem;
    width: 100%;
}

.stake-container button:hover {
    background-color: #dfa754;
}

.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    pointer-events: none;
}

.modal-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    pointer-events: auto;
}

.modal-content {
    position: relative;
    z-index: 1001;
    pointer-events: auto;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    pointer-events: auto;
}

.spp-wallet-selection-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #bbbbbb;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 90vh;
    max-width: 90vw;
    width: 80vw;
}

.spp-wallet-selection-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.spp-wallet-selection-popup.blurred {
    filter: blur(5px);
    pointer-events: none;
}


.spp-wallet-selection-content::-webkit-scrollbar {
    width: 8px;
}

.spp-wallet-selection-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.spp-wallet-selection-content::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}

.spp-wallet-selection-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.spp-wallet-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;

    margin-left: -30px;
}

.spp-wallet-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #eeeeee;
    text-align: center;
}


.spp-wallet-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.spp-wallet-close-button:hover {
    color: #c89844;
}

.spp-wallet-selection-popup h3 {
    text-align: center;
    padding: 20px;
    margin: 0;
    color: #353b4e;
    background-color: #bbbbbb;
}

.spp-wallet-item:hover .spp-wallet-logo,
.spp-wallet-item:hover .spp-wallet-name {
    transform: scale(1.1);
    z-index: 1;
}

.spp-wallet-logo,
.spp-wallet-name {
    transition: transform 0.3s ease;
}


.spp-wallet-item:hover,
.spp-wallet-item.not-installed:hover {
    background-color: #aaaaaa;
}

.spp-wallet-item.not-installed {
    background-color: #cccccc;
    border: 1px dashed white;
    opacity: 0.7;
}

.spp-wallet-not-installed-popup {
    background-color: #353b4e;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1002;
    pointer-events: auto;
}

.spp-wallet-not-installed-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spp-wallet-not-installed-content h3 {
    margin-top: 10px;
    margin-bottom: 20px;
}

.spp-wallet-install-button {
    background-color: #dfa754;
    color: #353b4e;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.spp-wallet-install-button:hover {
    background-color: #c78f3c;
}

.spp-wallet-logo {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
}

.spp-wallet-name {
    font-size: 16px;
}

.spp-wallet-item.available {
    background-color: #f0f8ff;
    cursor: pointer;
}

.spp-wallet-item.not-installed {
    background-color: #cccccc;
    border: 1px dashed #888888;
    opacity: 0.8;
    cursor: pointer;
}

.spp-wallet-item.not-installed .spp-wallet-status {
    color: #F44336;
}

.spp-wallet-status {
    font-size: 0.8em;
    color: #666;
    margin-left: 10px;
}

.spp-wallet-item.available .spp-wallet-status {
    color: #4CAF50;
}

.spp-wallet-item.not-installed .spp-wallet-status {
    color: #F44336;
}


.wallet-not-ready-message {
    padding: 8px 16px;
    text-align: center;
    background-color: #f1f1f1;
    cursor: default;
    margin-bottom: 10px;
}

.staking-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: white;
    margin-top: 10px;
}



.your-wallet {
    background-color: #353b4e;
    padding: 20px;
    border-radius: 8px;
    width: 400px;
    margin: 0 auto;
    text-align: center;
}

.wallet-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wallet-info-container {
    position: relative;
    padding: 12px;
    margin-right: 10px;
    border-left: 0px solid #dfa754;
    border-right: 0px solid #dfa754;
    border-radius: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
}



.wallet-info-container.custom-pubkey {
    padding: 10px;
}

.wallet-address-container {
    background-color: white;
    padding: 0px 0px;
    margin-top: 0px;
    font-size: 12px;
}

.wallet-address-container span {
    color: #dfa754;
    font-weight: bold;
}

.wallet-icon {
    cursor: pointer;
    margin: 0 5px;
    transition: transform 0.2s ease-in-out;
}

.wallet-icon:hover {
    color: #dfa754;
}

.wallet-icon:active {
    transform: scale(0.8);
}


/*
  ///////////////////////////////////////
  // TRANSACTION DETAILS STYLES
  ///////////////////////////////////////
  */

.transaction-details {
    margin-top: 20px;
    background: white;
    padding: 10px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.transaction-details .square_box {
    position: absolute;
    transform: rotate(45deg);
    border-top-left-radius: 45px;
    opacity: 0.302;
}

.transaction-details .square_box.box_three {
    background-image: linear-gradient(-90deg, #290a59 0%, #3d57f4 100%);
    opacity: 0.059;
    left: -80px;
    top: -60px;
    width: 500px;
    height: 500px;
    border-radius: 45px;
}

.transaction-details .square_box.box_four {
    background-image: linear-gradient(-90deg, #290a59 0%, #3d57f4 100%);
    opacity: 0.059;
    left: 150px;
    top: -25px;
    width: 550px;
    height: 550px;
    border-radius: 45px;
}

.transaction-details .alert {
    margin-bottom: 8px;
    border-radius: 8px;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
    z-index: 1;
    font-size: 12px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.transaction-details .alert::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
}


.transaction-details .alert-warning {
    border: 1px solid rgba(241, 142, 6, 0.81);
    background-color: rgba(220, 128, 1, 0.16);
    box-shadow: 0px 0px 2px #ffb103;
    color: #ffb103;
    font-weight: bold;
}

.transaction-details .alert-info {
    border: 1px solid rgba(6, 44, 241, 0.46);
    background-color: rgba(7, 73, 149, 0.12156862745098039);
    box-shadow: 0px 0px 2px #0396ff;
    color: #0396ff;
    font-weight: bold;
}

.transaction-details .alert-message {
    font-weight: bold;
    margin-right: 5px;
    display: block;
    margin-bottom: 5px;
}

.transaction-details .alert-timestamp {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
    display: block;
    text-align: right;
    font-size: 12px;
}

.transaction-details .alert-success {
    border: 1px solid rgba(36, 241, 6, 0.46);
    background-color: rgba(7, 149, 66, 0.12156862745098039);
    box-shadow: 0px 0px 2px #259c08;
    color: #0ad406;
    font-weight: bold;
}

.transaction-details .alert-error {
    border: 1px solid rgba(241, 6, 6, 0.81);
    background-color: rgba(220, 17, 1, 0.16);
    box-shadow: 0px 0px 2px #ff0303;
    color: #ff0303;
    font-weight: bold;
}

.transaction-details .alert:before {
    content: '';
    position: absolute;
    width: 0;
    height: calc(100% - 44px);
    border-left: 1px solid;
    border-right: 2px solid;
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    height: 20px;
}

.transaction-details .alert-success:before {
    border-left-color: #259c08;
    border-right-color: #259c08;
}

.transaction-details .alert-error:before {
    border-left-color: #ff0303;
    border-right-color: #ff0303;
}

.transaction-details .alert-success .start-icon {
    color: #0ad406;
}

.transaction-details .alert-error .start-icon {
    color: #ff0303;
}

.transaction-details .alert a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid;
}

.transaction-details .alert-info .alert-message {
    color: #353b4e;
}

.transaction-details .alert-error .alert-message {
    color: #353b4e;
}

.transaction-details .alert-warning .alert-message {
    color: #353b4e;
}

.transaction-details .alert-success .alert-message {
    color: #353b4e;
}

.transaction-details .validator-pubkey {
    display: inline-block;
    max-width: 500px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .transaction-details {
        width: 100%;
        max-width: 400px;
        margin: 00 auto;
        padding: 10px;
        box-sizing: border-box;
    }

    /* Elide pubkeys with ellipsis */
    .transaction-details .validator-pubkey {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        font-size: 0.9rem;
    }
}

/*
  ///////////////////////////////////////
  // LOADING SPINNER STYLES
  ///////////////////////////////////////
  */

/* Absolute Center Spinner */
.loading {
    display: none;
    position: relative;
    width: 20px;
    height: 20px;
    margin: 5px auto;
}

.loading:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 20px;
    height: 20px;

    border-radius: 50%;
    border: 4px solid #ccc;
    border-top-color: #333;
    animation: spinner 1s linear infinite;
}

@media (max-width: 480px) {
    .loading {
        margin-bottom: 10px;
    }
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*
  ///////////////////////////////////////
  // BYLINE CONTAINER STYLES
  ///////////////////////////////////////
  */
.byline-container p {
    color: #dfa754;
    margin: 0;
    padding: 1.25rem;
    font-size: 1rem;
    font-style: italic;
}

/*
  ///////////////////////////////////////
  // TESTIMONIALS STYLES
  ///////////////////////////////////////
  */
.testimonials-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 2.5rem;
}

.testimonial {
    flex: 1 1 100%;
    max-width: 100%;
    text-align: center;
}

.testimonial-portrait {
    width: 6.25rem;
    height: 6.25rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #dfa754;
    margin-bottom: 0.625rem;
    display: block;
    margin: auto;
}

.quote {
    font-style: italic;
}

.source {
    font-weight: bold;
}

@media (min-width: 768px) {
    .stake-container {
        flex-wrap: nowrap;
    }

    .input-group {
        width: auto;
        margin-bottom: 0;
    }

    .stake-container button {
        width: auto;
    }

    .testimonial {
        flex: 1 1 30%;
        max-width: 30%;
    }
}


/*
///////////////////////////////////////
// VALIDATOR ROWS STYLES
///////////////////////////////////////
*/

.validators-table {
    display: block;
    width: 100%;
    white-space: nowrap;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--primary-color);
    z-index: 500;
}

.validator-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.0rem;
    min-width: 100%;
    min-height: 0.0rem;
    cursor: pointer;
}

.validator-row-container {
    cursor: pointer;
}

@media (max-width: 768px) {
    .validator-icon-name {
        display: none;
    }

    .validator-icon-name-mobile {
        display: flex;
        align-items: center;
        padding: 0.5rem;
    }

    .validator-icon-mobile {
        width: 30px;
        height: 30px;
        margin-right: 0.5rem;
    }

    .validator-name-mobile {
        font-weight: bold;
    }

    .validator-row .validator-name {
        display: none;
    }

    .validator-row {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        padding: 0rem;
        gap: 0rem;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .validator-data,
    .validator-score,
    .validator-total-stake,
    .validator-pool-stake,
    .validator-target-stake {
        margin: 0px;
        padding: 0px;
        justify-content: flex-start;
        align-items: flex-start;
    }
}


/* Styles for not eligible validators (inactive) */
.validator-row-container.not-eligible-validator-row .validator-name,
.validator-row-container.not-eligible-validator-row .validator-name-mobile {
    color: #ff4e4e;
}

/* Styles for not eligible validators when active */
.validator-row-container.not-eligible-validator-row.active-row .validator-name,
.validator-row-container.not-eligible-validator-row.active-row .validator-name-mobile,
.validator-row-container.not-eligible-validator-row.open .validator-name,
.validator-row-container.not-eligible-validator-row.open .validator-name-mobile,
.not-eligible-validator-row.selected .validator-data {
    background-color: var(--primary-color);
    color: #fc7979;
}

/* Additional styles to target the specific classes in your HTML */
.validator-row-container.not-eligible-validator-row .validator-icon-name .validator-name,
.validator-row-container.not-eligible-validator-row .validator-name-mobile.validator-data {
    color: #ff4e4e;
}

.validator-row-container.not-eligible-validator-row.active-row .validator-icon-name .validator-name,
.validator-row-container.not-eligible-validator-row.active-row .validator-name-mobile.validator-data,
.validator-row-container.not-eligible-validator-row.open .validator-icon-name .validator-name,
.validator-row-container.not-eligible-validator-row.open .validator-name-mobile.validator-data {
    background-color: var(--primary-color);
    color: #fc7979;
}

.stake-decrease {
    color: #d4b934;
    /* Base yellow color */
}

.validator-row-container:hover .stake-decrease {
    color: #bfa82f;
    /* Slightly darker yellow for hover state */
}

.validator-row-container.active-row .stake-decrease {
    color: #e1c539;
    /* Slightly brighter yellow for active/selected state */
}

.stake-decrease.active {
    color: inherit;
}

.stake-increase {
    color: #179117;
}

.stake-increase.active {
    color: #68af68;
}


.validator-row-container:nth-child(2n) {
    background-color: white;
}

.validator-row-container:nth-child(2n+1) {
    background-color: #f0f4f8;
}

.validator-row-container:hover {
    background-color: #f4d2a0;
}

.validator-row-container.active-row {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
}

.validator-row-container.active-row:hover {
    background-color: var(--primary-color);
    box-shadow: none;
    transform: none;
}

.validator-row.pool-validator-row.active-row {
    background-color: var(--primary-color);
    color: white;
}

.validator-row-container.pool-validator-row {
    color: var(--primary-color);
}

.validator-row.not-eligible-validator-row {
    color: #ff4e4e;
}

.validator-row.not-eligible-validator-row.active-row {
    background-color: var(--primary-color);
    color: #fc7979;
}

.validator-row.validator-icon img {
    width: 3.125rem;
    height: 3.125rem;
    margin-right: 0.625rem;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.validator-awards {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.validator-awards-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 180px;
    margin-left: auto;
}

.validator-award-icon-row {
    width: 34px;
    height: 34px;
    margin-right: 4px;
    cursor: pointer;
}

.validator-award-placeholder-row {
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 0.3125rem;
    visibility: hidden;
}

.validator-award-icon-row:hover {
    transform: scale(1.1);
    position: relative;
}

.validator-type-toggle {
    z-index: 998;
    position: fixed;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 100%;
    background-color: #dfa754;
    color: var(--primary-color);
    padding: 0.125rem 0;
    border: 1px solid #bf914a;
    font-size: 1rem;
}

.validator-type-toggle label {
    display: inline-flex;
    align-items: center;
    margin-right: 1.25rem;
    cursor: pointer;

}

.validator-type-toggle input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 0.9375rem;
    height: 0.9375rem;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    margin-right: 0.3125rem;
    position: relative;
    background-color: #fff;
    margin-bottom: 3px;
    cursor: pointer;
}

.validator-type-toggle input[type="radio"]:checked {
    background-color: white;
}

.validator-type-toggle input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #353b4e;
}

.validator-type-toggle input[type="radio"]:focus {
    outline: none;
}

.validatorHeaders {
    z-index: 999;
    position: fixed;
    left: 0;
    top: 12.0625rem;
    width: 100%;
    justify-content: space-between;
    min-width: 100%;
    background-color: #dfa754;
    color: white;
    padding: 0;
    border: 1px solid #bf914a;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.validator-header.validator-icon {
    display: none;
}

.validator-total-stake a {
    color: inherit;
    text-decoration: underline;
}

.validator-total-stake a:hover {
    color: #dfa754;
}

.validator-row.active-row .validator-total-stake a {
    color: #fff;
}

@media (min-width: 769px) {

    .validatorHeaders {
        display: grid;
        grid-template-columns: 4fr 1fr 1fr 1fr 1fr 1fr;
        gap: 0.5rem;
        padding: 0rem;
        background-color: #dfa754;
        color: white;
        text-align: center;
    }

    .validator-row {
        display: grid;
        grid-template-columns: 4fr 1fr 1fr 1fr 1fr 1fr;
        gap: 0.0rem;
        padding: 0.5rem 0rem;
        align-items: center;
    }

    /* Hide mobile icon and name in desktop */
    .validator-icon-name-mobile {
        display: none;
    }
}


.validator-row-container {
    padding: 0px 0px;
    margin-bottom: 0px;
}

.validator-awards-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

@media (max-width: 768px) {

    .validator-row-container:hover .validator-icon-name-mobile {
        background-color: #f4d2a0;
    }

    .validator-row-container.active-row .validator-icon-name-mobile,
    .validator-icon-name-mobile.active {
        background-color: var(--primary-color);
        color: white;
    }

    .validator-row-container {
        padding: 0px;
        margin-bottom: 0px;
    }

    .validatorHeaders {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .validator-row {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        padding: 0rem;
        gap: 0rem;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .validator-icon-name {
        display: none;
    }

    .validator-row .validator-name {
        display: none;
    }

    .validator-row .validator-icon-name-mobile {
        display: flex;
        align-items: center;
    }

    .validator-icon-name-mobile img {
        width: 30px;
        height: 30px;
        margin-right: 0.5rem;
    }

    .validator-data .validator-score .validator-total-stake .validator-pool-stake .validatr-target-stake {
        margin: 0px;
        padding: 0px;
        justify-content: flex-start;
        align-items: flex-start;
    }


    .validator-awards-row {
        display: flex;
        justify-content: flex-end;
    }

    .validator-award-placeholder-row {
        display: none;
    }

    .validator-award-icon-row {
        display: none;
        margin-bottom: -20px;
    }

    .validator-row .validator-icon,
    .validator-row .validator-name {
        display: none;
    }

    .validator-icon-name:hover {
        background-color: #f4d2a0;
    }

    .active-row .validator-icon-name,
    .validator-icon-name.active,
    .validator-row-container.active-row .validator-icon-name,
    .validator-row-container.active-row,
    .validator-row-container.active-row .validator-row {
        background-color: var(--primary-color);
        color: white;
    }

    .validator-row-container.active-row .validator-icon-name {
        background-color: var(--primary-color);
        color: white;
    }

    .validator-icon-name.active {
        background-color: #353b4e;
    }

    .validator-icon2 {
        padding: 0.5rem;
    }

    .validator-name2 {
        font-weight: bold;
        display: flex;
        align-items: center;
        font-weight: bold;
    }

    .validator-header .validator-awards-header {
        display: none;
    }

    .validatorHeaders {
        font-size: 0.9rem;
        gap: 0rem;
    }

    .validator-awards-header {
        display: none;
    }

    .validator-award-icon-row {
        display: none;
    }

    .validator-stats-graph-container {
        flex-direction: column;
    }

    .validator-summary-section {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1.25rem;
    }


}

@media (max-width: 480px) {

    #defaultHeader p {
        font-size: 0.5rem;
    }

    .validator-type-toggle label {
        font-size: 0.8rem;
    }

    .validator-type-toggle input[type="radio"] {
        width: 0.7rem;
        height: 0.7rem;
    }

    .validator-row .validator-icon,
    .validator-row .validator-name {
        display: none;
    }

    .validator-awards-header {
        display: none;
    }

    .validatorHeaders {
        font-size: 0.8rem;
        gap: 0rem;
    }

    .validator-award-icon-row {
        display: none;
    }

}

@media (min-width: 769px) {
    .validator-icon-name {
        display: flex;
        align-items: center;
    }

    .validator-icon,
    .validator-name {
        display: block;
    }

    .validator-icon-name-mobile,
    .validator-icon-mobile,
    .validator-name-mobile {
        display: none;
    }
}

.validator-icon {
    margin-left: 20px;
}

.validator-awards-row {
    margin-right: 10px;
}

/* Header row positions */
/* // Header offsets in .js */
@media (min-width: 1025px) {
    .validator-type-toggle {
        top: 168px;
    }

    .validatorHeaders {
        top: 193px;
    }

    .validator-container {
        padding-top: 75px;
        padding-bottom: 52px;
    }

    .validator-header.validator-name {
        display: flex;
    }
}

@media (max-width: 1024px) {
    .validator-type-toggle {
        top: 163px;
    }

    .validatorHeaders {
        top: 190px;
    }


    .validator-container {
        padding-top: 73px;

        padding-bottom: 32px;
    }

    .validator-header.validator-name {
        display: flex;
    }
}


@media (max-width: 768px) {
    .validator-type-toggle {
        top: 168px;
    }

    .validatorHeaders {
        top: 189px;
    }

    .validator-container {
        padding-top: 91px;

        padding-bottom: 32px;
    }

    .validator-header.validator-name {
        display: none;
    }

}

@media (max-width: 480px) {
    .validator-type-toggle {
        top: 138px;
    }

    .validatorHeaders {
        top: 159px;
    }

    .validator-container {
        padding-top: 82px;

        padding-bottom: 32px;

    }

    .validator-header.validator-name {
        display: none;
    }

    .validator-header {
        padding: 0rem;
        margin: 0rem;
        gap: 0rem;
    }

}


.validatorHeaders .validator-header:first-child {
    background-color: #dfa754;
    color: white;
    cursor: pointer;
}

.validatorHeaders .validator-header:first-child:hover {
    background-color: var(--primary-color);
}


.validator-data {
    flex: 1;
    text-align: center;
    cursor: pointer;
    vertical-align: middle;
}



.validator-noneligibility-section {
    margin-top: 0rem;
    margin-bottom: 10px;
    padding: 0.625rem;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 0.25rem;
}

.validator-noneligibility-section h3 {
    margin-top: 0;
    color: #721c24;
}

.validator-noneligibility-section ul {
    margin: 0;
    padding-left: 1.25rem;
}

.validator-noneligibility-section,
.details-text {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.validator-identity-row {
    margin-top: 0;
    padding: 0;
    border-radius: 0.25rem;
}

.validator-data:first-child,
.validator-header:first-child {
    flex: 0.1;
}

.validator-name {
    flex: 3;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 500px;
    font-weight: bold;
}

@media screen and (max-width: 1200px) {
    .validator-name {
        flex: 3;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 300px;
        font-weight: bold;
    }
}

@media screen and (max-width: 768px) {
    .validator-name-mobile {
        flex: 3;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 800px;
        font-weight: bold;
    }
}

.validator-score,
.validator-total-stake,
.validator-pool-stake,
.validator-target-stake {
    flex: 1;
    text-align: center;
}

.validator-name2 {
    flex: 2;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 1000px;
    font-weight: bold;
}

.validator-header {
    flex: 1;
    text-align: center;
    padding: .3125rem 1.25rem;
    cursor: pointer;
}

.validator-header.sort-asc::after {
    content: ' ▲';
    padding-left: 0.625rem;
    padding-bottom: 0.125rem;
}

.validator-header.sort-desc::after {
    content: ' ▼';
    padding-left: 0.625rem;
    padding-bottom: 0.125rem;
}

.validator-header:hover {
    padding: 0.3125rem 1.25rem;
    color: #353b4e;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}



.header-placeholder {
    display: none;
}

.validator-tips {
    text-align: center;
    padding: 0;
}

.validator-details-pane {
    display: block;
    background-color: #353b4e;
    border: 0px solid #ddd;
    padding: 1rem;
    margin-top: -14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
    opacity: 1;
}

.validators-container {
    position: relative;
}

.validator-details-pane:empty {
    display: none;
}

.validator-details-pane.active {
    display: block;
    opacity: 1;
}

@media (max-width: 768px) {
    .validator-details-pane {
        padding: 0rem;
        margin-top: -.5rem;
    }
}

.validator-details-container a {
    text-decoration: underline;
}

.validator-details-container a:hover {
    color: #dfa754;
}

.validator-details-container .description {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.validator-details-container {
    background-color: #f2f2f2;
    border: 5px solid #dfa754;
    border-radius: 0.5rem;
    padding: 0.625rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    color: #000000;
    display: flex;
    flex-direction: column;
}

.validator-details-location,
.validator-details-website,
.validator-details-identity div {
    color: #353b4e;
}

.validator-details-summary-table td {
    color: #353b4e;
}

.validator-details-summary-value {
    color: #353b4e;
}

.validator-stats-graph-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.validator-summary-section {
    flex: 1;
    margin-right: 0.625rem;
}

.validator-charts-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

.validator-summary-section {
    margin-bottom: 1.25rem;
}

.validator-details-section {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}



.validator-charts-row {
    display: flex;
    justify-content: space-between;
}

.validator-details-header {
    color: #ffffff;
}

.validator-details-name-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.validator-details-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.625rem;
}

.validator-details-description {
    white-space: pre-wrap;
    word-wrap: break-word;
    max-width: 100%;
    overflow-wrap: break-word;
    margin-bottom: 1rem;
}

.validator-details-slogan {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 0.625rem;
}


.validator-details-metrics-item {
    opacity: 0;
    transform: translateY(1.25rem);
    animation: fadeInUp 0.5s ease-out forwards;
    animation-delay: calc(var(--animation-order) * 0.1s);
}

.validator-details-summary-table {
    width: 100%;
    border-collapse: collapse;
}

.validator-details-summary-table tr:nth-child(even) {
    background-color: #e4e4e4;
}

.validator-details-summary-table tr:hover {
    background-color: #f8e4c3;
}

.validator-details-summary-label {
    font-weight: bold;
    padding: 0.3125rem;
    position: relative;
    cursor: pointer;
}

.validator-details-summary-value {
    text-align: right;
    padding: 0.3125rem;
}

.arrow-up {
    color: green;
}

.arrow-down {
    color: inherit;
}

.validator-details-chart {
    width: 100%;
    height: auto;
}

.validator-details-icon {
    width: 15.625rem;
    height: 15.625rem;
    border-radius: 50%;
    object-fit: cover;
    padding: 1.25rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.validator-awards-container {
    display: flex;
    justify-content: center;
    margin-top: 0.625rem;
}

.validator-award-icon {
    width: 9.375rem;
    height: 9.375rem;
    margin: 0 0.625rem;
    transition: transform 0.3s;
    cursor: pointer;
}

.validator-award-icon:hover {
    transform: scale(1.1);
}

.validator-award-icon.highlighted {
    transform: scale(1.1);
}

.validator-awards {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

#toggleAwardsBtn {
    position: relative;
    bottom: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.3125rem 0.625rem;
    font-size: 0.75rem;
    cursor: pointer;
    width: 120px;
}

@media screen and (max-width: 768px) {
    #toggleAwardsBtn {
        bottom: 0px;
        left: 10px;
        padding: 0.25rem 0.5rem;
        font-size: 0.6875rem;
        width: 100px;
    }
}

.validator-awards-row {
    flex: 2;
    justify-content: flex-end;
}

.validator-row-icon {
    width: auto;
    height: 1.25rem;
    margin-left: 0.1875rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.validator-row-icon:hover {
    transform: scale(1.1);
    box-shadow: none;
}

.validator-row.active-row .validator-row-icon {
    position: relative;
    z-index: 2;
}

.award-icon-wrapper {
    position: relative;
    display: inline-block;
}

.award-info-popup {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    padding: 0.3125rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s;
}

.award-info-popup-row {
    position: absolute;
    bottom: 100%;
    right: 0;
    transform: none;
    background-color: #fff;
    padding: 0.3125rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1000;
}


.validator-award-icon-row-wrapper:hover .award-info-popup-row {
    visibility: visible;
    opacity: 1;
    color: #000000;
    font-weight: normal;
}


.validator-award-icon-row-wrapper {
    position: relative;
    margin-right: 4px;
}

.highlight {
    background-color: #ffae00a4;
    border-radius: 0.2rem;
}

.award-icon-wrapper:hover .award-info-popup {
    visibility: visible;
    opacity: 1;
}

.validator-details-chart path.highlighted {
    transform: scale(1.1);
    font-weight: bold;
    stroke-width: 3;
}

.validator-details-summary-table tr.highlighted {
    background-color: #f8e4c3;
}

.validator-details-summary-checkbox {
    margin-left: 0.625rem;
}

.validator-details-chart-container {
    width: 98%;
    height: 500px;
}

@media (max-width: 768px) {

    .validator-data {
        flex-basis: 50%;
        padding: 0;
    }

    .validator-name {
        max-width: 100%;
    }

    .validator-awards-row {
        justify-content: center;
        margin-top: 0.625rem;
    }

    .validator-award-icon-row {
        margin: 0.3125rem;
    }

    .validator-type-toggle {
        flex-wrap: wrap;
        padding: 0rem;
    }

    .validator-type-toggle label {
        font-size: 0.9rem;
    }

    .validator-type-toggle input[type="radio"] {
        width: 0.8rem;
        height: 0.8rem;
    }

    .validator-type-toggle label {
        margin-right: 0.625rem;
        margin-bottom: 0rem;
    }

    .validator-details-pane {
        padding: 0.625rem;
    }

    .validator-details-icon {
        width: 12.5rem;
        height: 12.5rem;
        padding: 0.625rem;
    }

    .validator-award-icon {
        width: 7.5rem;
        height: 7.5rem;
        margin: -12.5rem 0.3125rem 0 0.3125rem;
    }

    .validator-details-chart-container {
        width: 100%;
        height: auto;
    }

    .validator-details-chart {
        width: 100% !important;
        height: auto !important;
    }

}

@media (max-width:480px) {
    .validator-data {
        flex-basis: 100%;
        padding: 0.3125rem;
    }

    .validator-type-toggle label {
        margin-right: 0.3125rem;
        margin-bottom: 0rem;
    }

    .validator-details-icon {
        width: 10rem;
        height: 10rem;
        padding: 0.3125rem;
    }

    .validator-award-icon {
        width: 6.25rem;
        height: 6.25rem;
        margin: -10rem 0.3125rem 0 0.3125rem;
    }

    .validator-details-chart-container {
        width: 100%;
        height: 300px;
    }


    .validator-row {
        justify-content: flex-start;
    }
}



/*
///////////////////////////////////////
// SEARCH AREA STYLES
///////////////////////////////////////
*/

#searchAllValidators {
    color: white;
    text-decoration: underline;
}

#searchAllValidators:hover {
    color: #dfa754;
}

.search-area {
    text-align: center;
    padding: 0;
}

.search-label {
    color: #dfa754;
    margin-right: 0.625rem;
    font-weight: bold;
}

#validatorSearch {
    padding: 0.625rem;
    margin-right: 0.625rem;
    margin-left: 2.5rem;
    border: 1px solid #dfa754;
    border-bottom: none;
    border-radius: 0.3125rem;
    background-color: #d9d8d8;
}

.search-area button {
    padding: 0.625rem;
    background-color: #dfa754;
    color: #ffffff;
    border: none;
    border-radius: 0.3125rem;
    cursor: pointer;
}

.search-area button:hover {
    background-color: #bf914a;
}


/*
  ///////////////////////////////////////
  // FAQ SECTION STYLES
  ///////////////////////////////////////
  */

.award-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.award-item img {
    width: 6.25rem;
    height: 6.25rem;
    margin-right: 1.25rem;
    transition: transform 0.3s;
}

.award-item img:hover {
    transform: scale(1.1);
}

.award-details h3 {
    margin-top: 0;
}

.award-details p {
    margin-bottom: 0.625rem;
}

.faq-container {
    max-width: 50rem;
    margin: 0 auto;
    padding: 1.25rem;
}

.faq-section {
    margin-bottom: 2.5rem;
}

.faq-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    background-color: #dfa754;
    padding-left: 1.25rem;
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
}

.faq-item {
    margin-bottom: 1.25rem;
}

.faq-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
}

.faq-item p {
    margin-bottom: 0.625rem;
}

.faq-item ul {
    list-style-type: disc;
    margin-left: 1.25rem;
}

.faq-question {
    padding: 0.625rem;
    flex: 1 1 50%;
    font-weight: bold;
}

.faq-answer {
    padding: 0.625rem;
    flex: 1 1 50%;
}

.faq-item:nth-child(odd) .faq-question,
.faq-item:nth-child(odd) .faq-answer {
    background-color: #f9f9f9;
}

.faq-item:nth-child(even) .faq-question,
.faq-item:nth-child(even) .faq-answer {
    background-color: #e9e9e9;
}

@media (max-width: 768px) {

    .faq-question,
    .faq-answer {
        flex-basis: 100%;
    }

    .award-item {
        flex-direction: column;
        text-align: center;
    }

    .award-item img {
        margin-right: 0;
        margin-bottom: 0.625rem;
    }
}

.ask-question-container {
    margin-top: 1.25rem;
    padding: 1.25rem;
    background-color: #f9f9f9;
}

#askQuestionForm {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

#askQuestionForm input[type="text"] {
    padding: 0.625rem;
    border: 1px solid #ddd;
    border-radius: 0.3125rem;
}

.submit-btn {
    padding: 0.625rem 1.25rem;
    background-color: #dfa754;
    color: white;
    border: none;
    border-radius: 0.3125rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #c79a43;
}

/*
///////////////////////////////////////
// HERO SECTION STYLES
///////////////////////////////////////
*/
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 25rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('images/background-hero-1.png') center/cover no-repeat;
    opacity: 0;
    animation: fadeInZoom 5s ease-in-out forwards;
    z-index: 1;
}

@keyframes fadeInZoom {
    0% {
        transform: scale(1);
        opacity: 0;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    max-width: 75rem;
    margin: 0 auto;
    padding-top: 6.25rem;
    z-index: 2;
}

.hero-sub-headline {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
}

.hero-cta-container {
    animation: hero-fadeIn 1s ease-out 0.6s;
}



.hero-exchange-rate-info {
    margin-top: 1.25rem;
}

@keyframes hero-fadeIn {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2.5rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 20rem;
    }

    .hero-content {
        padding-top: 3.125rem;
    }

    .hero-sub-headline {
        font-size: 1.25rem;
        margin-bottom: 1.875rem;
    }

    .hero-stake-now-btn {
        font-size: 1rem;
    }
}

@media (max-width:480px) {
    .hero-section {
        min-height: 15rem;
    }

    .hero-content {
        padding-top: 1.875rem;
    }

    .hero-sub-headline {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .hero-stake-now-btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

/*
// MISC STYLES
*/

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(1.25rem);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-1.25rem);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(0.8);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes spotlight {
    from {
        box-shadow: 0 0 0 rgba(223, 167, 84, 0);
    }

    to {
        box-shadow: 0 0 1.875rem rgba(223, 167, 84, 0.5);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.fade-in-animation {
    opacity: 1;
    animation: fadeIn 1s forwards;
}

.slide-up-animation {
    opacity: 1;
    animation: slideUp 1s forwards;
}

.slide-down-animation {
    opacity: 1;
    animation: slideDown 1s forwards;
}

.zoom-in-animation {
    opacity: 1;
    animation: zoomIn 1s forwards;
}

.spotlight-animation {
    animation: spotlight 2s infinite alternate;
}

.pulse-animation {
    animation: pulse 10s infinite;
}

[data-animation-delay] {
    animation-delay: attr(data-animation-delay);
}

.section-container {
    color: var(--primary-color);
    padding: 0.125rem 0;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.section-headline {
    font-size: 2.5rem;
    color: #dfa754;
    margin-bottom: 1.25rem;
}

.section-subheader {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.section-description {
    font-size: 1.25rem;
    color: #555;
    max-width: 50rem;
    margin: 1.25rem auto;
    padding: 1.25rem;
    background: #ffffff;
    border-radius: 0.5rem;
}

.section-image-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    overflow: hidden;
    border-radius: 1.875rem;
    box-shadow: inset 0 0 0.625rem rgba(0, 0, 0, 0.5);

}

.section-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 3.5s ease-in-out;
    object-fit: contain;
}

.section-image:hover {
    transform: scale(1.1);
}


@media (max-width: 768px) {

    .section-headline {
        font-size: 2rem;
    }

    .section-subheader {
        font-size: 1.25rem;
    }

    .section-description {
        font-size: 1rem;
        padding: 0.9375rem;
    }

    .section-image-container {
        border-radius: 1.25rem;
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media (max-width:480px) {
    .section-headline {
        font-size: 1.5rem;
    }

    .section-subheader {
        font-size: 1rem;
    }

    .section-description {
        font-size: 0.875rem;
        padding: 0.625rem;
    }

    .section-image-container {
        border-radius: 0.9375rem;
        margin-left: 20px;
        margin-right: 20px;
    }
}


/*
///////////////////////////////////////
// VALIDATOR AWARDS/TROPHIES STYLES
///////////////////////////////////////
*/



.awards-section {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    position: relative;
    z-index: 0;
}

.awards-section.show-overlay {
    overflow: visible;
}

.award-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.25rem;
    width: 100%;
    max-width: 18.75rem;
    perspective: 1000px;
    z-index: 0;
}

.award-flipper {
    position: relative;
    width: 100%;
    height: 30rem;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.award-flipper.flipped {
    transform: rotateY(180deg);
}

.award,
.award-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border: 2px solid #dfa754;
    border-radius: 0.625rem;
    padding: 0.9375rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}

.award {
    background-color: #ffffff;
    z-index: 2;
}

.award-back {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
    transition: background-color 2s;
}

.award-back h3 {
    color: #dfa754;
    margin: 0 0 0.625rem 0;
    font-size: 1.5rem;
}

.validator-winning-details {
    position: absolute;
    bottom: 6.25rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.625rem;
    border-radius: 0.3125rem;
    display: none;
    width: calc(100% - 1.25rem);
    box-sizing: border-box;
    z-index: 1;
}

.validator-award-details {
    text-align: left;
    padding: 0.9375rem;
    color: #fff;
    border-radius: 0.3125rem;
    position: absolute;
    width: calc(100% - 1.875rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    z-index: 100;
}

.validator-icon-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin: 0 0.3125rem;
    z-index: 2;
}

.validator-detail-link {
    color: #dfa754;
    text-decoration: underline;
}

.validator-icon-circle {
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    z-index: 2;
}

.validator-icon-circle-mobile {
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    z-index: 2;
}

.validator-icon-container:hover .validator-icon {
    z-index: 3;
}

.validator-details-active {
    opacity: 1;
    visibility: visible;
}

.award:hover::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    transform: translateX(-100%) skewX(-45deg);
    animation: sheen 0.75s ease-out forwards;
    pointer-events: none;
}

.award:hover {
    background-color: #dfa754;
    animation: bounce 0.3s ease-in-out forwards;
}

.award img {
    position: relative;
}

.award img::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-45deg) translateX(-150%);
    transition: transform 1.2s ease-out;
    pointer-events: none;
}

.award:hover img::after {
    transform: skewX(-45deg) translateX(200%);
}

.award-validators img {
    max-width: 3.125rem;
    height: auto;
    display: block;
    margin: auto;
    margin-bottom: 0.625rem;
    margin-top: 0.625rem;
}

.award h3 {
    margin: 0.3125rem 0;
}

.award p {
    margin: 0.3125rem 0;
}

.award-validators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.625rem;
}

.award-image {
    width: 100%;
    max-width: 18.75rem;
    min-width: 11.25rem;
    height: auto;
    border-radius: 0;
    margin: 0 auto;
    display: block;
}

.validator-icon-container {
    position: relative;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    z-index: 1000;
}

.validator-icon {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: cover;
    margin-bottom: 0.0rem;
    margin-right: 0.8rem;
    transition: transform 0.3s ease;
}


.validator-details-overlay {
    position: absolute;
    z-index: 20001;
    background-color: rgba(53, 59, 78, 0.9);
    color: white;
    padding: 0.3125rem;
    width: 12.5rem;
    border-radius: 0.5rem;
    border: 2px solid #2b2e3a;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
    display: none;
    left: 50%;
    top: 100%;
}

.validator-details-overlay.show {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10rem);
}

.validator-icon-container.spinning .validator-icon {
    animation: spinCoin 2s infinite linear;
}

.awards-section {
    position: relative;
    z-index: 2;
}

.validator-icon.spinning {
    animation: spinCoin 1s infinite linear;
}

.validator-icon-container .validator-name {
    color: #dfa754;
    transition: color 0.3s ease;
}

.validator-icon-container:hover .validator-name {
    color: white;
}

.validator-name {
    position: relative;
}

.validator-name:hover::after {
    content: attr(data-full-name);
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 12.5rem;
    border: 1px solid #333;
    border-radius: 0.25rem;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.625rem;
    color: #fff;
    font-size: 0.75rem;
    z-index: 1;
}

@keyframes spinCoin {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

.active-row {
    background-color: var(--primary-color) !important;
    color: #fff;
    font-weight: bold;
}

.active-tab {
    background-color: #dfa754;
    color: var(--primary-color);
    border-radius: 0.3125rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

/* STYLES FOR HERO SECTION */

.section-container.hero-header-section-HR01 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: #fff;
    padding: 3.125rem;
    margin-top: 20px;
}

.hero-header-content-HR01 {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-header-image-container-HR01 img {
    width: 100%;
    height: 105%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.stats-and-button-container-HR01 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0.625rem;
}

.section-stats-list.hero-header-stats-list-HR01 {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.section-stats-list.hero-header-stats-list-HR01 li {
    padding: 0.3125rem 0.625rem;
    background-color: var(--primary-color);
    color: #dfa754;
    margin: 0.3125rem 0;
    border-radius: 0.3125rem;
}

.stake-now-button-container {
    padding-left: 0.625rem;
    padding-bottom: 2.5rem;
}

.flex-spacer-HR01 {
    padding: 3.125rem;
}

@media (max-width: 768px) {
    .award-flipper {
        max-width: 15rem;
        min-width: 10rem;
    }

    .award,
    .award-back {
        min-height: 22.5rem;
    }

    .award-image {
        max-width: 15rem;
        min-width: 9rem;
    }

    .validator-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .validator-details-overlay {
        width: 10rem;
    }

    .validator-details-overlay.show {
        transform: translateX(-50%) translateY(-8rem);
    }

    .section-container.hero-header-section-HR01 {
        flex-direction: column;
        padding-top: 1.25rem;
    }


    .section-image-container.hero-header-image-container-HR01 {
        max-width: 500px;
        display: block;
    }


    .flex-spacer-HR01 {
        padding: 1.875rem;
    }
}

@media (max-width:480px) {
    .award-flipper {
        max-width: 12.5rem;
        min-width: 8rem;
    }

    .award,
    .award-back {
        min-height: 10.75rem;
    }

    .award-image {
        max-width: 12.5rem;
        min-width: 7.5rem;
    }

    .validator-icon {
        width: 2rem;
        height: 2rem;
    }

    .validator-details-overlay {
        width: 8rem;
    }

    .validator-details-overlay.show {
        transform: translateX(-50%) translateY(-6.5rem);
    }

    .flex-spacer-HR01 {
        padding: 1.25rem;
    }

    .awards-section {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        /* Space between awards */
    }

    .award-container {
        flex: 1 1 45%;
        max-width: 45%;
        height: 350px;
        /* Set a fixed height */
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .validator-award-details,
    .award-back {
        font-size: 0.75rem;
        line-height: 1.2;
        padding: 0.5rem;
        word-wrap: break-word;
        word-break: break-word;
    }

    .validator-award-details p {
        font-size: 0.75rem;
        /* Adjust as needed */
        line-height: 1.2;
        margin: 0.5rem 0;
        /* Optional: Adjust spacing */
    }

    .validator-award-details h3 {
        font-size: 1.2rem;
        /* Adjust as needed */
        line-height: 1.2;
        margin: 0.5rem 0;
        /* Optional: Adjust spacing */
    }

}

@media (max-width: 600px) {

    .vote-account-pubkey,
    .pool-stake-account-pubkey {
        display: inline-block;
        align-items: flex-end;
        max-width: 250px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: bottom;
    }

    /* Ensure ellipsis is displayed */
    .vote-account-pubkey,
    .pool-stake-account-pubkey {
        text-overflow: ellipsis;
    }
}

/*
///////////////////////////////////////
// TAB AND HEADER ALIGNMENT STYLES
///////////////////////////////////////
*/
.tab {
    overflow: hidden;
    background-color: var(--primary-color);
    text-align: center;
    padding: 0.625rem 1.25rem;
}

.tab button {
    background-color: inherit;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0.875rem 1rem;
    transition: 0.3s;
}

.tab button:hover {
    background-color: #ddd;
}

.tab button.active {
    background-color: #ccc;
}

.tabcontent {
    display: none;
    padding: 0.375rem 0.75rem;
    border: 1px solid #ccc;
    border-top: none;
}

@media (max-width:480px) {

    .tab-dropdown {
        display: flex;
        align-items: center;
        background-color: #f0f0f0;
        color: #333;
        border: 1px solid #333;
        padding: 0.25rem 1.5rem 0.25rem 0.5rem;
        font-size: 0.875rem;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s;
        height: 1.5rem;
        position: relative;
    }

    .tab-dropdown::after {
        content: '▼';
        position: absolute;
        top: 50%;
        right: 0.5rem;
        transform: translateY(-50%);
        font-size: 0.75rem;
        color: #333;
        pointer-events: none;
    }
}


.validator-tabcontent {
    display: none;
    padding: 0.375rem 0.75rem;
    border-top: none;
}

.validator-details.active {
    display: block;
}

.validator-details {
    border: 1px solid #ddd;
    margin-top: 0.625rem;
    padding: 0.9375rem;
    background-color: #fff;
    display: none;
}

.validator-tabs {
    overflow: hidden;
    background-color: #f1f1f1;
}

.validator-tablinks {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0.875rem 1rem;
    transition: 0.3s;
    font-size: 1.0625rem;
}

.validator-tablinks:hover {
    background-color: #ddd;
}

.validator-tablinks.active {
    background-color: #ccc;
}

.validator-tabcontent {
    display: none;
    padding: 0.375rem 0.75rem;
    border: 1px solid #ccc;
    border-top: none;
}

@media (max-width: 768px) {
    .tab {
        padding: 0.5rem 1rem;
    }

    .tab button {
        padding: 0.75rem 0.875rem;
    }

    .tabcontent {
        padding: 0.3125rem 0.625rem;
    }

    .validator-details {
        padding: 0.75rem;
    }

    .validator-tablinks {
        padding: 0.75rem 0.875rem;
        font-size: 1rem;
    }

    .validator-tabcontent {
        padding: 0.3125rem 0.625rem;
    }
}

@media (max-width:480px) {
    .tab {
        padding: 0.375rem 0.75rem;
    }

    .tab button {
        padding: 0.625rem 0.75rem;
    }

    .tabcontent {
        padding: 0.25rem 0.5rem;
    }

    .validator-details {
        padding: 0.625rem;
    }

    .validator-tablinks {
        padding: 0.625rem 0.75rem;
        font-size: 0.9375rem;
    }

    .validator-tabcontent {
        padding: 0.25rem 0.5rem;
    }
}

/*
///////////////////////////////////////
// TOOLTIPS
///////////////////////////////////////
*/

.info-icon-validator-details {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #dfa754;
    color: white;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    margin-right: 5px;
    cursor: pointer;
    position: relative;
    border: 1px solid white;
}

.info-icon-validator-details:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 0;
    transform: translateY(-5px);
    background-color: white;
    color: #333;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: normal;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    max-width: 300px;
    width: 300px;
    word-wrap: break-word;
    text-align: left;
}

.validator-details-summary-label {
    display: flex;
    align-items: center;
}


.info-tooltip,
.tooltip-icon::after {
    width: 250px;
    max-width: 250px;
}

#tooltipContainer {
    position: absolute;
    pointer-events: none;
    z-index: 10000;
}

.info-tooltip {
    position: absolute;
    background-color: white;
    color: #333;
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.4;
    max-width: 200px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10000;
}

.info-icon {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 14px;
    height: 14px;
    background-color: #dfa754;
    color: white;
    text-align: center;
    line-height: 14px;
    font-size: 10px;
    border-radius: 50%;
    margin-left: 5px;
    border: 1px solid #fff;
}

.info-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
}

@media (max-width: 480px) {
    .info-icon::after {
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 1rem;
    }
}

.info-icon:hover+.info-tooltip,
.info-tooltip:hover {
    display: block;
}

.tooltip-icon {
    position: relative;
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    line-height: 1.25rem;
    text-align: center;
    background-color: #dfa754;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    cursor: pointer;
    margin-left: 0.3125rem;
    font-size: 0.875rem;
    vertical-align: middle;
}

.tooltip-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    white-space: nowrap;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 0.3125rem 0.625rem;
    border-radius: 0.3125rem;
    font-size: 0.75rem;
    display: none;
    z-index: 1000;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    visibility: hidden;
}

.tooltip-icon:hover::after {
    display: block;
    opacity: 1;
    visibility: visible;
}

/*
  ///////////////////////////////////////
  // ANIMATIONS
  ///////////////////////////////////////
  */
@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 0.5rem rgba(255, 215, 0, 0.7);
    }

    50% {
        box-shadow: 0 0 1.25rem rgba(255, 215, 0, 0.9);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.8);
    }

    to {
        transform: scale(1);
    }
}

@keyframes sheen {
    0% {
        transform: translateX(-100%) skewX(-45deg);
    }

    100% {
        transform: translateX(200%) skewX(-45deg);
    }
}

@keyframes bounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.9);
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1.05);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes spinCoin {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

@keyframes fadeInZoom {
    0% {
        transform: scale(1);
        opacity: 0;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes hero-fadeIn {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2.5rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stake-now-button-container {
    text-align: center;
    margin-top: 2.5rem;
}

.stake-now-button {
    background-color: #dfa754;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5625rem;
    font-size: .8rem;
    font-weight: bold;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
}

.stake-now-button:hover {
    background-color: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .tooltip-icon {
        width: 1.125rem;
        height: 1.125rem;
        line-height: 1.125rem;
        font-size: 0.8125rem;
    }

    .tooltip-icon::after {
        font-size: 0.6875rem;
        padding: 0.25rem 0.5rem;
    }

    .stake-now-button {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width:480px) {
    .tooltip-icon {
        width: 1rem;
        height: 1rem;
        line-height: 1rem;
        font-size: 0.75rem;
    }

    .tooltip-icon::after {
        font-size: 0.625rem;
        padding: 0.1875rem 0.375rem;
    }

    .stake-now-button {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.5rem;
    }

    .stake-now-button-container {
        margin-top: 1rem;
        margin-bottom: 0rem;
        padding: 0rem;
    }

    .hero-header-image-container-HR01 img {
        width: 100%;
        height: auto;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .hero-header-headline-HR01 {
        margin: 0rem;
        padding: 0rem;
    }

    .hero-header-subheader-HR01 {
        margin: 0.6rem;
        padding: 0rem;
    }

    .hero-header-description-HR01 {
        margin: 0.6rem;
        padding: 0rem;
    }

    .hero-header-section-HR01 {
        padding: 0rem;
        margin: 0rem;
    }
}

/*
///////////////////////////////////////
// STAKING STYLES
///////////////////////////////////////
*/

.stake-pool-tab-content {
    background-color: #fff;
    width: 100%;
}

.two-line-estimate {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: 60px;
    text-align: right;
    line-height: 0.89
}

.estimate-value {
    font-size: 14px;
}

.estimate-label {
    font-size: 12px;
    color: #666;
}

.input-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.input-group input[type="number"] {
    flex: 1;
    min-width: 0;
    margin-right: 5px;
}


.your-wallet {
    background-color: #353b4e;
    /* Dark blue color */
    padding: 20px;
    border-radius: 8px;
    width: 400px;
    margin: 0 auto;
}

.action-button {
    width: auto;
    padding: 10px 20px;
    background-color: #dfa754;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}


.wallet-stats {

    margin-top: 20px;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    display: grid;
    place-items: center;
    height: 100%;
    gap: 10px;
}

#walletAddress {
    margin-top: 15px;
    display: none;
    font-size: 12px;
}

#walletAddressDisplay {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

.stat {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.stat i {
    margin-right: 10px;
    color: #dfa754;
}

.balance {
    font-size: 24px;
    font-weight: bold;
    margin-right: 5px;
}

.usd-balance {
    color: #888;
}

.copy-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #dfa754;
    margin-left: 10px;
}

.copy-icon {
    margin-left: 5px;
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
    /* For tooltip positioning */
}

.copy-icon:hover {
    transform: scale(1.2) !important;
}

.copy-icon.clicked {
    transform: scale(0.8);
}

.copy-icon[data-tooltip]:after {
    content: attr(data-tooltip);
    position: absolute;
    top: -25px;
    /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 3px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.copy-icon.clicked[data-tooltip]:after {
    opacity: 1;
}


.tab-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0px;
}

.staking-tab {
    padding: 10px 20px;
    background-color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.staking-tab:hover {
    background-color: #f5f5f5;
}

.staking-tab.active {
    background-color: #dfa754;
    color: #fff;
}

.staking-tab-link,
.unstaking-tab-link {
    /* ... existing styles ... */
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.staking-tab-link::before,
.unstaking-tab-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: skew(-30deg);
    transition: left 0.3s;
}

.staking-tab-link:hover,
.unstaking-tab-link:hover {
    transform: scale(1.05);
}

.staking-tab-link:hover::before,
.unstaking-tab-link:hover::before {
    left: 100%;
}

.staking-tab-link.active,
.unstaking-tab-link.active {
    background-color: #dfa754;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.staking-tabcontent {
    display: none;
}

.staking-tabcontent.active {
    display: block;
}

.default-input {
    background-color: white;
    color: black;
    border: 1px solid #ccc;
}

.advanced-options-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    margin-top: -10px;
    gap: 10px;
}

.advanced-options-container h3 {
    margin: 1rem 0;
}



#advancedOptionsContainer.show {
    max-height: 200px;
}


.advanced-options {

    width: 100%;

    text-align: center;

    margin-bottom: 0px;

}





.advanced-options label {

    font-size: 0.8rem;

    display: block;

    margin-bottom: 0px;

}

.advanced-input-container {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 2px;

}

.apply-button,
.reset-button {

    font-size: 0.8rem;

    padding: 5px 10px;

    cursor: pointer;

}

.advanced-input-container input {

    font-size: 0.8rem;

    padding: 0px;

    width: 300px;

}

.advanced-options input[type="text"] {
    width: 300px;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 5px 0;
}

#advancedOptionsContainer {
    margin-top: 0px;
    margin-bottom: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#advancedOptionsContainer .advanced-section {
    margin-bottom: 0px;
}

#advancedOptionsContainer label {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

#advancedOptionsContainer input {
    display: block;
    margin-top: 5px;
    width: 350px;
}

#advancedOptionsContainer .advanced-tooltip {
    margin-left: 5px;
    cursor: pointer;
}

.input-container {
    position: relative;
}

.status-icon {
    margin-right: 5px;
    position: absolute;
    left: -20px;
    top: 5px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-position: center;
}

.clear-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.advanced-hint {

    display: block;

    font-size: 0.7rem;

    color: #666;

    text-align: left;

    margin-top: 5px;

}



.advanced-tooltip:hover+.advanced-hint {

    display: block;

}

.advanced-tooltip {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #353b4e;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    margin-left: 5px;
    cursor: pointer;
}

input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
}

input[type="number"]:focus {
    outline: none;
    border-color: #dfa754;
}


.max-button {
    padding: 10px 16px;
    background-color: #dfa754;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: -10px;
}




@media (max-width: 768px) {
    .staking-container {
        margin-top: 40px;
    }

    .exchange-rate {
        margin-top: 0px;
        margin-bottom: -10px;
    }

}

@media (max-width: 480px) {
    .advanced-input-container input {

        font-size: 0.8rem;

        padding: 0px;

        width: 200px;

    }

    #rpcUrlInput {
        width: 250px;
        margin-right: 10px;
    }

    #pubkeyInput {
        width: 250px;
        margin-right: 10px;
    }

    .max-button {
        margin-top: 0.5rem;
    }

    .stake-container {
        padding: 0.5rem;
    }

    .stake-container button {
        margin-right: 0;
    }

    .stake-pool-tab-content {
        margin-top: 40px;
        margin-bottom: 0px;
    }

    .validator-container {
        margin-top: -40px;
    }

    .exchange-rate {
        margin-top: 15px;
        margin-bottom: -20px;
    }

    .staking-container {
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .stakingTabWrap {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .stakingTabList {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .sub-tabs,
    .sub-tab-list,
    .input-group,
    .action-group {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0px;
    }

    .sub-tab-list {
        width: 100%;
        margin: 0;
        padding: 0px;
    }


    .sub-tab-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 10px 10px 10px 10px;
        margin-bottom: 0px;
        margin-top: 0px;

    }

    .stakingTabList li {
        width: 50%;
    }


    .stakingTabList li a {
        font-size: 14px;
        padding: 8px 5px;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sub-tab-list li a {
        font-size: 12px;
        padding: 8px 5px;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .stakingTabContent {
        width: 100%;
        height: auto;
    }

    .sub-tab-content {
        width: 100%;
        height: auto;
        padding: 10px;
    }

    .stakeToxSHinText {
        white-space: nowrap;
    }
}


.confirmation-modal {
    display: none;
    /* Add your confirmation modal styles */
}

.connecting-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.connecting-modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}


.message {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-weight: bold;
}


#stakeAmount:disabled,
#maxStakeButton:disabled,
#unstakeXshinAmount:disabled,
#unstakeMaxButton:disabled,
#unstakeToStakeAmount:disabled,
#unstakeToStakeMaxButton:disabled {
    background-color: #b2b0b0;
    color: #888;
    cursor: not-allowed;
}

#stakeButton,
#unstakeXshinButton,
#unstakeToStakeButton {
    transition: background-color 0.3s, color 0.3s;
}

#stakeButton:hover,
#unstakeXshinButton:hover,
#unstakeToStakeButton:hover {
    background-color: #c08d3c;
}

#stakeAmount,
#unstakeXshinAmount,
#unstakeToStakeAmount {
    margin-right: 0.625rem;
    padding: 0.625rem;
    font-size: 1rem;
    border: none;
    border-radius: 0.3125rem;
    background-color: #f0f0f0;
}

#xshinToStakeEstimate {
    margin-right: 10px;
}


.input-group {
    display: flex;
    align-items: center;
}

.input-group input {
    flex: 1;
    margin-right: 10px;
}

.sol-icon,
.xshin-icon {
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 5px;
    margin-left: 5px;
}

.sol-icon {
    background-image: url('images/solana_logo_circle.png');
}

.xshin-icon {
    background-image: url('images/xSHIN_2d_128_white_border.png');
}

.arrow {
    margin: 0 10px;
}

.action-group {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.max-button,
.action-button {
    padding: 10px 20px;
}

.data-timestamp-container {
    text-align: center;
    padding: 5px 0;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.timestamp-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 20px;
}

.refresh-icon-timestamp {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 01em;
    cursor: pointer;
    padding: 0;
    margin-left: -10px;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .refresh-icon-timestamp {
        margin-left: -5px;
    }
}

@media (max-width: 480px) {
    .refresh-icon-timestamp {
        margin-left: 0px;
    }
}

.refresh-icon-timestamp:hover {
    transform: rotate(180deg);
}

.refresh-icon-timestamp:active {
    transform: rotate(360deg);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.rotating {
    animation: rotate 1s linear infinite;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.no-new-data-message {
    margin-left: 10px;
    animation: fadeOut 0.5s ease-in-out 2.5s forwards;
}

.wallet-balance-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.balance-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: -10px;
}

.balance-icon {
    width: 24px;
    height: 24px;
}

.balance-text {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.balance-value {
    font-size: 14px;
    font-weight: bold;
}

.balance-label {
    font-size: 12px;
    color: #666;
}

.stake-balance-container {
    position: relative;
}

.dropdown-arrow {
    margin-left: 5px;
    font-size: 12px;
    cursor: pointer;
}



#walletContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wallet-address {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}

.wallet-address a {
    text-decoration: underline;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.wallet-address a:hover {
    color: #d4af37;
}


.disconnect-icon,
.refresh-icon {
    width: 16px;
    height: 16px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.disconnect-icon {
    margin-right: 10px;
}

.refresh-icon {
    margin-left: 10px;
}

.disconnect-icon:hover,
.refresh-icon:hover {
    transform: scale(1.1);
}

.disconnect-icon:active,
.refresh-icon:active {
    transform: scale(0.9);
}

@media screen and (max-width: 768px) {

    .header-top {
        padding: 0px;
    }

    .header-logo {
        height: 80px;
        margin-left: 10px;
    }

    .wallet-info-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0px 5px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        margin-bottom: 3px;
        margin-top: 1px;
    }

    .balance-icon {
        width: 18px;
        height: 18px;
    }

    .balance-value {
        font-size: 11px;
    }

    .balance-label {
        font-size: 10px;
    }

    .wallet-balance-card {
        padding: 2px;
    }

    .balance-container {
        margin-bottom: -8px;
        margin-right: 0px;
        gap: 5px;
    }

    #walletAddress {
        font-size: 10px;
        padding: 0px;
        margin-top: 8px;
    }

    .disconnect-icon,
    .refresh-icon {
        width: 12px;
        height: 12px;
        cursor: pointer;
        transition: transform 0.2s ease;
    }
}


@media (max-width: 480px) {
    .header-logo {
        height: 60px;
        margin-left: 3px;
    }

    .header-logo-container {
        margin-left: 0.05rem;
        min-height: 90px;
        display: flex;
        align-items: center;
    }

    .header-message {
        padding: 5px;
        padding-left: 5px;
        padding-right: 5px;
        font-size: 12px;
        min-height: 15px;
        border-radius: 12px;
    }


    .header-top {
        padding: 0px;
    }

    .header-bottom {
        display: flex;
        align-items: center;
        justify-content: left;
        background: var(--primary-color);
        padding: 0.3rem 0.3rem;
        width: 100%;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .header-logo {
        height: 3rem;
    }

    .header-logo-container {
        margin-left: 0.05rem;
    }


    #newDataAvailableContainer button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    #navigationMenu {
        display: flex;
        /* Enables Flexbox */
        align-items: flex-start;
        /* Centers items at the bottom of the container */
        justify-content: start;
        /* Aligns items to the start of the container horizontally */
        gap: 0px;
        /* Adds space between each element */
        padding: 0px;
        /* Adds padding around the content inside the navigation menu */
        /* vertical-align: middle; */
        height: 40px;
    }


    .tab-link,
    #tabDropdown,
    #searchArea {
        height: 35px;
        /* Sets a uniform height for all elements */
    }

    .tab-link,
    #tabDropdown {
        margin-top: 2px;
    }

    .tab-link,
    #tabDropdown {
        line-height: 40px;
        /* Centers text vertically */

    }


    .header-info-container {
        display: none;
    }

    .stake-container {
        margin-left: auto;
    }


    .tab-link {
        display: none;
    }


    #searchArea {
        display: flex;
        align-items: baseline;
        gap: 0px;
        padding: 0px;
        height: 30px;
    }


    #searchArea button {
        height: 30px;

    }

    /* Styling for the input field */
    #searchArea input[type="text"] {
        font-size: 12px;
        /* Sets the font size for the text inside the input */
        width: 140px;
        /* Sets the width of the input field */
        padding: 8px;
        /* Adds padding inside the input field for better text visibility */
        border: 2px solid #ccc;
        /* Adds a border to the input field */
        border-radius: 4px;
        /* Rounds the corners of the input field */
    }

    /* Styling for the button */
    #searchArea button {
        font-size: 12px;
        /* Sets the font size for the text inside the button */
        padding: 8px 16px;
        /* Adds vertical and horizontal padding inside the button */
        border: none;
        /* Removes the border from the button */
        background-color: var(--secondary-color);
        /* Sets a blue background color for the button */
        color: white;
        /* Sets the text color inside the button to white */
        border-radius: 4px;
        /* Rounds the corners of the button */
        cursor: pointer;
        /* Changes the cursor to a pointer when hovering over the button */
    }

    #searchArea button:hover {
        background-color: var(--highlight-color);
        /* Changes the background color when hovering over the button */
    }

    #validatorSearch {
        flex: 1;
        margin-right: 0.625rem;
        padding: 0.5rem;
        font-size: 1rem;
        border: none;
        border-radius: 0.3125rem;
        background-color: #f0f0f0;
        width: 60%;
        box-sizing: border-box;
        height: 100%;
    }

    #clearSearch {
        padding: 0.5em;
        font-size: .5rem;
        border: none;
        border-radius: 0.3125rem;
        background-color: var(--secondary-color);
        color: white;
        cursor: pointer;
        width: 25%;
        flex: 0 0 25%;
        height: 100%;
        box-sizing: border-box;
    }

    .search-area input,
    .search-area button {
        background-color: #f0f0f0;
    }

    .search-area {
        flex-direction: row;
        justify-content: space-between;
        gap: 0.3rem;
    }
}

#clearSearchLink {
    color: white;
    text-decoration: underline;
    cursor: pointer;
}

#clearSearchLink:hover {
    color: #ffb103;
}

.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

/*
  // MISC STYLES 2
  */



.section-content-container {
    margin-top: 0px;
}

@media screen and (max-width: 768px) {
    .section-content {
        flex-direction: column;
    }

    .video-container {
        margin-right: 0;
        margin-bottom: 1.25rem;
    }
}

.section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 75rem;
    margin: 0 auto;
    padding: 2.5rem;
}

.section-content {
    max-width: 50rem;
    margin: 0 auto;
    padding: 0;
    text-align: left;
}

.video-container {
    margin-bottom: 0;
}

.video-container iframe {
    width: 100%;
    height: 25rem;
}

.strategy-container {
    max-width: 50rem;
    margin: 0 auto;
    padding: 0;
    color: var(--text-color);
}

.section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
}

.section p {
    margin-bottom: 0.9375rem;
    line-height: 1.6;
}

.section ul {
    list-style-type: disc;
    margin-left: 1.875rem;
    margin-bottom: 1.25rem;
}

.section ul ul {
    list-style-type: circle;
    margin-left: 1.25rem;
}


#characterImageContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 200px;
    background-color: #1a202c;
    position: relative;
    bottom: 50px;
    left: 0;
    right: 0;
    margin-top: auto;
    z-index: 10;
}

#PoolStrategy {
    margin-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

#PoolStrategy,
#Press,
#Privacy,
#Terms {
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 40px;
    overflow-x: hidden;
}

#Staking {
    margin-bottom: 30px;
}

@media screen and (max-width:768px) {

    #PoolStrategy,
    #FAQ,
    #Press,
    #Privacy,
    #Terms {
        margin-bottom: 50px;
        margin-top: 20px;
    }
}

@media screen and (max-width:850px) {
    #characterImageContainer {
        bottom: 30px;
    }
}


.character-image {
    max-width: 50rem;
    height: auto;
    border-radius: 0.625rem;
    box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1);
}

.testimonials-container {
    margin-top: 2.5rem;
}

.defi-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.defi-tab-link {
    background-color: #f0f0f0;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 0.625rem 1.25rem;
    margin-right: 0.625rem;
    border-radius: 0.3125rem;
    transition: background-color 0.3s;
}

.defi-tab-link:hover {
    background-color: #ddd;
}

.defi-tab-link.active {
    background-color: #dfa754;
    color: #fff;
}

.defi-tab-content {
    display: none;
}

.defi-tab-content.active {
    display: block;
}

.defi-project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
    gap: 1.25rem;
    padding: 0;
    list-style-type: none;
}

.defi-project-list li {
    background-color: #f0f0f0;
    border-radius: 0.625rem;
    padding: 1.25rem;
}

@media screen and (max-width: 768px) {
    .section {
        padding: 1.875rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .section ul {
        margin-left: 1.25rem;
    }

    .character-image {
        max-width: 100%;
    }

    .defi-project-list {
        grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    }
}

@media screen and (max-width:480px) {
    .section {
        padding: 1.25rem;
    }

    .section h2 {
        font-size: 1.25rem;
    }

    .section ul {
        margin-left: 0.9375rem;
    }

    .defi-project-list {
        grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
    }
}

/*
  // WALLET TABS
  */

.priority-fee-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.priority-fee-toggle label {
    margin-right: 10px;
}

.dark-background {
    background-color: #353b4e;
}

.stakingTabWrap {
    width: 450px;
    margin: 0px auto;
}

.stakingTabList {
    width: 390px;
    height: 80px;
    margin: 0 auto;
    list-style: none;
    overflow: hidden;
    padding: 0;
    position: relative;
    z-index: 10;
}

.stakingTabList li {
    float: left;
    width: 195px;
    position: relative;
}

.stakingTabList li a {
    cursor: pointer;
    position: relative;
    display: block;
    height: 30px;
    margin-top: 40px;
    padding: 10px 0 0 0;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    background: #dfa754;
    -webkit-box-shadow: 8px 12px 25px 2px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 8px 12px 25px 2px rgba(0, 0, 0, 0.4);
    box-shadow: 8px 12px 25px 2px rgba(0, 0, 0, 0.4);
    -webkit-transition: padding 0.2s ease, margin 0.2s ease;
    -moz-transition: padding 0.2s ease, margin 0.2s ease;
    -o-transition: padding 0.2s ease, margin 0.2s ease;
    -ms-transition: padding 0.2s ease, margin 0.2s ease;
    transition: padding 0.2s ease, margin 0.2s ease;
}

.stakingTabList li:first-child a {
    z-index: 3;
    -webkit-border-top-left-radius: 8px;
    -moz-border-radius-topleft: 8px;
    border-top-left-radius: 8px;
}

.stakingTabList li:last-child a {
    z-index: 1;
    -webkit-border-top-right-radius: 8px;
    -moz-border-radius-topright: 8px;
    border-top-right-radius: 8px;
}

.stakingTabList li a:hover {
    margin: 35px 0 0 0;
    padding: 10px 0 5px 0;
}

.stakingTabList li a.active {
    margin: 30px 0 0 0;
    padding: 10px 0 10px 0;
    background: #353b4e;
    color: #dfa754;
    z-index: 4;
    outline: none;
}

.stakingTabList li:first-child a.active::before {
    content: "";
    position: absolute;
    top: 0px;
    right: -20px;
    width: 0;
    height: 0;
    border-bottom: 60px solid #353b4e;
    border-right: 20px solid transparent;
    z-index: -1;
}

.stakingTabList li:last-child a.active::before {
    content: "";
    position: absolute;
    top: 0px;
    left: -20px;
    width: 0;
    height: 0;
    border-bottom: 60px solid #353b4e;
    border-left: 20px solid transparent;
    z-index: -1;
}

.group:before,
.group:after {
    content: " ";
    display: table;
}

.group:after {
    clear: both;
}

.stakingTabContent {
    width: 390px;
    height: 240px;
    margin: 0 auto;
    background: #353b4e;
    -webkit-box-shadow: 2px 8px 25px -2px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 2px 8px 25px -2px rgba(0, 0, 0, 0.3);
    box-shadow: 2px 8px 25px -2px rgba(0, 0, 0, 0.3);
    -webkit-border-bottom-right-radius: 8px;
    -webkit-border-bottom-left-radius: 8px;
    -moz-border-radius-bottomright: 8px;
    -moz-border-radius-bottomleft: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.stakingTabContent>div {
    padding: 30px 40px;
    color: #ffffff;
    line-height: 26px;
    font-size: 18px;
    margin: 0;
    display: none;
}

.stakingTabContent>div.active {
    display: block;
}

.input-group {
    display: flex;
    align-items: center;
}

.input-group input {
    flex: 1;
    margin-right: 10px;
}

.action-button {
    background-color: #dfa754;
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
    margin-top: -10px;
}

.max-button:hover,
.action-button:hover {
    background-color: #c89844;
}

.validator-details-tab-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.validator-details-tab-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    border: none;
    overflow-x: none;
}

.validator-details-tab-list li {
    float: left;
    margin: 0;
}

.validator-details-tab-list li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    text-align: center;
    position: relative;
    border-bottom: 0px solid #dfa754;
    font-family: 'Nunito', sans-serif;
}

.validator-details-tab-list li a:not(.active) {
    background: transparent;
    color: #666;

    font-weight: bold;
}

.validator-details-tab-list li a:not(.active):hover {
    color: #353b4e;
    font-weight: bold;
}

.validator-details-tab-list li a.active {
    background: #dfa754;
    color: #ffffff;
    z-index: 2;
    border-bottom: 1px solid #dfa754;
    font-weight: bold;
}

.validator-details-tab-list li:first-child a.active {
    border-top-left-radius: 8px;
}

.validator-details-tab-list li:last-child a.active {
    border-top-right-radius: 8px;
}

.validator-details-tab-list li:first-child a.active::before {
    content: "";
    position: absolute;
    top: 0;
    right: -20px;
    width: 0;
    height: 0;
    border-bottom: 42px solid #dfa754;
    border-right: 20px solid transparent;
    z-index: -1;
}

.validator-details-tab-list li:last-child a.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: -20px;
    width: 0;
    height: 0;
    border-bottom: 42px solid #dfa754;
    border-left: 20px solid transparent;
    z-index: -1;
}

.validator-details-tab-list li a.active::before {
    opacity: 1;
}

.validator-details-tab-content {
    background: transparent;
    padding: 0px;
    border-top: 2px solid #dfa754;
    margin-top: -1px;
}

.validator-details-tab-content>div {
    display: none;
    color: #ffffff;
}

.validator-details-tab-content>div.active {
    display: block;
}