/* === TITLE (бывший inline style="font-weight: 500;" + .mb-3) === */
.addcomments__title {
  font-weight: 500;
  margin-bottom: 1rem;
}

.box {
  height: 300px;
  border: 1px solid #b3b3b3;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background: #fff url(images/shadow.png) repeat-x;
  overflow: auto;
}

ul.ui-form {
  padding: 0;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group {
  position: relative;
  /* margin-bottom:40px; */
}

.form-group span.error {
  position: absolute;
  bottom: -25px;
  right: 0;
  color: #db5656;
  font-size: 0.75rem;
}

.wide,
.bb-editor textarea,
.ui-dialog textarea,
select#category,
.timezoneselect,
.quick-edit-text {
  width: 100% !important;
}

.form_submit .c-captcha {
  float: right;
}

.c-captcha {
  position: relative;
}

.c-captcha:after {
  clear: both;
  display: block;
  content: "";
}

.c-captcha > a {
  float: left;
  margin-right: 5px;
}

.c-captcha img {
  position: relative;
  display: block;
  width: 130px;
  height: 46px;
  z-index: 1;
  -webkit-transition: all ease 0.2s;
  transition: all ease 0.2s;
}

.c-captcha > input {
  float: left;
  width: 130px;
}


.bbcodes {
  border: 1px solid rgba(85, 178, 253, 0.28);
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  height: 36px;
  border-radius: 8px;
  line-height: 22px;
  outline: none;
  background: rgba(85, 178, 253, 0.10);
  color: #55b2fd;
  padding: 7px 22px;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.bbcodes:hover,
.ui-button:hover {
  background: rgba(85, 178, 253, 0.22);
  border-color: rgba(85, 178, 253, 0.65);
  color: #fff;
  box-shadow: 0 0 16px rgba(85, 178, 253, 0.35), 0 4px 12px rgba(85, 178, 253, 0.20);
  transform: translateY(-1px);
}

.bbcodes:active,
.ui-button:active {
  background: rgba(85, 178, 253, 0.30);
  border-color: rgba(85, 178, 253, 0.80);
  color: #fff;
  box-shadow: 0 0 8px rgba(85, 178, 253, 0.20);
  transform: translateY(0);
}

.btn-border {
  color: #5ab9ea;
  border: 2px solid rgba(90, 185, 234, 0.3);
  border-radius: 8px;
  line-height: 22px;
  padding: 5px 20px;
  background-color: transparent !important;
  overflow: hidden;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-border:hover {
  border-color: rgba(90, 185, 234, 0.6);
  color: #fff;
}

@media (min-width: 576px) {
  .form-inline .form-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 0;
  }

}

/* === WRAPPER (бывший card-footer p-3) === */

.addcomments__wrapper {
  padding: 1rem;
  background-color: hsla(240, 7%, 12%, 0.88);
  box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
  border-top: 1px solid rgba(90, 185, 234, 0.15);
}

/* === SUBMIT (бывший btn btn-primary btn-sm + addcomments.css .btn override) === */

.addcomments__submit {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 400;
  color: #55b2fd;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background: rgba(85, 178, 253, 0.10);
  border: 1px solid rgba(85, 178, 253, 0.28);
  padding: 7px 22px;
  font-size: 0.875rem;
  line-height: 22px;
  border-radius: 8px;
  height: 36px;
  outline: none;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.addcomments__submit:hover {
  background: rgba(85, 178, 253, 0.22);
  border-color: rgba(85, 178, 253, 0.65);
  color: #fff;
  box-shadow: 0 0 16px rgba(85, 178, 253, 0.35), 0 4px 12px rgba(85, 178, 253, 0.20);
  transform: translateY(-2px);
}
.addcomments__submit:active {
  background: rgba(85, 178, 253, 0.30);
  border-color: rgba(85, 178, 253, 0.80);
  color: #fff;
  box-shadow: 0 0 8px rgba(85, 178, 253, 0.20);
  transform: translateY(0);
}
