/* Essay Topic Generator - Tool Specific Styles */

/* ========== TOPICS HEADER ========== */
.topics-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid #e2e8f0;
  gap: 20px;
  flex-wrap: wrap;
}

.topics-header h2,
.topics-title {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  font-family: 'CircularStd', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.topics-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topics-count {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

#copyAllBtn,
.btn-copy-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #233f8c;
  border: none;
  border-radius: 6px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'CircularStd', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  box-shadow: 0 2px 8px rgba(35, 63, 140, 0.2);
  width: auto;
  height: auto;
}

#copyAllBtn:hover,
.btn-copy-all:hover {
  background: #1f46b4;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(35, 63, 140, 0.3);
}

#copyAllBtn svg,
.btn-copy-all svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ========== TOPICS CONTENT ========== */
.topics-content {
  flex: 1;
  padding: 28px;
  overflow-y: auto;
  position: relative;
  min-height: 470px;
  max-height: 470px;
}

/* ========== TOPICS FOOTER ========== */
.topics-footer {
  padding: 24px 32px;
  border-top: 1px solid #e2e8f0;
}

.topics-footer .editors-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  padding: 20px 28px;
  border-radius: 16px;
}

.topics-footer .editors-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.topics-footer .editors-text-large {
  font-size: 15px;
  font-weight: 600;
  color: #075985;
  margin: 0;
}

.topics-footer .btn-polish {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #233f8c;
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'CircularStd', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  box-shadow: 0 4px 12px rgba(30, 41, 59, 0.25);
  flex-shrink: 0;
}

.topics-footer .btn-polish:hover {
  background: #1f46b4;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 41, 59, 0.35);
}

.topics-footer .btn-polish svg {
  width: 20px;
  height: 20px;
}

/* ========== TOPICS LIST ========== */
.topics-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.topic-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 0;
  transition: all 0.2s ease;
}

.topic-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.topic-item-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.topic-number {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #117bd4 0%, #2d96ee 100%);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'CircularStd', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.topic-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
  color: #1e293b;
  font-weight: 500;
  word-wrap: break-word;
}

.topic-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-topic-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.btn-topic-action:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #1e293b;
}

.btn-topic-action svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-topic-action.copied {
  background: #dcfce7;
  border-color: #86efac;
  color: #16a34a;
}
.faqSec{
  background: unset;
  padding: 120px 0 100px;
}
.titleGenSec .secbottom{
  margin-top: 80px;
}
.pageBtm-text{
  background: #F6FAFD;
  padding: 18px 0 17px;
  margin: 0px 0 131px;
}
.pageBtm-text p{
  font-weight: 400;
  font-size: 13px;
  line-height: 190%;
  letter-spacing: 0%;
  text-align: center;
  color: #233F8C;
}
.titleWrap-section{
  background: #F6FAFD;
  padding: 90px 0;
}
.titleWrap-btn{
  display: block;
  max-width: 237px;
  width: 100%;
  margin: 80px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px 17px 32px;
  gap: 15px;
  background: #F9FEFF;
  border: 1px solid #DFF4F9;
  box-shadow: 0px 5px 25px 0px #7E7E7E40;
  border-radius: 15px;
  transition: all ease-in .3s;
}
.titleWrap-btn p{
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0%;
  text-decoration: underline;
  color: #231F20;
}
.titleWrap-btn p:hover{
  text-decoration: none;
}
.titleWrap-btn:hover {
  transform: translateY(-4px);
  border-color: #2649A8;
}
.compellingEssay .titleWrap{
  max-width: 921px;
}
/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 768px) {
  .topics-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .topics-title {
    font-size: 18px;
  }

  .topics-actions {
    width: 100%;
    justify-content: space-between;
  }

  .topics-content {
    padding: 20px;
  }

  .topic-item {
    padding: 16px;
  }

  .topic-number {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .topic-text {
    font-size: 14px;
  }

  .topics-footer {
    padding: 20px;
  }

  .topics-footer .editors-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }

  .topics-footer .editors-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .topics-footer .btn-polish {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .howStartsec .secBtn{
    margin: 40px auto 0;
  }
  .compellingEssay,
.avoidMistakeSec,
.whyNeedSec,
.titleGenSec,
.reviewStdsec,
.academicSec,
.typeEssay,
.aiAssistantSec,
.SeoContentsec,
.limitationSec,
.howUsesec,
.freeToolSec,
.aiEduSec {
    padding: 80px 0;
  }

  .academicStylesec,
  .selectTitleSec,
  .exampleAisec,
  .howStartsec,
  .anyTypeEssay,
  .tradtnlSec,
  .genStepsec,
  .builtStdSec,
  .betterEssaySec,
  .faqSec,
  .howSucceedSec,
  .whyStdChooseSec,
  .howAiworkSec ,.titleWrap-section {
    padding: 60px 0;

  }
  .howStartsec {
    padding-bottom: 80px;
  }
  .secbtmBtn{
    font-size: 14px;
  }
  .exampleAisec .secCtaBtn, .exampleAisec .secCtaBtn .secBtn{
    margin-top: 0;
  }
  .exampleAisec .contentWrap {
    margin-top: 50px;
}
  .tableWraper td, .tableWraper th{
    line-height: 150% !important;
  }
  .topics-header {
    padding: 14px 16px;
  }

  .topics-content {
    padding: 16px;
    max-height: unset;
    min-height: unset;
  }

  .topics-list {
    gap: 12px;
  }

  .topic-item {
    padding: 14px;
  }

  .topic-item-header {
    gap: 12px;
  }

  .btn-copy-all {
    padding: 8px 12px;
    font-size: 12px;
  }

  .topics-count {
    font-size: 13px;
  }

  .btn-topic-action {
    width: 28px;
    height: 28px;
  }

  .btn-topic-action svg {
    width: 14px;
    height: 14px;
  }
}