/* Base font sizing */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* Light Mode Default */
body {
    background-color: #fff;
    color: #000;
    transition: background-color 0.3s, color 0.3s;
}

/* Navbar */
.bg_navbar-DBE-red {
    background-color: #c3342e !important;
    color: #fff !important;
}
.btn-notes {
    background-color: #eaeaea;
    color: #363636;
    border: 1px solid #eaeaea;
}

.btn-checklist {
    background-color: #eaeaea;
    color: #363636;
    border: 1px solid #eaeaea;
}

.btn-update {
    color: #fff;
    line-height: 1.5;
    font-weight: 400;
    background-color: forestgreen;
    padding: .375rem .75rem;
    border-radius: .25rem;
    border-color: forestgreen;
}

.btn-complete {
    color: #fff;
    line-height: 1.5;
    font-weight: 400;
    background-color: #c3342e;
    padding: .375rem .75rem;
    border-radius: .25rem;
    border-color: #c3342e;
}

.fc .fc-daygrid-day-frame {
    min-height: 50px; /* Adjust as needed (default is ~100px) */
    max-height: 100px; /* Adjust as needed (default is ~100px) */
}

/* Optional: Reduce header height */
.fc .fc-scrollgrid-section-header th {
    padding: 4px 0;
}

/* Optional: Reduce title font size */
.fc .fc-daygrid-day-number {
    font-size: 0.8rem;
    color: black !important;
}

.fc .fc-col-header-cell-cushion {
    color: black !important;
}

/* Transitions for elements */
.btn,
select,
input,
textarea,
table,
.navbar {
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

footer.footer {
    position: static !important;
    bottom: auto !important;
    line-height: normal;
}

/* Dark Mode */
body.dark-mode {
    background-color: #1e1e1e;
    color: #e0e0e0;
}

    body.dark-mode .navbar,
    body.dark-mode .bg_navbar-DBE-red {
        background-color: #c3342e !important;
        color: #fff !important;
    }

    body.dark-mode .table {
        background-color: #1e1e1e;
        color: #f1f1f1;
    }

    body.dark-mode table th,
    body.dark-mode table td {
        border-color: #444;
    }

    body.dark-mode select,
    body.dark-mode input,
    body.dark-mode textarea {
        background-color: #2c2c2c;
        color: #fff;
        border-color: #555;
    }

    body.dark-mode .form-control:focus {
        border-color: #888;
        box-shadow: none;
    }

    body.dark-mode option {
        background-color: #2c2c2c;
        color: #fff;
    }

    /* Optional: Reduce title font size */
    body.dark-mode .fc .fc-daygrid-day-number {
        font-size: 0.8rem;
        color: white !important;
    }

    body.dark-mode .fc .fc-col-header-cell-cushion {
        color: white !important;
    }