#coactive-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

#filter-panel {
  width: 100%;
  background: #f7f7f7;
  padding: 25px;
  order: 1;
}

#product-container {
  flex: 1;
  order: 2;
}

/* Desktop layout */
@media (min-width: 768px) {
  #coactive-layout {
    flex-direction: row;
  }
  
  #filter-panel {
    width: 250px;
    order: 0;
  }
  
  #product-container {
    order: 1;
  }
}

.filter-section {
  border-bottom: 1px solid #e2e8f0;
  padding: 24px;
}

.filter-section:last-child {
  border-bottom: none;
}

.filter-section h3 {
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 16px 0;
  letter-spacing: 0.5px;
}

.filter-option {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  color: #4a5568;
}

.filter-option:last-child {
  margin-bottom: 0;
}

.filter-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  accent-color: #2b6cb0;
  cursor: pointer;
}

.filter-option label {
  cursor: pointer;
  flex: 1;
}

.filter-option.sub-option {
  margin-left: 30px;
  font-size: 13px;
  color: #718096;
}

.course-row,
.product-row {
  background: #f7f7f7;
  padding: 25px;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.course-pill {
  display: inline-block;
  background: #2d5a87;
  color: white;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  border-radius: 0;
}

.course-pill.fundamentals {
  background: #2d5a87;
}

.course-pill.coach-training {
  background: #d53f8c;
}

.course-pill.certification {
  background: #38a169;
}

.course-content {
  padding: 20px 24px 24px;
}

.course-dates {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.course-duration {
  font-size: 14px;
  color: #718096;
  margin-top: 4px;
}

.course-selection {
  margin: 20px 0;
}

.course-selection h4 {
  font-size: 16px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 16px;
}

.course-dropdown {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 12px;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  background: white;
  font-size: 14px;
  color: #4a5568;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
}

.course-dropdown:focus {
  outline: none;
  border-color: #2d5a87;
  box-shadow: 0 0 0 3px rgba(45, 90, 135, 0.1);
}

.course-description {
  margin: 20px 0;
  line-height: 1.6;
}

.course-description p {
  margin-bottom: 16px;
}

.course-description strong {
  font-weight: 600;
  color: #2d3748;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 24px;
  gap: 24px;
}

.course-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.speak-advisor {
  color: #d53f8c;
  text-decoration: none;
  font-weight: 500;
}

.speak-advisor:hover {
  text-decoration: underline;
}

.register-btn {
  background: #2d5a87;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.instructors {
  text-align: right;
}

.instructor-images {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.instructor-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.instructor-note {
  font-size: 12px;
  color: #718096;
  font-style: italic;
}

/* Mobile stacked layout for course cards */
@media (max-width: 767px) {
  .course-footer {
    flex-direction: column;
    gap: 16px;
  }
  
  .instructors {
    text-align: left;
    width: 100%;
  }
  
  .instructor-images {
    justify-content: flex-start;
  }
}

.urgency {
  color: red;
  font-weight: bold;
}

#coactive-registration-container {
    max-width:100% !important;
}
