/* CONTACT BOX */
.contact-box {
  background: var(--cf-bg-blue);
  padding: 18px 22px;
  border-radius: 4px;
  box-shadow: 2px 4px 4px 0 rgba(22, 35, 152, 0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 26px 0 30px 0;
}

.contact-box-left {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}

.contact-title {
  font-size: 20px;
  line-height: 36px;
  font-weight: 700;
  color: var(--cf-primary-main);
  margin: 0;
}

.contact-button {
  background: var(--cf-primary-main);
  border-radius: 4px;
  padding: 4px 12px;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: var(--cf-white);
}

/* CONTACT FORM */
.contact-form {
  display: none;
  width: 100%;
  padding: 16px;
  background: var(--cf-bg-blue);
  box-shadow: 2px 4px 4px rgba(22, 35, 152, 0.25);
  border-radius: 4px;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin: 26px 0 30px 0;
}

.contact-form.active {
  display: flex;
}

.contact-form-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-form-title-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-form-title {
  color: #000F9F;
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  word-wrap: break-word;
  margin: 0;
}

.contact-form-close {
  width: 16px;
  height: 16px;
  cursor: pointer;
  position: relative;
  background: none;
  border: none;
  padding: 0;
}

.contact-form-close::before,
.contact-form-close::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 2px;
  background: var(--cf-primary-main);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.contact-form-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.contact-form-dropdown {
  position: relative;
  display: inline-flex;
}

.contact-form-select {
  height: 24px;
  padding: 0 12px;
  border-radius: 4px;
  border: 2px solid #000F9F;
  background: transparent;
  color: #000F9F;
  font-size: 12px;
  font-weight: 500;
  line-height: 14.40px;
  word-wrap: break-word;
  cursor: pointer;
  appearance: none;
  padding-right: 28px;
}

.contact-form-select-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.contact-form-select-wrapper::after {
  content: '';
  position: absolute;
  right: 8px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--cf-primary-main);
  pointer-events: none;
}

.contact-form-textarea-wrapper {
  width: 100%;
  padding: 8px 12px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form-textarea {
  width: 100%;
  min-height: 100px;
  border: none;
  color: #9E9E9E;
  font-size: 10px;
  font-weight: 500;
  line-height: 20px;
  word-wrap: break-word;
  resize: vertical;
  outline: none;
  font-family: inherit;
}

.contact-form-counter {
  text-align: right;
  color: #A5A5A5;
  font-size: 10px;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  line-height: 28px;
  word-wrap: break-word;
}

.contact-form-submit {
  padding: 5px 12px;
  background: #E3E6FF;
  border-radius: 4px;
  border: none;
  color: white;
  font-size: 12px;
  font-weight: 700;
  line-height: 14.40px;
  word-wrap: break-word;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form-submit:hover {
  background: var(--cf-primary-main);
}

/* CONTACT FORM SUCCESS MESSAGE */
.contact-form-success {
  display: none;
  width: 100%;
  padding: 16px;
  background: #F4F5FF;
  box-shadow: 2px 4px 4px rgba(22, 35, 152, 0.25);
  border-radius: 4px;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin: 26px 0 30px 0;
}

.contact-form-success.active {
  display: inline-flex;
}

.contact-form-success-message {
  color: #000F9F;
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  word-wrap: break-word;
}
