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;
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
}

.form-wrapper {
  max-width: 600px;
  margin: 50px auto;
  padding: 25px 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

h2 {
  margin-bottom: 25px;
  font-weight: 600;
  color: #333;
}

.form-control {
  padding: 14px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

textarea.form-control {
  resize: vertical;
}

.btn-primary {
  padding: 14px;
  font-size: 16px;
  width: 100%;
  border-radius: 10px;
}

label {
  font-weight: 500;
  margin-bottom: 6px;
}

.form-group {
  margin-bottom: 18px;
}

.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;
}

/* Pagination Styling */
.pagination {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.pagination .page-item .page-link {
  border-radius: 8px;
  margin: 0 2px;
  border: 1px solid #dee2e6;
  color: #6c757d;
  transition: all 0.2s ease-in-out;
}

.pagination .page-item.active .page-link {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: white;
  box-shadow: 0 2px 4px rgba(13, 110, 253, 0.3);
}

.pagination .page-item .page-link:hover {
  background-color: #e9ecef;
  border-color: #adb5bd;
  color: #495057;
}

.pagination .page-item.disabled .page-link {
  background-color: #fff;
  border-color: #dee2e6;
  color: #6c757d;
}

/* Page size selector styling */
.form-select-sm {
  border-radius: 6px;
  border: 1px solid #ced4da;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-select-sm:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Entry count text styling */
.text-muted {
  font-size: 0.875rem;
}