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

.calendar-table
{
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.time-cell
{
    background-color: #f8f9fa;
    text-align: center;
    vertical-align: middle;
}

.slot-cell
{
    height: 120px;
    vertical-align: middle;
    text-align: center;
    position: relative;
}

    .slot-cell.available
    {
        background-color: #e8f5e8;
        cursor: pointer;
    }

        .slot-cell.available:hover
        {
            background-color: #d4edda;
        }

    .slot-cell.booked
    {
        background-color: #f8d7da;
    }

    .slot-cell.unavailable
    {
        background-color: #e9ecef;
    }

.visit-info
{
    padding: 5px;
    font-size: 0.9em;
}

.schedule-btn
{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #6c757d;
}

.delete-visit
{
    position: absolute;
    top: 5px;
    right: 5px;
    opacity: 0;
    transition: opacity 0.2s;
}

.slot-cell.booked:hover .delete-visit
{
    opacity: 1;
}

th
{
    min-width: 150px;
}

.badge
{
    font-size: 0.8em;
    margin-left: 10px;
}

.available
{
    background-color: #e8f5e8 !important;
}

.unavailable
{
    background-color: #e9ecef !important;
}

.booked
{
    background-color: #f8d7da !important;
}