
.sendmessage-component {
  --sendmessage-accent: #fcb515;
  --sendmessage-dark: #151b22;
  --sendmessage-dark-soft: rgba(255, 255, 255, 0.08);
  --sendmessage-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  --sendmessage-border-radius: 20px;
}

.sendmessage-component__form-column > form,
.sendmessage-component__form-column > div {
  width: 100%;
}

.sendmessage-component__form-column form {
  background: #ffffff;
  border: 1px solid #edf1f7;
  border-top-right-radius: var(--sendmessage-border-radius);
  border-bottom-right-radius: var(--sendmessage-border-radius);
  box-shadow: var(--sendmessage-shadow);
  padding: 36px 32px;
}

.sendmessage-component__form-column .fs-3 {
  margin-bottom: 28px !important;
}

.sendmessage-component__form-column .fs-3 h5 {
  margin-bottom: 0;
  font-size: 2rem;
  font-weight: 600;
}

.sendmessage-component__form-column .form-floating > .form-control,
.sendmessage-component__form-column .form-floating > .form-select,
.sendmessage-component__form-column .form-floating > textarea.form-control {
  border: 1px solid #e5e9f2;
  border-radius: 16px;
  box-shadow: none;
}

.sendmessage-component__form-column .form-floating > .form-control,
.sendmessage-component__form-column .form-floating > .form-select {
  min-height: 60px;
}

.sendmessage-component__form-column .form-floating > textarea.form-control {
  min-height: 150px;
}

.sendmessage-component__form-column .form-floating > label {
  color: #5f6673;
}

.sendmessage-component__form-column .border-top.text-end.pt-3 {
  border-top-color: #edf1f7 !important;
  margin-top: 8px;
  padding-top: 24px !important;
}

.sendmessage-component__form-column .btn.btn-primary {
  border-radius: 14px;
  min-width: 180px;
}

.sendmessage-side {
  position: relative;
  min-height: 620px;
  border-top-left-radius: var(--sendmessage-border-radius);
  border-bottom-left-radius: var(--sendmessage-border-radius);
  overflow: hidden;
  background: url("../../img/customer_support.jpg") center right / cover no-repeat;
  box-shadow: var(--sendmessage-shadow);
}

.sendmessage-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 12, 18, 0.28) 0%, rgba(8, 12, 18, 0.05) 52%, rgba(8, 12, 18, 0) 100%);
}

.sendmessage-side::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(58%, 430px);
  background: linear-gradient(180deg, #131920 0%, #1a2028 100%);
  border-right: 3px solid var(--sendmessage-accent);
  border-top-right-radius: 34% 50%;
  border-bottom-right-radius: 34% 50%;
}

.sendmessage-side__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 620px;
  width: min(52%, 400px);
  padding: 38px;
  color: #ffffff;
}

.sendmessage-side__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sendmessage-accent);
  color: #151b22;
  font-size: 1.35rem;
}

.sendmessage-side__eyebrow {
  color: var(--sendmessage-accent);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sendmessage-side__title {
  margin: 0;
  color: #ffffff;
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1;
}

.sendmessage-side__title span {
  display: block;
  color: var(--sendmessage-accent);
}

.sendmessage-side__divider {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: var(--sendmessage-accent);
}

.sendmessage-side__description {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.8;
}

.sendmessage-side__contacts {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.sendmessage-side__contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.sendmessage-side__contact-icon,
.sendmessage-footer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(252, 181, 21, 0.38);
  border-radius: 50%;
  color: var(--sendmessage-accent);
  font-size: 1.25rem;
}

.sendmessage-side__contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sendmessage-side__contact-text strong {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
}

.sendmessage-side__contact-text span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  max-width: 250px;
}

.sendmessage-component__footer {
  margin-top: 24px;
}

.sendmessage-footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #ffffff;
  border: 1px solid #edf1f7;
  border-radius: 24px;
  box-shadow: var(--sendmessage-shadow);
  overflow: hidden;
}

.sendmessage-footer__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
}

.sendmessage-footer__item + .sendmessage-footer__item {
  border-left: 1px solid #edf1f7;
}

.sendmessage-footer__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sendmessage-footer__text strong {
  color: #202632;
  font-size: 1.05rem;
  font-weight: 600;
}

.sendmessage-footer__text span {
  color: #68707e;
  line-height: 1.5;
}

@media (max-width: 1399.98px) {
  .sendmessage-side__title {
    font-size: 2.7rem;
  }

  .sendmessage-side::after,
  .sendmessage-side__content {
    width: min(60%, 400px);
  }
}

@media (max-width: 1199.98px) {
  .sendmessage-side,
  .sendmessage-side__content {
    min-height: 560px;
  }

  .sendmessage-side__content {
    padding: 30px;
  }

  .sendmessage-side__title {
    font-size: 2.35rem;
  }

  .sendmessage-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sendmessage-footer__item:nth-child(3),
  .sendmessage-footer__item:nth-child(4) {
    border-top: 1px solid #edf1f7;
  }

  .sendmessage-footer__item:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 991.98px) {
  .sendmessage-component__row > .sendmessage-component__form-column,
  .sendmessage-component__row > .sendmessage-component__side-column {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  .sendmessage-side {
    border-top-right-radius: var(--sendmessage-border-radius);
    border-bottom-right-radius: var(--sendmessage-border-radius);
  }

  .sendmessage-component__form-column form {
    border-top-left-radius: var(--sendmessage-border-radius);
    border-bottom-left-radius: var(--sendmessage-border-radius);
  }

  .sendmessage-side,
  .sendmessage-side__content {
    min-height: auto;
  }

  .sendmessage-side::after {
    width: 100%;
    border-right: 0;
    border-bottom: 3px solid var(--sendmessage-accent);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: var(--sendmessage-border-radius);
    background: linear-gradient(180deg, rgba(19, 25, 32, 0.95) 0%, rgba(19, 25, 32, 0.84) 100%);
  }

  .sendmessage-side__content {
    width: 100%;
    padding: 32px 24px;
  }
}

@media (max-width: 767.98px) {
  .sendmessage-component__form-column form {
    padding: 28px 20px;
  }

  .sendmessage-side__title {
    font-size: 2rem;
  }

  .sendmessage-side__contact-text span {
    max-width: auto;
  }

  .sendmessage-footer {
    grid-template-columns: 1fr;
  }

  .sendmessage-footer__item + .sendmessage-footer__item,
  .sendmessage-footer__item:nth-child(3),
  .sendmessage-footer__item:nth-child(4) {
    border-left: 0;
    border-top: 1px solid #edf1f7;
  }
}
