/*!**********************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./src/components/layout/composites/CourseModal/CourseModal.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************/
.course-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(243, 244, 246, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.course-modal {
  position: relative;
  background-color: #ffffff;
  border-radius: 0;
  padding: 3rem 4rem;
  max-width: 100%;
  width: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.course-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.course-modal-close:hover {
  color: #162052;
}

.course-modal-title {
  font-family: var(--font-body), "Encode Sans", Sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #162052;
  text-align: center;
  margin: 0 0 0.5rem 0;
}

.course-modal-underline {
  width: 80px;
  height: 4px;
  background-color: var(--color-accent);
  margin: 0 auto 2rem auto;
}

.course-modal-subtitle {
  font-family: var(--font-body), "Encode Sans", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #54595F;
  text-align: center;
  margin: 0 0 2.5rem 0;
}

.course-modal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
  align-items: center;
}

.course-modal-btn {
  font-family: var(--font-body), "Encode Sans", Sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 1rem 2rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.course-modal-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.course-modal-btn-yellow {
  transition: all 0.3s ease;
  color: var(--color-primary);
  background-color: var(--color-accent);
}
.course-modal-btn-yellow:hover {
  color: var(--color-primary);
  background-color: var(--color-accent);
}

.course-modal-btn-blue {
  transition: all 0.3s ease;
  background-color: #2B5597;
  color: var(--color-secondary);
}

/* Responsivo */
@media (max-width: 768px) {
  .course-modal {
    padding: 2rem 1.5rem;
  }

  .course-modal-title {
    font-size: 24px;
  }

  .course-modal-buttons {
    flex-direction: column;
    width: 100%;
  }

  .course-modal-btn {
    font-size: 14px;
    padding: 0.875rem 1.25rem;
    width: 100%;
    max-width: 400px;
  }
}

