html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.bucket-pto {
    background-color: #cfe2ff;
    color: #084298;
}

.bucket-holiday {
    background-color: #d1e7dd;
    color: #0f5132;
}

.bucket-floater {
    background-color: #fff3cd;
    color: #664d03;
}

.bucket-comp {
    background-color: #ffcae6;
    color: #513d48;
}

.hours-positive {
    color: #198754;
    font-weight: 500;
}

.hours-negative {
    color: #dc3545;
    font-weight: 500;
}

.dashboard-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
}

.dashboard-hours {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.dashboard-subtext {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.85;
}

.dashboard-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.dashboard-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

@media (min-width: 800px) and (hover: hover) and (pointer: fine) {
    .dashboard-card-link:hover .dashboard-card {
        transform: scale(1.04);
        box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.12);
    }
}

@media (max-width: 800px), (hover: none), (pointer: coarse) {
    .dashboard-card-link:hover .dashboard-card,
    .dashboard-card-link:focus .dashboard-card,
    .dashboard-card-link:active .dashboard-card {
        transform: none !important;
        box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08) !important;
    }
}

.dashboard-days {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    opacity: 0.75;
}