html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 15px;
  }
}
@media (min-width: 576px) {
    .container, .container-sm {
        max-width: 680px;
    }
}
@media (min-width: 768px) {
    .container, .container-md, .container-sm {
        max-width: 820px;
    }
}
@media (min-width: 992px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 1270px;
    }
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1840px;
    }
}

.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;
}

.dailyLogs thead, tfoot {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.dailyLogs thead tr {
    background: linear-gradient(to right, #ffcccb, #ffebcd); /* Subtle gradient */
    font-weight: bold;
    border-top: 3px solid #ff6347; /* Strong red-orange border */
}

.dailyLogs tfoot {
    bottom: 0; /* Stick footer to the bottom of the container */
}

.dailyLogs tfoot tr {
    background: linear-gradient(to right, #ffcccb, #ffebcd); 
    font-weight: bold;
    border-top: 3px solid #ff6347;
}

/*tfoot tr {
    font-size: 1.0em;*/ /* Larger font size */
    /*font-family: 'Arial Black', sans-serif;*/ /* Bold and distinct font */
    /*background-color: #d1e7dd;*/ /* Light green background */
    /*color: #0f5132;*/ /* Dark green text */
    /*border-top: 3px solid #0f5132;*/ /* Matching border color */
/*}*/


.dailyLogs tfoot td {
    padding: 10px; /* Add padding for better spacing */
    text-align: right; /* Align numeric values to the right */
    font-size: 1.1em; /* Slightly larger font size */
}

.table-screen-height {
    max-height: calc(100vh - 200px); /* Adjust '200px' based on the height of header/footer */
    overflow-y: auto; /* Adds vertical scrolling */
}

.fab-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    z-index: 1000;
}

.fab {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

    .fab:hover {
        background-color: #0056b3;
    }