/*!******************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/fsd-pages/profile/ui/Questions/ui/Questions.module.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************/
.Questions_questions__r7qla {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-top: 50px;
}

.Questions_questions__title__qKj5i {
  color: #212a33;
  font-size: 26px;
  font-weight: 500;
  line-height: 120%;
  text-align: left;
}

.Questions_questions__list__aSKoz {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.Questions_question__mcFSq {
  width: 100%;
  padding: 25px;
  border: 1px solid #e8edf2;
  border-radius: 28px;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.Questions_question__mcFSq.Questions_active__KIc8Z {
  border: 1px solid transparent;
  background: #f3f7fa;
  transition: all 0.3s ease-in-out;
}

.Questions_question__head__8nrWb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.Questions_question__title__C49p3 {
  color: #212a33;
  font-size: 16px;
  font-weight: 500;
  line-height: 120%;
  text-align: left;
}

.Questions_icon__5WFjL {
  transition: transform 0.3s ease-in-out;
  min-width: 24px;
  min-height: 24px;
  max-width: 24px;
  max-height: 24px;
}

.Questions_icon__5WFjL.Questions_rotated__u1gg3 {
  transform: rotate(180deg);
}

.Questions_question__body___Crdh {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
}

.Questions_question__body___Crdh.Questions_open__76Z_d {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
}

.Questions_question__text__UleyH {
  color: #212a33;
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  text-align: left;
  margin-top: 16px;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/fsd-pages/faq/ui/FAQPage.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************/
.page__faq {
  padding: 40px 0;
  background: #fff;
}

.faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq__header {
  margin-bottom: 40px;
}

.faq__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  margin: 0;
  text-align: center;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq__item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.faq__item:hover {
  border-color: #1976d2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq__item--open {
  border-color: #1976d2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__question:hover {
  background-color: #f5f5f5;
}

.faq__question-text {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: #212A33;
  margin: 0;
  flex: 1;
  padding-right: 20px;
}

.faq__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #e3f2fd;
  color: #1976d2;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, background-color;
}

.faq__item--open .faq__icon {
  background-color: #1976d2;
  color: #fff;
  transform: rotate(180deg);
}

.faq__answer {
  padding: 0 24px;
  color: #333;
  line-height: 1.8;
  font-size: 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding-top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding-bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  will-change: max-height, padding, opacity;
}

.faq__answer--open {
  opacity: 1;
  padding: 0 24px 24px 24px;
}

.faq__answer p {
  margin: 0 0 15px 0;
}

.faq__answer p:last-child {
  margin-bottom: 0;
}

.faq__answer h1,
.faq__answer h2,
.faq__answer h3,
.faq__answer h4,
.faq__answer h5,
.faq__answer h6 {
  margin: 20px 0 10px 0;
  font-weight: 700;
  color: #212A33;
}

.faq__answer ul,
.faq__answer ol {
  margin: 15px 0;
  padding-left: 30px;
}

.faq__answer li {
  margin: 8px 0;
}

.faq__answer a {
  color: #1976d2;
  text-decoration: underline;
}

.faq__answer a:hover {
  color: #1565c0;
}

.faq__answer img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 15px 0;
}


.faq__loading,
.faq__error,
.faq__empty {
  font-size: 1.125rem;
  color: #666;
}

.faq__error {
  color: #d32f2f;
}

@media (max-width: 768px) {
  .faq__title {
    font-size: 2rem;
  }

  .faq__question {
    padding: 16px 20px;
  }

  .faq__question-text {
    font-size: 1rem;
    padding-right: 15px;
  }

  .faq__answer {
    padding: 0 20px 20px 20px;
    font-size: 0.9375rem;
  }

  .faq__icon {
    width: 28px;
    height: 28px;
    font-size: 1.25rem;
  }
}

