/* static/css/styles.css */

body {
    background-color: #f8f9fa;
}

h1 {
    color: #343a40;
}

#meter-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

#accumulating-cost {
    color: #17a2b8;
}

#snarky-quip {
    font-style: italic;
    color: #6c757d;
}

footer {
    position: fixed;
    width: 100%;
    bottom: 0;
}

header {
    background-color: #011936;
}

header img {
    width: 300px;
}

/* CSS for Modal and Buttons */
.modal-content {
    width: 100%;
    height: 100%;
    background-color: #ffffffcc;
}

.modal-dialog {
    max-width: 100%;
    height: 100%;
}

.modal-header {
    background-color: #007BFF;
    color: white;
}

#modal-accumulating-cost {
    
}

.acc-cost{
    font-size: 20vw;
    color: #28A745; /* Green color for the accumulating cost */
    text-align: left;
    display: block;
    margin-left: 25%;
}

.modal-body {
    font-size: 1.25rem;
    flex:none;
    margin-top: auto;
    margin-bottom: auto;
}

.modal-body h4 {
    font-size: 8vw;
}

.btn-close {
    color: white;
}

footer p, footer h5 {
    margin: 0;
    font-size: 1rem;
}

footer .container {
    padding: 10px;
}

/* Adjust footer on small screens */
@media (max-width: 576px) {
    footer h5 {
        font-size: 1.2rem;
    }
    footer p {
        font-size: 0.9rem;
    }
    footer .btn {
        font-size: 1rem;
        padding: 10px 15px;
    }
    footer .container {
        padding: 10px 5px;
    }
}

/* Initially hide share buttons */
#share-options.d-none {
    display: none;
}

/* Show share options when the button is clicked */
#share-options.d-flex {
    display: flex;
}

/* Center buttons vertically on mobile */
@media (max-width: 576px), (max-height: 1260px) {
    #share-options .btn {
        font-size: 0.9rem;
        padding: 10px 10px;
    }
    footer {
        position: relative;
    }
}