/* Module Header Component Styles */

.lesson-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: hsla(204, 0%, 100%, 1);
  background-image: radial-gradient(
      circle at 0% 0%,
      hsla(19.326923076923077, 86%, 53%, 0.35) 3.1210986267166043%,
      transparent 40%
    ),
    radial-gradient(
      circle at 100% 0%,
      hsla(23.823529411764703, 77%, 74%, 0.35) 3%,
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 0%,
      hsla(236.91176470588243, 77%, 74%, 0.24) 4%,
      transparent 40%
    );
  background-blend-mode: normal, normal, normal;
  border-bottom: 1px solid #e9ecef;
  position: sticky;
  top: 0;
  z-index: 100;
  margin-bottom: 2rem;
  width: 100%;
}

.header-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 20px;
}

.header-left {
  display: flex;
  gap: 2em;
}

.back-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: #f8f9fa;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  color: #495057;
}

.back-button:hover {
  background: #e9ecef;
  transform: translateY(-1px);
}

.header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lesson-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #495057;
  margin: 0;
}

.lesson-subtitle {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0;
  font-weight: 400;
}

.next-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #2563eb;
  color: white;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
}

.next-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
  .header-content {
    padding: 1.5rem 15px;
  }
  
  .header-left {
    gap: 1em;
  }
  
  .lesson-title {
    font-size: 1.1rem;
  }
  
  .lesson-subtitle {
    font-size: 0.8rem;
  }
}