* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.main__form {
  /* background-color: #fff; */
  padding: 32px;
  /* box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.1); */
  border-style: solid;
  border-width: 0;
  /* border-color: #fff; */
  border-radius: 16px;
  font-family: 'Inter', sans-serif;
}
.iti {
  width: 100%;
}
/* .main__form:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
} */

.form__subtitle {
  font-size: 20px;
  color: #333;
  text-align: center;
  margin: 10px auto;
  font-weight: 700;
}

.main__form input[type='text'],
.main__form input[type='email'],
.main__form input[type='tel'] {
  width: 100%;
  padding: 22px 12px;
  margin: 8px 0;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 16px;
  transition:
    border 0.3s,
    box-shadow 0.3s;
}

.main__form input:focus,
.main__form input:hover {
  border: 1px solid #0074ff;
  border-color: #0074ff;
  box-shadow: 0 0 6px rgba(0, 116, 255, 0.3);
  outline: none;
}

.main__form label {
  display: block;
  margin-top: 12px;
  font-weight: 500;
  color: #333;
}

.form__title {
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1.4;
  color: #bd0909 !important;
  text-align: center;
  margin-top: 0 !important;
}

.form__sub {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: #000;
  text-align: center;
  margin-bottom: 20px;
}

.main__form button {
  width: 100%;
  margin-top: 20px;
  height: 60px;
  background-color: #0d1985;
  padding: 0 20px;
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.1);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  border-width: 0;
  border-style: solid;
  border-color: transparent;
  border-radius: 100px;
  cursor: pointer;
  transition:
    background-color 0.4s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.main__form button:hover {
  background-color: #1a80ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 116, 255, 0.5);
}

.main__form button[type='submit']:disabled {
  background-color: #aaa;
  cursor: not-allowed;
  transform: translateY(0);
  opacity: 0.7;
}

.checkbox-group {
  margin: 14px 0;
}

.checkbox-group label {
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
  cursor: pointer;
}

.checkbox-group input {
  accent-color: #0074ff;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.top-message {
  position: fixed;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0074ff;
  color: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-weight: bold;
  z-index: 9999;
  font-size: 14px;
  transition:
    top 0.5s,
    opacity 0.5s;
  opacity: 0;
}

.top-message.show {
  top: 20px;
  opacity: 1;
}

@media (width < 744px) {
  .main__form {
    padding: 0;
  }
}

img.fb-comment__person-photo {
  object-fit: contain;
  min-width: 50px;
}

@media (max-width: 768px) {
  .fb-comment__btn {
    font-size: 10px !important;
  }
}

.fb-comment__heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #e9ebee;
  align-items: center;
}

.fb-comment__container {
  margin: 20px 0;
  font-family: 'Radio Canada', sans-serif;
  line-height: 1.2;
}

.fb-comment__heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #e9ebee;
}

.fb-comment__colvo {
  font-weight: 600;
  font-size: 14px;
  color: #4b4f56;
}

.fb-comment__sort_title {
  color: #4b4f56;
  font-size: 14px;
}

.fb-comment__sort_by {
  background-color: #f5f6f7;
  color: #4b4f56 !important;
  line-height: 22px;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  padding: 4px;
  border-radius: 2px;
  border: 1px solid #ccd0d5;
  appearance: unset !important;
}

.fb-comment__form-block {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.fb-comment__form-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  flex-shrink: 0;
}

.fb-comment__form {
  border: 1px solid #d3d6db;
  flex-grow: 1;
}

.fb-comment__add-comment {
  min-height: 40px;
  padding: 12px;
  width: 100%;
  box-sizing: border-box;
  cursor: text;
  font-family: 'Radio Canada', sans-serif;
  font-size: 16px;
  resize: none;
  border: none;
  outline: none;
}

.fb-comment__add-comment:focus {
  border: none;
}

.fb-comment__form-post {
  border-top: 1px solid #d3d6db;
  background: #f5f6f7;
  padding: 8px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.fb-comment__also {
  display: flex;
  align-items: center;
  gap: 5px;
}

.fb-comment__also-text {
  font-size: 11px;
  color: #90949c;
}

.fb-comment__btn {
  background-color: #9cb4d8;
  color: #fff !important;
  font-family: 'Radio Canada', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 2px;
  flex-shrink: 0;
  border: none;
}

.fb-comment__body {
  margin-top: 20px;
}

.fb-comment__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 0;
}

.fb-comment__comment-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fb-comment__comment {
  display: flex;
  gap: 15px;
}

.fb-comment__person-photo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  flex-shrink: 0;
}

.fb-comment__comment-content {
  flex-direction: column;
}

.fb-comment__name {
  font-weight: 600;
  color: #365899 !important;
  font-size: 14px;
  line-height: 1.4;

  &:hover {
    text-decoration: underline;
  }
}

.fb-comment__text {
  font-size: 14px;
  color: #4b4f56;
  margin: 4px 0 8px !important;
}

.fb-comment__meta {
  display: flex;
  gap: 6px;
  align-items: center;
}

.fb-comment__like,
.fb-comment__reply {
  color: #4267b2 !important;
  font-size: 12px;

  &:hover {
    text-decoration: underline;
  }
}

.fb-comment__like-colvo {
  font-size: 12px;
  color: #90949c;
  display: flex;
  gap: 3px;
}

.fb-comment__like-colvo:before {
  content: url('../index/like.svg');
  width: 10px !important;
}

.fb-comment__date {
  font-size: 12px;
  color: #90949c;
}

.fb-comment__answer {
  margin-left: 65px;
  padding-left: 10px;
  border-left: 1px dotted #d3d6db;
}
