﻿.contact-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

.contact-block {
  display: flex;
  justify-items: center;
  border-radius: 15px;
  width: 980px;
  height: 580px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: #fff;
  flex-direction: column;
  align-items: center;
}

.contact-block__header {
  width: 180px;
  height: 30px;
  font-family: var(--third-family);
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  color: #444;
  align-content: center;
  line-height: 1;
  margin: 20px 0 10px 0;
}

.contact-block__label {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: #000;
  width: 160px;
  height: 30px;
  align-content: center;
}

.contact-block__input {
  border: 1px solid #ccc;
  border-radius: 10px;
  width: 580px;
  height: 30px;
  background: #f7f7f7;
  padding-left: 10px;
}

.contact-block__registration-block {
  display: flex;
  flex-direction: column;
  width: 780px;
}

.contact-block__input-block {
  display: flex;
  justify-content: space-between;
}

.contact-block__separator {
  display: flex;
  align-items: center;
  width: 580px;
  height: 1px;
  text-align: center;
  background: #c7c7c7;
  margin: 10px 0 20px 0;
}

.contact-block__information-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  color: #444;
  width: 780px;
  height: 80px;
}

.contact-block__button-block {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.contact-block__success-message {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  color: green;
}

.contact-block__button {
  border: 1px solid #4cae4c;
  border-radius: 15px;
  width: 320px;
  height: 40px;
  background: #5cb85c;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  cursor: pointer;
  position: relative;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  color: #fff;
  transition: background 0.3s, transform 0.1s;
}

  .contact-block__button:hover {
    background: #4cae4c;
  }

  .contact-block__button:active {
    transform: scale(0.95);
  }

.contact-block__contact-info-block {
  width: 780px;
  height: 50px;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  margin: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-block__contact-info-block-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  text-align: center;
  color: #000;
  height: 50px;
  margin: 0;
  align-content: center;
  line-height: 14px;
}

.contact-block__field-error-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  text-align: right;
  color: #f00;
}

.contact-block__registration-block > *:not(.no-gap) {
  margin-top: 15px;
}

.contact-block__input_error {
  border: 1px solid #f00;
}

.required-asterisk {
  vertical-align: super;
  font-size: 0.9em;
}

.contact-cross-close-btn__position{
  position: relative;
  top: 20px;
  right: -460px;
}
