/* CBC Custom Overrides — Tailwind CDN is the primary stylesheet */

/* Scroll behavior */
html { scroll-behavior: smooth; }

/* Slide-out panel transition */
#edit-panel {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
#edit-panel.panel-closed {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}
#edit-panel.panel-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}

/* Table row hover */
.student-row:hover { background: #f0f8ff; }

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Product card hover effect */
.product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(27, 79, 114, 0.15);
}

/* Hero gradient */
.hero-gradient {
  background: linear-gradient(135deg, #1B4F72 0%, #2E86AB 60%, #117A65 100%);
}

/* CBC brand button */
.btn-cbc {
  background: #1B4F72;
  color: white;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-cbc:hover {
  background: #154060;
  transform: translateY(-1px);
}

/* Form focus ring */
input:focus, select:focus, textarea:focus {
  outline: 2px solid #2E86AB;
  outline-offset: 2px;
}

/* Status badge colors */
.status-pending   { background: #fef9c3; color: #854d0e; }
.status-submitted { background: #f3e8ff; color: #6b21a8; }
.status-confirmed { background: #dcfce7; color: #166534; }
.status-registered{ background: #dbeafe; color: #1e40af; }
