* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container-fluid {
  flex: 1;
}

a {
  text-decoration: none;
}

.card {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: box-shadow 0.3s ease;
}

.list-group-item {
  border-left: 3px solid transparent;
}

.list-group-item:hover {
  border-left-color: #0d6efd;
  background-color: #f8f9fa;
}

.badge {
  font-size: 0.85rem;
  padding: 0.35em 0.65em;
}

.table th {
  background-color: #f8f9fa;
  font-weight: 600;
}

.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

footer {
  margin-top: auto;
  width: 100%;
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

.navbar {
  margin-bottom: 0;
}

.alert {
  border-radius: 8px;
}

/* Calendar and date styles */
.text-danger {
  font-weight: 600;
}

/* Status badges */
.bg-success {
  background-color: #198754 !important;
}

.bg-info {
  background-color: #0dcaf0 !important;
}

.bg-warning {
  background-color: #ffc107 !important;
}

.bg-secondary {
  background-color: #6c757d !important;
}

/* Assignment cards */
.border-danger {
  border-color: #dc3545 !important;
  border-width: 2px !important;
}

/* Grading interface */
.card-header h3, .card-header h5 {
  margin: 0;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .table-responsive {
    font-size: 0.875rem;
  }
  
  .btn {
    margin-bottom: 0.5rem;
  }
}

/* Link management in forms */
#links-container .row {
  align-items: center;
}

.remove-link {
  width: 100%;
  padding: 0.375rem;
}

/* File upload styling */
input[type="file"] {
  padding: 0.375rem 0.75rem;
}

/* Notification styling */
.list-group-item-info {
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.navbar-text {
  font-size: 0.9rem;
}

/* Dashboard statistics cards */
.card.text-center h2 {
  color: #0d6efd;
  font-weight: bold;
  margin: 10px 0;
}

.card.text-center .card-title {
  font-size: 0.95rem;
  color: #6c757d;
  margin-bottom: 0;
}