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 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Navigation */
.navbar-dark .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.navbar-dark .nav-link:hover {
  color: #fff;
}

/* Cards */
.card {
  border-radius: 0.5rem;
}

.card-header {
  border-radius: 0.5rem 0.5rem 0 0 !important;
}

/* Dashboard Stats */
.card .card-body h2 {
  font-weight: 700;
}

/* Table Styles */
.table th {
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.table-hover tbody tr:hover {
  background-color: rgba(0, 123, 255, 0.05);
}

/* Buttons */
.btn {
  border-radius: 0.375rem;
}

.btn-group-sm > .btn {
  padding: 0.25rem 0.5rem;
}

/* Badges */
.badge {
  font-weight: 500;
}

/* Form Controls */
.form-control, .form-select {
  border-radius: 0.375rem;
}

/* Alerts */
.alert {
  border-radius: 0.5rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Loading spinner */
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

/* Pet cards */
.card .bg-success.bg-opacity-10 i,
.card .bg-primary.bg-opacity-10 i,
.card .bg-info.bg-opacity-10 i {
  line-height: 1;
}

/* Footer styles */
footer {
  margin-top: auto;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.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;
}