/* Lesson Content Styles */

/* Lesson Introduction Page */
.unit-title-section {
  text-align: center;
  margin-bottom: 2rem;
}

.unit-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #c2185b, #e91e63);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(194, 24, 91, 0.3);
}

.unit-icon {
  font-size: 1.2rem;
}

.lesson-title-section {
  text-align: center;
  margin-bottom: 3rem;
}

.lesson-main-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.lesson-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #fff6fb 0%, #ffe3ea 100%);
  border: 1px solid #ffd3dc;
  padding: 12px 20px;
  border-radius: 20px;
  color: #c2185b;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(194, 24, 91, 0.1);
}

.lesson-icon {
  font-size: 1.1rem;
}

.lesson-content-section {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  margin-bottom: 2rem;
}

.lesson-description {
  margin-bottom: 2rem;
}

.section-title {
  color: #c2185b;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lesson-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1.5rem;
}

.highlight-box {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border: 1px solid #90caf9;
  border-radius: 15px;
  padding: 20px;
  margin-top: 1rem;
}

.highlight-box h4 {
  color: #1565c0;
  margin-bottom: 1rem;
}

.highlight-box ul {
  margin: 0;
  padding-right: 20px;
}

.highlight-box li {
  margin-bottom: 8px;
  color: #1565c0;
}

.lesson-objectives {
  margin-bottom: 2rem;
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 1.5rem;
}

.objective-item {
  background: linear-gradient(135deg, #fff6fb 0%, #ffe3ea 100%);
  border: 1px solid #ffd3dc;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.objective-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(194, 24, 91, 0.15);
}

.objective-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.objective-text {
  font-weight: 600;
  color: #c2185b;
  font-size: 1.1rem;
}

.lesson-interactive {
  margin-bottom: 2rem;
}

.interactive-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 1.5rem;
}

.interactive-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.interactive-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c2185b, #e91e63);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.interactive-card:hover::before {
  transform: scaleX(1);
}

.interactive-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: #c2185b;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.interactive-card h4 {
  color: #c2185b;
  font-weight: 600;
  margin-bottom: 1rem;
}

.interactive-card p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.lesson-action-section {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 20px;
  border: 1px solid #dee2e6;
}

.lesson-start-btn {
  background: linear-gradient(135deg, #c2185b, #e91e63);
  border: none;
  border-radius: 50px;
  padding: 15px 40px;
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(194, 24, 91, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.lesson-start-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.lesson-start-btn:hover::before {
  left: 100%;
}

.lesson-start-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(194, 24, 91, 0.4);
  text-decoration: none;
  color: white;
}

.btn-icon {
  font-size: 1.3rem;
}

.btn-arrow {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.lesson-start-btn:hover .btn-arrow {
  transform: translateX(5px);
}

.lesson-note {
  color: #666;
  font-style: italic;
}

/* Lesson Content Page */
.lesson-main-content {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
}

.lesson-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #f0f0f0;
}

.lesson-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1.5rem;
}

.section-icon {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #c2185b, #e91e63);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-content {
  padding-right: 20px;
}

.lesson-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1.5rem;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 1.5rem;
}

.role-card {
  background: linear-gradient(135deg, #fff6fb 0%, #ffe3ea 100%);
  border: 1px solid #ffd3dc;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.role-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(194, 24, 91, 0.15);
}

.role-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.role-card h5 {
  color: #c2185b;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.role-card p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

.activities-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 1.5rem;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 15px;
  padding: 20px;
  transition: all 0.3s ease;
}

.activity-item:hover {
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.activity-icon {
  font-size: 2rem;
  background: linear-gradient(135deg, #c2185b, #e91e63);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-content h4 {
  color: #c2185b;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.activity-content p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.evaluation-box {
  background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
  border: 1px solid #a5d6a7;
  border-radius: 15px;
  padding: 25px;
}

.evaluation-box h4 {
  color: #2e7d32;
  margin-bottom: 1rem;
}

.evaluation-questions {
  color: #2e7d32;
  padding-right: 20px;
}

.evaluation-questions li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.summary-box {
  background: linear-gradient(135deg, #fff3e0 0%, #ffcc80 100%);
  border: 1px solid #ffb74d;
  border-radius: 15px;
  padding: 25px;
}

.summary-box h4 {
  color: #e65100;
  margin-bottom: 1rem;
}

.summary-list {
  color: #e65100;
  padding-right: 20px;
}

.summary-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.lesson-navigation {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.lesson-navigation .btn {
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.lesson-navigation .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .lesson-main-title {
    font-size: 1.8rem;
  }

  .objectives-grid {
    grid-template-columns: 1fr;
  }

  .interactive-cards {
    grid-template-columns: 1fr;
  }

  .roles-grid {
    grid-template-columns: 1fr;
  }

  .activity-item {
    flex-direction: column;
    text-align: center;
  }

  .lesson-navigation {
    flex-direction: column;
    align-items: center;
  }

  .lesson-navigation .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 576px) {
  .lesson-main-title {
    font-size: 1.5rem;
  }

  .lesson-content-section {
    padding: 20px;
  }

  .lesson-main-content {
    padding: 20px;
  }

  .section-content {
    padding-right: 0;
  }
}

.content-section {
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid #f0f0f0;
}

.content-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.content-section h3 {
  color: #c2185b;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-section h4 {
  color: #2c3e50;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 20px 0 10px 0;
}

.lesson-goals {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lesson-goals li {
  background: linear-gradient(135deg, #fff6fb 0%, #ffe3ea 100%);
  border: 1px solid #ffd3dc;
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 10px;
  position: relative;
  padding-right: 50px;
  transition: all 0.3s ease;
}

.lesson-goals li:hover {
  transform: translateX(-5px);
  box-shadow: 0 5px 15px rgba(194, 24, 91, 0.1);
}

.lesson-goals li::before {
  content: '✓';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: #c2185b;
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.lesson-text {
  line-height: 1.8;
  color: #444;
  font-size: 1.1rem;
}

.lesson-text p {
  margin-bottom: 15px;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.activity-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px solid #dee2e6;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.activity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c2185b, #e91e63);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.activity-card:hover::before {
  transform: scaleX(1);
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: #c2185b;
}

.activity-card h4 {
  color: #c2185b;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.activity-card p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.lesson-summary {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border: 1px solid #90caf9;
  border-radius: 15px;
  padding: 25px;
}

.lesson-summary p {
  font-weight: 600;
  color: #1565c0;
  margin-bottom: 15px;
}

.lesson-summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lesson-summary li {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 10px 15px;
  margin-bottom: 8px;
  position: relative;
  padding-right: 35px;
}

.lesson-summary li::before {
  content: '→';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #1565c0;
  font-weight: bold;
}

.lesson-navigation {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.lesson-navigation .btn {
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.lesson-navigation .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .lesson-content {
    padding: 20px;
  }

  .content-section h3 {
    font-size: 1.3rem;
  }

  .activities-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .activity-card {
    padding: 20px;
  }

  .lesson-navigation {
    flex-direction: column;
    align-items: center;
  }

  .lesson-navigation .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 576px) {
  .lesson-content {
    padding: 15px;
  }

  .content-section h3 {
    font-size: 1.2rem;
  }

  .lesson-text {
    font-size: 1rem;
  }

  .activity-card {
    padding: 15px;
  }
}
