/* General tweaks */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hero header with background image variable */
.hero {
  position: relative;
  background-image: var(--bg-image, none);
  background-size: cover;
  background-position: center;
  min-height: 38vh;
  display: grid;
  place-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.35));
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
}
.hero-rotator span { display: none; }
.hero-rotator span:first-child { display: inline; }

/* Cards */
.card { border: 0; border-radius: .75rem; }
.card-header { border-bottom: 1px solid rgba(0,0,0,.06); }

/* Tables */
.table-responsive { background: #fff; border-radius: .5rem; }
.table thead th { white-space: nowrap; }
.table td, .table th { vertical-align: middle; }

/* Alerts */
.alert.d-none { display: none !important; }

/* Utilities */
.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important; }

/* Buttons */
.btn-outline-light { --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.7); --bs-btn-hover-bg: rgba(255,255,255,.15); --bs-btn-hover-color: #fff; }

/* Small responsive header size */
@media (min-width: 768px) {
  .display-md-4 { font-size: calc(1.475rem + 2.7vw); }
}body {
  background: linear-gradient(135deg, #e0e7ff 0%, #f0fdfa 100%);
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
}
.card {
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.header-bar {
  background: linear-gradient(90deg, #6366f1 0%, #06b6d4 100%);
  color: #fff;
  border-radius: 1.2rem;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 12px rgba(99,102,241,0.12);
}
.upload-btn {
  background: linear-gradient(90deg, #06b6d4 0%, #6366f1 100%);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 2rem;
  padding: 0.5rem 2rem;
  transition: background 0.2s;
}
.upload-btn:hover {
  background: linear-gradient(90deg, #6366f1 0%, #06b6d4 100%);
}
.slide-list .list-group-item {
  border: none;
  border-bottom: 1px solid #e5e7eb;
  background: transparent;
  font-size: 1.1rem;
}
.slide-list .btn-success {
  border-radius: 2rem;
  font-weight: 500;
  background: linear-gradient(90deg, #22d3ee 0%, #6366f1 100%);
  border: none;
}
.slide-list .btn-success:hover {
  background: linear-gradient(90deg, #6366f1 0%, #22d3ee 100%);
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #6366f1;
  margin-right: 1rem;
}

/* Hero styles for index.html */
.hero {
  position: relative;
  padding: 6rem 0 4rem 0;
  background-image: var(--bg-image, none);
  background-size: cover;
  background-position: center center;
  color: #fff;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,7,18,0.6), rgba(3,7,18,0.6));
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 2rem 1rem;
}
.hero .display-4 {
  text-shadow: 0 6px 20px rgba(0,0,0,0.45);
}
.hero .lead {
  font-size: 1.15rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

@media (max-width: 991px) {
  .hero { padding: 3.5rem 0 2rem 0; }
  .hero .display-4 { font-size: 1.6rem; }
  .hero .lead { font-size: 0.95rem; }
  .hero-rotator { height: 4rem; }
  .card { margin: 0 0.5rem; }
}

@media (max-width: 576px) {
  .hero { padding: 2.5rem 0 1.5rem 0; }
  .hero .display-4 { font-size: 1.25rem; }
  .hero .lead { font-size: 0.9rem; }
  .hero-rotator { height: 3.6rem; }
}

/* Rotator styles */
.hero-rotator {
  position: relative;
  height: 3.2rem;
  overflow: hidden;
}
.hero-rotator span {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 600ms ease, transform 600ms ease;
  display: block;
}
.hero-rotator span.active {
  opacity: 1;
  transform: translateY(0);
}
