// OptionalTermsInfo.clean.module.less
// IntroPanel용 깔끔한 스타일 (global 스타일 제거)

.termsInfo {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

// 텍스트 모드
.textMode {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.textDescription {
  color: #1A1A1A;
  font-size: 18px;
  font-family: 'LG Smart UI', sans-serif;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  word-wrap: break-word;
  margin: 0;
}

// 이미지 모드
.imageMode {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.imageTitle {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.imageTitleText {
  color: #C70850;
  font-size: 20px;
  font-family: 'LG Smart UI', sans-serif;
  font-weight: 700;
  text-align: center;
  word-wrap: break-word;
}

.imageContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.benefitImage {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.benefitImage:hover {
  transform: scale(1.05);
}

// 이미지 개수별 스타일
.imageCount1 {
  .benefitImage {
    width: 120px;
    height: 120px;
  }
}

.imageCount2 {
  .benefitImage {
    width: 100px;
    height: 100px;
  }
}

.imageCount3 {
  .benefitImage {
    width: 80px;
    height: 80px;
  }
}

// 반응형 디자인
@media (max-width: 1200px) {
  .termsInfo {
    padding: 15px;
  }
  
  .textDescription {
    font-size: 16px;
  }
  
  .imageTitleText {
    font-size: 18px;
  }
  
  .benefitImage {
    width: 60px;
    height: 60px;
  }
  
  .imageCount1 .benefitImage {
    width: 100px;
    height: 100px;
  }
  
  .imageCount2 .benefitImage {
    width: 80px;
    height: 80px;
  }
  
  .imageCount3 .benefitImage {
    width: 60px;
    height: 60px;
  }
}
