:root {
  --primary-color: #53a7cc;
  --secondary-color: #ff6584;
  --success-color: #00c9a7;
}

body {
  background: linear-gradient(135deg, #f1f1f1);
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.header-section {
  background: linear-gradient(135deg, var(--primary-color), #000000);
  color: white;
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
}

.course-card {
  border: none;
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.course-card.selected {
  border: 3px solid var(--primary-color);
  background: #f8f9ff;
}

.course-card .card-body {
  padding: 20px;
}

.course-card .course-name {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 10px;
  min-height: 50px;
}

.course-card .price-tag {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  margin: 5px 0;
}

.price-physical {
  background: #e3f2fd;
  color: #1565c0;
}

.price-virtual {
  background: #f3f3f3;
  color: #000000;
}

.course-card .badge-category {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(108, 99, 255, 0.1);
  color: var(--primary-color);
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 600;
}

.payment-section {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 20px;
}

.payment-section .selected-course {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.payment-section .amount-display {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.btn-paystack {
  background: linear-gradient(135deg, #53a7cc, #000000);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-paystack:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
  color: white;
}

.btn-paystack:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.category-header {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
  margin: 30px 0 20px 0;
}

.class-type-toggle {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.class-type-btn {
  flex: 1;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 10px;
  background: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.class-type-btn.active {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: white;
}

.class-type-btn:hover {
  transform: translateY(-2px);
}

.search-box {
  position: relative;
  margin-bottom: 20px;
}

.search-box input {
  padding-left: 40px;
  border-radius: 25px;
  border: 2px solid #ddd;
}

.search-box i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

@media (max-width: 768px) {
  .payment-section {
    position: relative;
    margin-top: 20px;
  }
}
