/* Classes Page Styles - Matching About Page Design */

/* Use about.css for base styling, add classes-specific overrides here */

.class-card {
  border-left: 4px solid #ff2c3c;
}

.modal { 
  z-index: 99999;
}

.enroll-btn {
  width: 150px;
  height: 45px;
  background-color: #ff0000;
  border-radius: 25px;
  color: #fff;
  border: 0px;
}

.cancel-btn {
  width: 150px;
  height: 45px;
  background-color: #707070;
  border-radius: 25px;
  color: #fff;
  border: 0px;
}

.enrollnow-btn {
  width: 150px;
  height: 45px;
  background-color: #ff0000;
  border-radius: 25px;
  color: #fff;
  border: 0px;
}

.modal-title {
  font-weight: bold;
}

.sm-enroll { 
  background-color: #ff2c3c;
  float: right;
  color: #fff;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 21px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.sm-enroll:hover {
  background-color: #e02432;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 44, 60, 0.4);
  color: #fff;
}

/* Style cards to match instructor-card styling from about.css */
.instructor-card {
  border: 1px solid rgba(182, 32, 91, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
}

.instructor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 55px -25px rgba(25, 28, 90, 0.25);
}

.instructor-card .card-accent {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 122, 77, 0.08), transparent 60%);
  pointer-events: none;
}

/* Ensure text-primary uses the brand color */
.text-primary {
  color: #b6205b !important;
}

/* Schedule section specific styling */
.community_section .instructor-card h4 {
  color: #333;
  font-size: 1.25rem;
}

.community_section .instructor-card h5 {
  color: #333;
  font-size: 1.1rem;
}

.community_section .instructor-card .border-bottom {
  border-color: rgba(182, 32, 91, 0.1) !important;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .sm-enroll {
    font-size: 12px;
    padding: 6px 12px;
  }
}

@media (max-width: 576px) {
  .sm-enroll {
    font-size: 11px;
    padding: 5px 10px;
    float: none;
    display: inline-block;
    margin-top: 0.5rem;
  }
  
  .community_section .instructor-card .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
  }
  
  .community_section .instructor-card h4 {
    font-size: 1.1rem;
  }
  
  .community_section .instructor-card h5 {
    font-size: 1rem;
  }
}
