@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #0d6efd;
  --success-color: #198754;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --border-radius: 12px;
  --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #f4f6fa;
  color: #333c48;
}

/* Premium Shadows & Transitions */
.card {
  border-radius: var(--border-radius) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
  transition: var(--transition-smooth);
  background-color: #ffffff;
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06) !important;
}

/* Glassmorphism Header */
.navbar {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.85) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.02) !important;
}

.navbar-brand img {
  transition: var(--transition-smooth);
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

/* List Groups */
.list-group-item {
  border-color: rgba(0, 0, 0, 0.04) !important;
  padding: 1rem 1.25rem !important;
  transition: var(--transition-smooth);
}

.list-group-item:hover {
  background-color: rgba(13, 110, 253, 0.02) !important;
}

/* Buttons */
.btn {
  border-radius: 8px !important;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

.btn-success {
  background-color: var(--success-color);
  border-color: var(--success-color);
}

.btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(25, 135, 84, 0.25);
}

/* Form Inputs */
.form-control, .form-select {
  border-radius: 8px !important;
  border: 1.5px solid #e2e8f0 !important;
  padding: 0.6rem 0.9rem !important;
  font-size: 0.95rem !important;
  transition: var(--transition-smooth);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15) !important;
}

/* Custom Badges */
.badge {
  padding: 0.45em 0.85em !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
}

/* Dashboard Columns */
.col-md-4 .card-body.bg-light.border-bottom {
  background-color: rgba(0, 0, 0, 0.01) !important;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.04) !important;
}

.parental-hover .ph-show {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.parental-hover:hover .ph-show {
  opacity: 1;
}

.cursor-pointer {
  cursor: pointer !important;
}

a {
  text-decoration: none !important;
  color: var(--primary-color);
}

/* Print Overrides */
@media print {
  body {
    background-color: #fff !important;
    color: #000 !important;
  }
}

/* Tailwind & Bootstrap Collapse Conflict Fix */
.collapse.show {
  display: block !important;
  visibility: visible !important;
}