html {
  font-size: 12px;
}

@media (min-width: 768px) {
  html {
    font-size: 14px;
  }
}

.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: 20px;
}

.offwhite-theme {
    background-color: #f9f9f9; /* or any soft tone */
    color: #222;
}

/* Light button style */
.btn-sm-light {
    background-color: #d4edda;
    border: 1.5px solid #7ccc78;
    color: #155724;
    font-weight: 600;
    padding: 0 4px; /* Adjusted horizontal padding */
    font-size: 0.9rem;
    border-radius: 6px;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    height: 27px;
    min-width: 75px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    line-height: 27px; /* Align text vertically */
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    margin-right: 4px; /* remove margin to avoid side gaps */
}

    .btn-sm-light:hover {
        background-color: #92db8c;
        border-color: #5ca851;
        color: #0c3d1a;
        text-decoration: none;
    }

/* Dark red button */
.btn-sm-dark {
    background-color: #f8d7da;
    border: 1.5px solid #5C0000;
    color: red;
    font-weight: 600;
    padding: 0 4px;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    height: 27px;
    min-width: 75px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    line-height: 27px;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    margin: 0;
}

    .btn-sm-dark:hover {
        background-color: #6A0000;
        border-color: #400000;
        color: #fff;
        text-decoration: none;
    }

/* back button style */
.btn-back {
    background-color: #dbeafe;
    border: 1.5px solid #7ccc78;
    color: #155724;
    font-weight: 600;
    padding: 0 4px; /* Adjusted horizontal padding */
    font-size: 0.9rem;
    border-radius: 6px;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    height: 27px;
    min-width: 75px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    line-height: 27px; /* Align text vertically */
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    margin-right: 20px; /* remove margin to avoid side gaps */
}

    .btn-back:hover {
        background-color: blue;
        border-color: #5ca851;
        color: #0c3d1a;
        text-decoration: none;
    }

/* Dark reset button */
.btn-reset {
    background-color: #E6F0FA;
    border: 1.5px solid #5C0000;
    color: blue;
    font-weight: 600;
    padding: 0 4px;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    height: 27px;
    min-width: 75px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    line-height: 27px;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    margin: 0;
}

    .btn-reset:hover {
        background-color: #F0F8FF;
        border-color: #400000;
        color: green;
        text-decoration: none;
    }