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;
}

/* Student Submissions Page */
.table-responsive {
    margin-top: 20px;
}

.table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.table td {
    vertical-align: middle;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.btn-sm i {
    margin-right: 5px;
}

.alert-info {
    margin-top: 20px;
    padding: 15px 20px;
}

/* Student Class View Page */
.progress {
    height: 25px;
    background-color: #e9ecef;
    border-radius: 0.5rem;
}

.progress-bar {
    background-color: #0d6efd;
    color: white;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 25px;
}

.card.shadow-sm {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.card-header {
    border-bottom: none;
    padding: 1.25rem;
}

.badge.bg-light {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.card.bg-light {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6;
}

.table th {
    font-weight: 600;
    background-color: #f8f9fa;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
}

.btn-sm i {
    margin-right: 0.25rem;
}

/* Center main content and balance margins */
.content-wrapper {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

@media (max-width: 1200px) {
    .content-wrapper {
        max-width: 98vw;
        padding-left: 12px;
        padding-right: 12px;
    }
}