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

/* Admin menu styling */
.nav-item .nav-link.admin-link {
  background: linear-gradient(45deg, #dc3545, #fd7e14);
  color: white !important;
  border-radius: 20px;
  padding: 8px 16px !important;
  margin: 0 5px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.nav-item .nav-link.admin-link:hover {
  background: linear-gradient(45deg, #c82333, #e55a00);
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.4);
}

.nav-item .nav-link.admin-link:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

/* Admin area specific styling */
.admin-dashboard {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.admin-dashboard h2 {
  color: #dc3545;
  border-bottom: 2px solid #dc3545;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.admin-dashboard .list-group-item {
  border-left: 4px solid #dc3545;
  transition: all 0.3s ease;
}

.admin-dashboard .list-group-item:hover {
  background-color: #f8f9fa;
  border-left-color: #fd7e14;
  transform: translateX(5px);
}

.admin-dashboard .list-group-item a {
  color: #495057;
  text-decoration: none;
  font-weight: 500;
}

.admin-dashboard .list-group-item a:hover {
  color: #dc3545;
}

/* Admin area general styling */
[data-area="Admin"] .container-fluid,
.area-admin .container-fluid {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Admin page headers */
.area-admin h2,
[data-area="Admin"] h2 {
  color: #dc3545;
  border-bottom: 2px solid #dc3545;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* Admin table styling */
.area-admin .table thead th,
[data-area="Admin"] .table thead th {
  background: linear-gradient(45deg, #dc3545, #fd7e14) !important;
  color: white;
  border: none;
}

/* Admin card headers */
.area-admin .card-header,
[data-area="Admin"] .card-header {
  background: linear-gradient(45deg, #dc3545, #fd7e14) !important;
  color: white;
  border: none;
}

/* Admin buttons */
.area-admin .btn-primary,
[data-area="Admin"] .btn-primary {
  background: linear-gradient(45deg, #dc3545, #fd7e14);
  border: none;
  color: white;
}

.area-admin .btn-primary:hover,
[data-area="Admin"] .btn-primary:hover {
  background: linear-gradient(45deg, #c82333, #e55a00);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.4);
}