* {
    font-family: Helvetica, serif;
}

html, body {
    touch-action: manipulation;
}


/*
    For specific parts so an user can't select text or icons
*/
.prevent-select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

/* Voor algemeen skeleton loading: */
:root {
    --loading-white: #ffffff;
    --loading-grey: #f0f0f0; /* Lichtgrijze kleur voor contrast */
}

.skeleton {
    background-color: var(--loading-white);
    background: linear-gradient(
            100deg,
            rgba(240, 240, 240, 0) 40%, /* Transparante sectie in de grijstint */
            rgba(240, 240, 240, 0.5) 50%, /* Lichtgrijze sectie in het midden */
            rgba(240, 240, 240, 0) 60% /* Transparante sectie in de grijstint */
    ) var(--loading-white);
    background-color: rgba(249, 249, 249, 0);
    background-size: 200% 100%;
    background-position-x: 180%;
    animation: loading 0.6s ease-in-out infinite;
    /*border-radius: 4px;*/
    height: auto;
    min-height: 50px;
}

.skeleton-stock {
    background: linear-gradient(
            90deg, /* Verander de richting van de beweging */
            rgba(240, 240, 240, 0) 40%,
            rgba(240, 240, 240, 0.5) 50%,
            rgba(240, 240, 240, 0) 60%
    ) var(--loading-white);
    background-size: 300% 100%; /* Maak de achtergrond groter voor een andere beweging */
    background-position: 0% 0%; /* Startpositie */
    background-color: var(--loading-grey);
    animation: stock-loading 1.5s ease-in-out infinite;
    pointer-events: none;
}

.skeleton-contrast {
    background-color: #e6e6e6;
    background-image: linear-gradient(
            90deg,
            #e6e6e6 0px,
            #f5f5f5 40%,
            #e6e6e6 80%
    );
    background-size: 300% 100%;
    background-position: 100% 0;
    animation: shimmer-contrast 1.5s ease-in-out infinite;
    border-radius: 8px;
    min-height: 50px;
}

.skeleton-stock-graphs {
    background-color: #e6e6e6;
    background-image: linear-gradient(
            90deg,
            #e6e6e6 0px,
            #e1e1e1 40%,
            #d9d9d9 80%
    );
    background-size: 300% 100%;
    background-position: 100% 0;
    animation: shimmer-contrast 1.5s ease-in-out infinite;
    border-radius: 8px;
}

/* Voor .skeleton-contrast */
@keyframes shimmer-contrast {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

@keyframes loading {
    to {
        background-position-x: -20%;
    }
}

@keyframes stock-loading {
    0% {
        background-position: 100% 0; /* Begin links buiten het zichtbare gebied */
    }
    50% {
        background-position: 0% 0; /* Midden in het zichtbare gebied */
    }
    100% {
        background-position: -100% 0; /* Eind rechts buiten het zichtbare gebied */
    }
}

/* Different class for recent and random stocks for graphs dashboard: */
.skeletonClass {
    background-color: var(--loading-grey);
    background: linear-gradient(
            100deg,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0) 60%
    ) var(--loading-grey);
    background-size: 200% 100%;
    background-position-x: 180%;
    animation: loading 0.6s ease-in-out infinite;
    min-height: 60vh;
    margin-left: 25px;
    margin-right: 25px;
    border-radius: 10px;
}

.color-change {
    background-color: #f9f9f9;
}

.skeletonHistory {
    background-color: var(--loading-white);
    background: linear-gradient(
            100deg,
            rgba(240, 240, 240, 0) 40%, /* Transparante sectie in de grijstint */
            rgba(240, 240, 240, 0.5) 50%, /* Lichtgrijze sectie in het midden */
            rgba(240, 240, 240, 0) 60% /* Transparante sectie in de grijstint */
    ) var(--loading-white);
    background-color: rgba(249, 249, 249, 0);
    background-size: 200% 100%;
    background-position-x: 180%;
    animation: loading 0.65s ease-in-out infinite;
    height: auto;
}

/* INDEX.HTML */

.graph-container-top {
    margin: 15px 25px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background-color: #EEEEEE;
}

@media (max-width: 1150px) {
    .graph-container-top.dark {
        margin-right: 0;
    }
}

@media (max-width: 767px) {
    .graph-container-top {
        margin-right: 0;
        margin-left: 0;
    }

    #stockGraphs.active {
        margin-left: 0;
    }

    .right-content,
    #graphs-title,
    #filter-label,
    #filter {
        display: none;
    }

    #accountBalance {
        margin-top: 0;
        font-size: 18px;
    }
}

.graph-container {
    margin: 20px 10px;
    background-color: #EEEEEE;
    border-radius: 10px;
    overflow: hidden;
}

.graph-container-stock {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 10px;
    background-color: #EEEEEE;
    border-radius: 10px;
    overflow: auto;
    overflow-y: scroll;
}

.graph-container-stock::-webkit-scrollbar {
    display: none;
}

.graph-container-stock {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.left-content {
    margin: 20px 10px 0;
    flex: 1;
}

.right-content {
    margin: 10px 30px 0;
    width: auto;
}

.right-content table {
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.dark {
    border-top: 100px;
    background-color: #838383;
    border-radius: 10px;
    overflow: hidden;
}

.graph-container .plotly-graph-div {
    width: 100% !important;
    max-width: 100%;
    height: 300px !important;
    padding: 10px;
}

.hidden {
    display: none;
}

.api-info {
    margin: 5px 20px;
}

.market-status-container {
    display: flex;
    align-items: center;
}

.market-status-container div {
    margin-left: 10px;
}

.closed-market-green-dot, .closed-market-red-dot {
    max-height: 20px;
    max-width: 20px;
}

@media (min-width: 768px) {
    .graph-container {
        margin: 20px 50px;
    }
}

.image-container {
    display: none;
}

.index-image {
    max-height: 35vh;
    margin: 0;
}

.stock-name {
    margin-left: 25px;
}

.container {
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

.section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 50px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.section.show {
    opacity: 1;
    transform: translateY(0);
}

.text {
    flex: 1;
    padding: 20px;
    font-size: 1.2rem;
}

.image-box {
    flex: 1;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FAFAFA;
    border-radius: 10px;
    width: min-content;
}

.image-box img {
    max-width: 100%;
    height: auto;
    border-radius: 25px;
}

.main-content {
    text-align: center;
    padding: 40px 20px;
    width: 60%;
    margin: 0 auto;
}

.box-video {
    height: 35vh;
    border-radius: 5px;
}

@media (max-width: 800px) {
    #index-page {
        margin: 0;
    }

    .image-container {
        display: flex;
        justify-content: flex-end;
    }

    .index-image {
        width: 100%;
        max-height: 100%;
        margin-right: 100px;
    }

    .main-content {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

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

    .image-box {
        order: -1;
        width: 125%;
        border-radius: 0;
    }

    .box-image {
        width: 40%;
    }

    .content-container {
        width: 85%;
        margin-left: auto;
        margin-right: auto;
    }

    .box-video {
        width: auto;
        height: 45vh;
        object-fit: cover;
        display: block;
        pointer-events: none;
    }
}

/* VERIFY.HTML */
.verify-container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 400px;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.verify-header {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.verify-image {
    width: 320px;
    height: 240px;
    max-width: 740px;
    max-height: 480px;
    /*border-radius: 50%;*/
    margin-bottom: 20px;
}

.verify-text {
    font-size: 16px;
    margin-bottom: 20px;
    color: #666;
}

.verify-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #008CBA;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

.verify-button:hover {
    background-color: #005f5f;
}

.verified-button {
    background-color: #008CBA;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

@media (max-width: 600px) {
    .verify-container-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 98vh;
        width: 100%;
    }

    .verify-container {
        width: 90%;
        padding: 10px;
        margin: 10px auto;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }

    .verify-header {
        font-size: 20px;
        padding-top: 15px;
    }

    .verify-text {
        font-size: 14px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .verify-button {
        font-size: 14px;
        padding-bottom: 15px;
    }

    .verify-image {
        max-width: 320px;
        max-height: 240px;
        margin-bottom: 20px;
    }
}

/* Dashboard.html */
.renderedStockPadding {
    padding: 5px 5px 10px;
}

.renderedStockPaddingFavorite {
    padding: 10px;
}

.FavoriteStarExpandButton {
    flex-direction: column !important;
}

.investmentBlockStar {
    margin-left: 10px;
}

@media only screen and (max-width: 800px) {
    .renderedStockPaddingFavorite, .renderedStockPadding {
        padding: 10px 0;
    }

    .investmentBlock, .stock-details {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }

    .investmentBlockPL {
        margin-right: 0 !important;
    }
}


/* Funding */


/* Cookie */
.wrapper {
    position: fixed;
    bottom: 50px;
    right: -500px;
    max-width: 345px;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 15px 25px 22px;
    transition: right 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.wrapper.show {
    right: 27px;
}

.wrapper header {
    display: flex;
    align-items: center;
    column-gap: 15px;
}

header i {
    color: #337ab7;
    font-size: 32px;
}

header h2 {
    color: #333;
    font-weight: 500;
}

.wrapper .data {
    margin-top: 16px;
}

.wrapper .data p {
    color: #333;
    font-size: 16px;
}

.data p a {
    color: #337ab7;
    text-decoration: none;
}

.data p a:hover {
    text-decoration: underline;
}

.wrapper .buttons {
    margin-top: 16px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.buttons .button {
    border: none;
    color: #fff;
    padding: 8px 0;
    border-radius: 4px;
    background: #337ab7;
    cursor: pointer;
    width: calc(100% / 2 - 10px);
    transition: all 0.2s ease;
}

.buttons #acceptBtn:hover {
    background-color: #034bf1;
}

#declineBtn {
    border: 2px solid #337ab7;
    background-color: #fff;
    color: #337ab7;
}

#declineBtn:hover {
    background-color: #337ab7;
    color: #fff;
}

#button-top {
    display: none;
    position: fixed;
    margin-bottom: 0;
    bottom: 20px;
    right: 10px;
    width: 50px !important;
    height: 50px;
    background-color: #838383;
    background-size: cover;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 40px;
    z-index: 1000;
}

#button-top:hover {
    background-color: darkgrey;
}

/*
    When not logged in while viewing private page(s):
*/

.overlay-hidden {
    display: none;
}

.overlay-visible {
    display: flex;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.75);
    justify-content: center;
    align-items: center;
}

.overlay-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
}

.buttonLogin {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

#login-btn {
    padding: 8px 12px;
}

.no-scroll {
    overflow: hidden;
}

/*
    Graph.html styling
*/

.js-plotly-plot .plotly .cursor-ns-resize {
    cursor: crosshair !important;
}

.rangeslider-slidebox {
    cursor: move !important;
}

#recentStockButtons,
#randomStockButtons {
    text-align: center;
}

#recentStockButtons button,
#randomStockButtons button {
    display: block;
    width: 75%;
    padding: 10px;
    margin: 10px auto;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: left;
    cursor: pointer;
}

#recentStockButtons button:hover,
#randomStockButtons button:hover {
    background-color: #e0e0e0;
}

#recentStocks::-webkit-scrollbar, #randomStocks::-webkit-scrollbar {
    width: 8px;
}

#recentStocks::-webkit-scrollbar-thumb, #randomStocks::-webkit-scrollbar-thumb {
    background-color: #c0c0c0;
    border-radius: 10px;
}

#recentStocks::-webkit-scrollbar-track, #randomStocks::-webkit-scrollbar-track {
    background-color: transparent;
}

/* Voor Firefox */
#recentStocks, #randomStocks {
    scrollbar-width: thin;
    scrollbar-color: #c0c0c0 transparent;
}

.info-container {
    background-color: #EEEEEE;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    margin: auto;
}

.info-container h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.info-container p {
    margin-bottom: 10px;
    color: #333;
}

.info-container a {
    color: #007BFF;
    text-decoration: none;
}

.info-container a:hover {
    text-decoration: underline;
}

.tradeButton {
    border: none;
    border-radius: 0;
    padding: 10px;
    cursor: pointer;
    width: 230px;
}

.tradeButton.buy {
    background-color: green;
}

.tradeButton.buy:disabled {
    background-color: grey;
    cursor: not-allowed;
}

.tradeButton.sell {
    background-color: red;
}

.tradeButton.sell:disabled {
    background-color: grey;
    cursor: not-allowed;
}

input {
    padding: 10px;
    margin: 10px 0;
}

.confirmButton {
    padding: 10px;
}

.mode-button {
    padding: 5px 12px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
}
.mode-button.active {
    background: #008CBA;
    color: white;
    border-color: #008CBA;
}

.modern-button {
    font-size: 16px;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    background-color: #888;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.1s ease-in-out;
}

.modern-button:hover {
    background-color: #666;
}

.modern-button:disabled {
    background-color: #ccc !important;
    cursor: not-allowed;
}

.modern-button2 {
    font-size: 16px;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    background-color: #656565;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.1s ease-in-out;
}

.modern-button2:hover {
    background-color: #b7b7b7;
}

.modern-button2:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.login-button {
    background-color: #008CBA;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    width: 100px;
}

.login-button:hover {
    background-color: #005f5f;
}

input[id^="plot"][id$="-amountInput"] {
    width: 150px;
    /*max-width: 200px;*/
}

.amount-input::placeholder {
    text-align: center;
}

/* FOR SEARCH: */

#searchContainer {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 10px 0;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#searchInput {
    width: 100%;
    padding: 10px;
    margin: 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#resultCount {
    display: block;
    font-size: 14px;
    color: #333;
}

#searchResults {
    margin-top: 10px;
}

#stocksContainer {
    display: flex;
    width: 100%;
    box-sizing: border-box;
}

#stockListContainer {
    width: 20%;
    padding: 10px;
    margin-top: 10px;
    background-color: #f0f0f0;
    border-radius: 10px;
    box-sizing: border-box;
    overflow-y: auto;
    height: 91vh;
    margin-left: 10px;

    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (max-width: 1600px) {
    #stockListContainer {
        width: 25%;
    }

    #stocksGraphs {
        width: 75%;
    }
}

#stockListContainer::-webkit-scrollbar {
    display: none;
}

.branding-logo {
    width: 120px;
    height: 50px;
    object-fit: contain;
    margin-right: 10px;
    margin-left: 10px;
    display: inline-block;
    /*transition: opacity 0.2s ease-out;*/
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

.branding-logo.fade-out {
    opacity: 0;
}

.branding-logo.fade-in {
    opacity: 1;
}


#stockList {
    display: flex;
    flex-direction: column;
}

.stock-item {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    cursor: pointer;

    min-height: 150px; /* Minimale hoogte */
    max-height: 200px; /* Laat het groeien */
    overflow: visible; /* Zorg ervoor dat de inhoud niet afgekapt wordt */
}

.stock-item.selected {
    background-color: #babab3;
}

#stockGraphs {
    width: 78%;
    margin-right: 10px;
    box-sizing: border-box;
    margin-left: 20px;
    max-height: 65vh;
}

.full-width-hr {
    width: 100%;
    margin: 0;
    border: 0;
    border-top: 1px solid #ccc;
}

.commission-table {
    display: none;
}

.toggle-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
}

@media(max-width: 800px) {
    .commission-table {
        display: block;
    }
    .toggle-btn {
        display: none;
    }
}

.stockGraph-top {
    margin-top: 11px;
}

@media only screen and (max-width: 800px) {
    #stocksContainer {
        flex-direction: column;
    }

    #stockListContainer {
        width: 100%;
        height: auto;
        max-height: none;
        margin-left: 0;
    }

    #stockGraphs {
        width: 100%;
        display: none;
    }

    #stockGraphs.active {
        display: block;
    }

    .back-button {
        float: right;
        margin-bottom: 0;
        margin-right: 15px;
        padding-top: 0;
        width: 36px;
        text-align: center;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

    .hidden-div {
        display: block !important;
    }

    .responsive-hr {
        display: block;
    }

    .stockGraph-top {
        margin-top: 7px;
    }
}

.tradeButton {
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
}

.amount-input {
    width: 158px;
    margin-right: 10px;
}

.confirmButton {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f0f0f0;
    color: #333;
    cursor: pointer;
    margin-right: 10px;
}

.darker{
    border: 1px solid #ccc;
    background-color: #858585;
    color: #020202;
}

.confirmButton img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.confirmButton:disabled {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #e0e0e0;
    color: #a0a0a0;
    cursor: not-allowed;
    margin-right: 10px;
}

/* CSS voor mobiele weergaven */
@media (max-width: 600px) {
    .flex-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .tradeButton.buy {
        width: 45%;
        margin-right: 0;
    }

    .tradeButton.sell {
        width: 45%;
        margin-right: 0;
    }

    .amount-input {
        /*width: 45% !important;*/
        /*width: calc(100% - 24px) !important;*/
        margin-right: 0;
    }

    /*.confirmButton:not(.collapseButton), .amount-input, .tradeButton {*/
    /*    width: 40%;*/
    /*    margin-left: 2%;*/
    /*    margin-right: 0;*/
    /*}*/

    .confirmButton {
        display: inline-block;
        vertical-align: top;
        margin-bottom: 10px;
    }

    .amount-input, .darker, .tradeButton{
        display: inline-block;
        vertical-align: top;
        margin-bottom: 10px;
    }
}


#stockGraphs.active {
    display: block;
}

#stockListContainer.hidden {
    display: none;
}

.graph-container-stock {
    width: 100% !important;
}

.graph-container-stock .plotly-graph-div {
    width: 100% !important;
}

#chart-container-dayRange, #chart-container-3monthsRange, #chart-container-yearRange {
    position: relative;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    height: 50px;
    display: flex;
    align-items: center;
}

#chart-container-dayRange {
    margin-top: 35px;
}

#chart-container-3monthsRange, #chart-container-yearRange {
    margin-top: 50px;
}

#chart-container-volatility {
    margin-top: 30px;
}

.range-line {
    position: absolute;
    width: 100%;
    height: 1px; /* Iets dikkere lijn voor betere zichtbaarheid */
    background-color: black;
    border-radius: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.body-bar {
    position: absolute;
    height: 6px; /* Dikkere balk voor open-close */
    top: 50%;
    transform: translateY(-50%);
    border-radius: 4px;
}

.triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

.triangle.open-up {
    border-bottom: 12px solid green; /* Open groen als close hoger is */
}

.triangle.open-down {
    border-bottom: 12px solid red; /* Open rood als close lager is */
}

.triangle.close {
    border-bottom: 12px solid black; /* Close altijd zwart */
}

.price-label {
    position: absolute;
    font-size: 12px;
    transform: translateX(-50%);
    white-space: nowrap;
}

.range-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    font-size: 14px;
}

.low-label {
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 12px;
    font-weight: bold;
}

.high-label {
    position: absolute;
    right: 0;
    top: -10px;
    font-size: 12px;
    font-weight: bold;
}

@media only screen and (max-width: 900px) {
    #keyStatsH4 {
        margin-top: 25px !important;
    }
}

@media screen and (min-width: 801px) {
    .hoverlayer {
        display: none !important;
    }
}

/* SIGNUP */
.fancy-div {
    background-color: #008CBA;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
}

/* BOTH FOR GRAPH AND DASHBOARD: */
.tooltip {
    visibility: hidden;
    background-color: lightgrey;
    color: black;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    opacity: 0;
    transition: opacity 0.3s;
}

.info-icon:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* Icon */
#userImage {
    display: none;
    border: 1px solid black;
    width: auto;
    height: auto;
    max-width: 100px;
    max-height: 100px;
    border-radius: 50%;
    margin-left: 25px;
}

/* Dashboard.html: */

.user-info-dashboard {
    margin-left: 25px;
}

/* Used for displaying info to the dashboard on a smaller screen*/
@media only screen and (max-width: 900px) {
    #userImage {
        max-height: 75px !important;
    }

    #welcomeMessage {
        margin-top: 0;
    }

    #portfolio-chart {
        margin-left: 0 !important;
        height: auto;
    }

    #portfolio-chart-history {
        height: 100% !important;
        width: 100% !important;
    }
    #portfolio-chart-history-legend {
        margin-left: 25px;
    }

    .no-portfolio {
        margin-top: 0;
        margin-bottom: 0;
        width: 75%;
    }
}

@media only screen and (max-width: 1150px) {
    #portfolio-chart {
        margin-left: 0 !important;
    }

    #portfolio-chart-history {
        height: 100% !important;
        width: 100% !important;
    }
}

#investment {
    text-align: center;
}

/*#portfolio-chart {*/
/*    max-height: 450px;*/
/*    max-width: 650px;*/
/*}*/

#portfolio-chart-history {
    height: 100% !important;
    width: 100% !important;
}

.content-container {
    display: flex;
    margin-top: 25px;
    margin-bottom: 25px;
}

.column {
    float: left;
    width: 30%;
    padding: 0;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

.iconH4 {
    margin-top: 5px;
    margin-bottom: 5px;
}

/* Account: */
.h5-changes {
    margin-top: 5px;
    margin-bottom: 5px;
}

.account-placeholder {
    width: 64px;
}

@media only screen and (max-width: 650px) {
    .account-placeholder {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

#account-general-image {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 90px;
    margin-right: 85px;
}

#fileUpload {
    padding-left: 0;
    padding-top: 0;
    margin-top: 0;

}

#oldIcon,
#newIcon {
    max-width: 400px;
    max-height: 500px;
}

@media screen and (max-width: 768px) {
    .account-h1 {
        margin-top: 10px;
    }

    .graph-container {
        padding: 15px;
        margin-left: 0;
        margin-right: 0;
    }

    .left-content {
        padding-left: 5px;
        margin-left: 0;
        margin-top: 0;
    }

    .content-container {
        margin-top: 0;
        margin-bottom: 0;
    }

    #userImage {
        margin-left: 10px;
    }

    #account-general-image {
        position: static;
        margin: 20px auto;
    }

    #account-general-image img {
        object-fit: cover;
        margin-left: 0;
        border-radius: 0;
        max-width: 100%;
        max-height: 100%;
    }

    .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #hidden-div {
        width: 100%;
        text-align: center;
    }

    .column {
        width: 100%;
        margin-bottom: 20px;
    }

    .column img {
        width: 100%;
        height: auto;
    }

    #fileUpload {
        width: 100%;
    }

    .tradeButton {
        width: 100%;
    }

    button {
        margin: 10px 0;
    }

    #deleteOverlay .overlay-content {
        width: 90%;
        margin: 0 auto;
    }

    .user-info h5 {
        margin: 5px 0;
    }
}

/* Popup: */
#popup-container .popup {
    margin-top: 10px;
}

.popup {
    margin: 20px 50px;
    position: fixed;
    right: 20px;
    top: 50px;
    width: auto;
    max-width: 350px;
    padding: 10px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 500;
    border-radius: 10px;
    opacity: 1;
    transition: transform 35s ease, opacity 0.5s ease;
}

.popup.hide {
    transform: translateY(-10000px) !important;
    opacity: 0;
}

.close-btn {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 30px;
    cursor: pointer;
}

.progress-bar {
    width: 0;
    height: 5px;
    background-color: rgba(76, 175, 80, 0.73);
    margin-top: 5px;
    transition: width 1.5s linear;
}

#loading-gif {
    max-width: 15px;
    max-height: 15px;
}

.loading-spinner {
    max-width: 25px;
    max-height: 25px;
}

@media only screen and (max-width: 800px) {
    .popup {
        margin: 18px auto;
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        top: 40px;
        width: calc(100% - 34px);
        max-width: none;
        padding: 10px;
        background: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        display: none;
        z-index: 950;
        border-radius: 25px;
    }

    .close-btn {
        top: 40%;
        transform: translateY(-50%);
        right: 37px;
        font-size: 20px;
        bottom: 0;
    }

    .popup h4 {
        font-size: 16px;
        margin-left: 13px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .popup p {
        font-size: 14px;
        margin-left: 13px;
        margin-bottom: 2px;
    }

    .progress-bar {
        width: 0;
        height: 5px;
        background-color: rgba(76, 175, 80, 0.73);
        margin-top: 5px;
        transition: width 1.5s linear;
        border-radius: 5px;
    }

    #loading-gif {
        max-width: 15px;
        max-height: 15px;
    }

    .loading-spinner {
        max-width: 25px;
        max-height: 25px;
    }
}

/* General purpose */
.general-button {
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    background-color: rgb(0, 140, 186);
    color: white;
    cursor: pointer;
    margin-top: 5px;
    margin-bottom: 5px;
}

#pillContainer, #selectBox {
    display: none;
}

@media (max-width: 767px) {
    #selectBox {
        position: fixed;
        bottom: 20px;
        left: 5%;
        background-color: white;
        border-radius: 50%;
        width: 43px;
        height: 43px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: opacity 0.3s ease, transform 0.3s ease;
        opacity: 1;
        transform: translateY(0);
    }

    #selectBox.hidden {
        opacity: 0;
        transform: translateY(20px);
        pointer-events: none;
    }

    /* Pills container styling */
    .pill-nav {
        display: none;
        position: fixed;
        bottom: 80px;
        left: 5%;
        right: 5%;
        background: #fff;
        padding: 10px;
        border-radius: 12px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        max-width: 90%;
        scrollbar-width: thin;
        scrollbar-color: #ccc #f1f1f1;
    }

    /* Webkit Scrollbar Styling */
    .pill-nav::-webkit-scrollbar {
        height: 6px;
    }

    .pill-nav::-webkit-scrollbar-thumb {
        background: #aaa;
        border-radius: 8px;
    }

    .pill-nav::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    /* Pills styling */
    .pill-item {
        display: inline-block;
        background: #f8f9fa;
        color: #333;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 14px;
        margin-right: 8px;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .pill-item:hover {
        background: #d4d4d4;
    }

    .pill-nav.visible {
        display: flex !important;
    }
}

/* Scroll to top knop */
#scrollToTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 5%;
    background-color: #ffffff;
    border-radius: 50%;
    width: 43px;
    height: 43px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

#scrollToTop.visible {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transform: translateY(0);
}

#scrollToTop.hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

/* BOTTOM NAVBAR ICONS */
.bottom-icons {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    border-radius: 30px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.bottom-icons a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.2em;
}

.bottom-icons a img {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}

.bottom-icons a img:hover {
    transform: scale(1.2);
}

@media (max-width: 767px) {
    .bottom-icons {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}