html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    white-space: inherit !important;
    bottom: auto !important;
    width: 100%;
    line-height: 60px;
    margin-top: 2rem;
}

.footer__text {
    font-family: "Montserrat", sans-serif;
    font-size: 9.5px;
    color: #606060;
    word-break: break-word;
    max-width: 100%;
    text-align: center;
    line-height: 2.3;
    padding: 10px;
}

.nav-bar {
    justify-content: flex-start !important;
}

.navbar-brand {
    background-size: 300px 150px;
    width: 200px;
}

@media (max-width: 576px) {
    .navbar-brand {
        background-size: 150px 75px; /* Adjust the size for mobile view */
        width: 150px; /* Adjust the width for mobile view */
    }
}

/* General Dark Mode Styling */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

.footer.dark-mode {
    color: #e0e0e0;
    border-top: 1px solid #333;
}

/* Specific for dark mode toggle button */
.toggle-dark-mode {
    position: relative;
    width: 80px; /* Increased width */
    height: 40px; /* Increased height */
    border-radius: 20px; /* Adjusted border-radius */
    background-color: #bbb; /* Slightly darker for visibility in light mode */
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    box-sizing: border-box;
}

    .toggle-dark-mode .toggle-circle {
        width: 30px; /* Increased width */
        height: 30px; /* Increased height */
        background-color: #fff;
        border-radius: 50%;
        transition: transform 0.3s;
        position: relative;
    }

    .toggle-dark-mode .icon {
        font-size: 20px; /* Increased font-size */
        position: absolute;
    }

        .toggle-dark-mode .icon.sun {
            left: 8px;
            color: #ffcc00;
        }

        .toggle-dark-mode .icon.moon {
            right: 8px;
            color: #ffcc00;
        }

body.dark-mode .toggle-dark-mode {
    background-color: #333;
}

    body.dark-mode .toggle-dark-mode .toggle-circle {
        transform: translateX(40px); /* Adjusted translateX to match new width */
    }

/* Mobile responsiveness for toggle button */
@media (max-width: 576px) {
    .toggle-dark-mode {
        width: 60px;
        height: 30px;
    }

        .toggle-dark-mode .toggle-circle {
            width: 20px;
            height: 20px;
        }

        .toggle-dark-mode .icon {
            font-size: 16px;
        }

    body.dark-mode .toggle-dark-mode .toggle-circle {
        transform: translateX(30px);
    }
}

/* Toggle Text Styling */
.toggle-text {
    font-size: 14px;
    color: #606060;
    margin-bottom: 5px;
}

body.dark-mode .toggle-text {
    color: #e0e0e0;
}


.info-icon {
    color: #4fb3bf;
}

.custom-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.custom-modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
}

.custom-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .custom-modal-close:hover,
    .custom-modal-close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

/* Styles for the custom tooltip */
.custom-tooltip {
    position: absolute;
    display: none;
    padding: 5px;
    background-color: #fff;
    border: 1px solid #ccc;
    z-index: 1000;
}


.tooltip-image {
    width: auto;
    height: 800px;
}


.sm99-style {
    height: 300px; /* Custom style for 99SM */
}

.currency-dropdown {
    background-color: #fff;
    color: #000;
}

.dark-mode .currency-dropdown {
    background-color: #333; /* Dark background */
    color: #fff; /* Light text */
    border: 1px solid #666; /* Dark border */
}


