.container {
    max-width: 100%;
    width: 100%;
    min-height: 100%;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.accountHeader {
    margin-bottom: var(--space-half);
}

.titleRow {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.searchButton {
    align-items: center;
    display: flex;
    gap: var(--space-eight);
    justify-content: flex-end;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: right;
    white-space: nowrap;
}

.loupe {
    width: 17px;
}

.button {
    height: 37px;
}

@media (max-width: 768px) {
    .accountHeader {
        padding: 0 var(--space-half);
    }

    .button {
        height: 50px;
    }
}

.balanceHeader {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: var(--space-half);
}

.actionsContainer {
    --size-default: 14px;
    display: flex;
    flex-grow: 1;
    flex-shrink: 0;
    flex-wrap: nowrap;
    gap: var(--space-quarter);
    justify-content: flex-end;
    margin-top: var(--space-half);
    padding-bottom: 0;
}

.actionsContainer span {
    word-break: normal;
}

.withWalletConnect.actionsContainer {
    justify-content: flex-end;
}

.disabled {
    cursor: default;
    opacity: 0.4;
}

.accountInfoLink {
    align-items: center;
    display: flex;
    font-size: var(--size-default);
    margin-right: var(--space-half);
    min-height: 50px;
    text-decoration: none;
}

.accountIcon {
    width: 18px;
    height: 18px;
    margin-right: var(--space-eight);
}

.errorLoadTransactions {
    text-align: center;
}

.titleWithButton {
    align-items: baseline;
    color: var(--color-secondary);
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-quarter) !important; /* overwrite default subTitle margin */
}
.titleWithButton button {
    padding-left: var(--space-half);
    padding-right: 0;
    text-align: right;
}

.emptyTransactions {
    color: var(--color-secondary);
    text-align: center;
}

@media (max-width: 768px) {
    .accountInfoLink {
        margin-right: 0;
        padding: 0 var(--space-quarter);
    }

    .accountIcon {
        margin-right: 0;
    }

    .actionsContainer {
        justify-content: center;
        margin-bottom: var(--space-half);
        padding-bottom: 0;
        width: 100%;
    }

    .withWalletConnect.actionsContainer {
        justify-content: center;
    }

    .balanceHeader {
        margin-bottom: 0;
    }

    .actionsContainer a,
    .actionsContainer > button {
        flex: 1;
        min-width: unset;
    }

}

.status {
    white-space: pre-line;
}

.txHistorySkeleton {
    margin-top: var(--space-quarter);
}

.searchContainer {
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.searchHidden {
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
}

.searchInput {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text);
    font-size: var(--size-default);
    transition: border-color 0.2s ease;
    margin: 0;
    margin-bottom: var(--space-half);
    min-width: 320px;
    width: 100%;
}

.searchInput input {
    height: 40px;
}

.searchInput:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb), 0.1);
}

.searchInput::placeholder {
    color: var(--color-secondary);
}

@media (max-width: 768px) {
    .searchInput {
        padding-right: 0;
    }

    .searchButton {
        font-size: 14px;
        height: var(--item-height-small);
        text-align: left;
    }
}