body {
    background-color: #1e1e1e;
    color: #f8f9fa;
    font-family: sans-serif;
    margin: 0;
    padding-bottom: 60px; /* To accommodate fixed bottom navbar */
}

.navbar {
    background-color: #343a40 !important;
}

.navbar-brand {
    color: #ff8c00 !important;
}

.nav-link {
    color: #f8f9fa !important;
}

.nav-link:hover {
    color: #ff8c00 !important;
}

.btn-primary {
    background-color: #ff8c00 !important;
    border-color: #ff8c00 !important;
    color: #fff !important;
}

.btn-primary:hover {
    background-color: #e67e00 !important;
    border-color: #e67e00 !important;
}

.container {
    padding-top: 20px;
}

.data-entry-button {
    display: block;
    width: 100%;
    padding: 20px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.medication-button {
    background-color: #343a40;
    color: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.medication-button img {
    max-width: 80px;
    height: auto;
    margin-bottom: 10px;
}

.symptom-button {
    background-color: #343a40;
    color: #f8f9fa;
    font-size: 1.5em;
}

#chart-container {
    background-color: #2c2c2c;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* iPhone specific adjustments (basic) */
@media only screen and (max-width: 480px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .data-entry-button {
        font-size: 1em;
        padding: 15px;
    }
    .medication-button img {
        max-width: 60px;
        margin-bottom: 5px;
    }
    .symptom-button {
        font-size: 1.2em;
        padding: 15px;
    }
}

/* Fixed bottom navigation bar */
.bottom-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #343a40;
    padding: 10px 0;
    text-align: center;
    z-index: 1000;
}

.bottom-nav-button {
    color: #f8f9fa;
    padding: 10px 20px;
    text-decoration: none;
}

.bottom-nav-button:hover {
    color: #ff8c00;
}