/* Стили для модального окна */
.course-modal__cartwin {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  display: none;
}

.course-modal__cartwin.active {
  display: block !important;
}

.course-modal__cartwin-content {
  background: #fff;
  max-width: 680px;
  width: 90%;
  margin: 40px auto;
  border-radius: 20px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.course-modal__cartwin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px 10px 30px;
  border-bottom: 1px solid #eef2f5;
}

.course-modal__cartwin-heading {
  font-size: 22px;
  font-weight: 600;
  color: #1a2c3e;
  margin: 0;
}

.course-modal__cartwin-close {
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
  transition: 0.2s;

  background: none !important;
  border: none;
}
.course-modal__cartwin-close:hover {
  color: #78b928;
}
.course-modal__product {
  display: flex;
  align-items: center;
  padding: 15px 30px;
  background: #f8fafc;
  margin: 0 30px 20px 30px;
  border-radius: 12px;
}

.course-modal__product-thumb {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  margin-right: 15px;
}

.course-modal__product-imgdiv {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.course-modal__product-title {
  flex: 1;
  font-weight: 500;
}

.course-modal__form-group {
  margin-bottom: 20px;
}
.course-modal__form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.course-modal__form-row .course-modal__form-group {
  flex: 1;
  margin-bottom: 0;
}
.course-modal__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #2c3e50;
}
.course-modal__input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #9b9b9b;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
}
.course-modal__input:focus {
  outline: none;
  border-color: #78b928;
  box-shadow: 0 0 0 3px rgba(120, 185, 40, 0.1);
}
.course-modal__select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #9b9b9b;
  border-radius: 10px;
  font-size: 15px;
  background: #fff;
  cursor: pointer;
}
.course-modal__radio-group {
  display: flex;
  gap: 30px;
  margin-top: 8px;
}
.course-modal__radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.course-modal__radio-indicator {
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  position: relative;
}
.course-modal__radio-input:checked + .course-modal__radio-indicator {
  border-color: #78b928;
}
.course-modal__radio-input:checked + .course-modal__radio-indicator::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #78b928;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.course-modal__radio-input {
  display: none;
}
.course-modal__hint {
  font-size: 12px;
  color: #9b9b9b;
  margin-top: 6px;
}
.course-modal__hint a {
  color: #78b928;
}
.course-modal__submit {
  width: 100%;
  background: #78b928;
  color: #fff;
  border: 1px solid #78b928;
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  margin-top: 10px;
}
.course-modal__submit:hover {
  background: #fff;
  color: #78b928;
}
.course-modal__bottom-text {
  text-align: center;
  font-size: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eef2f5;
}
.course-modal__bottom-text a {
  color: #78b928;
  text-decoration: none;
  border-bottom: 1px solid #78b928;
}
.course-modal__successbox {
  display: none;
  background: #ffffff;
  color: #78b928;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 20px;
}
.course-modal__errorbox {
  display: none;
  background-color: #f95d51;
  color: #fff;
  padding: 12px;
  border-radius: 10px;
  font-size: 18px;
  min-height: 40px;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
  width: 100%;
}
.course-modal__products {
  padding: 0 30px;
}

.t-input-group-item {
  margin-bottom: 35px;
}

.t-custom-form {
  display: block;
  height: 100%;
  margin-bottom: 10px;
  margin-top: 30px;
  text-align: center;
  vertical-align: middle;
  width: 100%;
}

.t-custom-form-btn {
  color: #fff !important;
  background-color: #78b928 !important;
  border-style: solid !important;
  border-color: #78b928 !important;
  --border-width: 1px;
  box-shadow: none !important;
  transition-duration: 0.2s;
  transition-property:
    background-color, color, border-color, box-shadow, opacity, transform, gap;
  transition-timing-function: ease-in-out;
  width: 100%;
}
@media (hover: hover) {
  .t-custom-form-btn:not(.t-animate_no-hover):hover {
    color: #78b928 !important;
    border-color: #78b928 !important;
    background-color: #ffffff !important;
  }
  #rec774286576 .t-custom-form-btn:not(.t-animate_no-hover):focus-visible {
    color: #78b928 !important;
    border-color: #78b928 !important;
    background-color: #ffffff !important;
  }
}

#rec774286576 input::-webkit-input-placeholder {
  color: #1c1c1c;
  opacity: 0.5;
}
#rec774286576 input::-moz-placeholder {
  color: #1c1c1c;
  opacity: 0.5;
}
#rec774286576 input:-moz-placeholder {
  color: #1c1c1c;
  opacity: 0.5;
}
#rec774286576 input:-ms-input-placeholder {
  color: #1c1c1c;
  opacity: 0.5;
}
#rec774286576 textarea::-webkit-input-placeholder {
  color: #1c1c1c;
  opacity: 0.5;
}
#rec774286576 textarea::-moz-placeholder {
  color: #1c1c1c;
  opacity: 0.5;
}
#rec774286576 textarea:-moz-placeholder {
  color: #1c1c1c;
  opacity: 0.5;
}
#rec774286576 textarea:-ms-input-placeholder {
  color: #1c1c1c;
  opacity: 0.5;
}

.t-input-group_row {
  margin-bottom: 35px;
}

.t-input-label-title {
  font-size: 16px;
}
