/* Contact Support / Raise Ticket */
.raise-ticket {
  min-height: calc(100vh - 158px);
  overflow: hidden;
  padding: clamp(48px, 5.56vw, 80px) 0 clamp(64px, 6.94vw, 100px);
  position: relative;
}

.raise-ticket__bg {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.raise-ticket__bg-pattern {
  background: url("../../images/join-us/raise-ticket/bg-pattern.svg") no-repeat
    center top;
  background-size: cover;
  height: 100%;
  left: 0;
  opacity: 0.45;
  position: absolute;
  top: 0;
  width: 100%;
}

.raise-ticket__bg-light {
  background: url("../../images/join-us/raise-ticket/bg-light.svg") no-repeat
    center;
  background-size: contain;
  filter: blur(120px);
  height: min(589px, 60vh);
  left: 50%;
  opacity: 0.85;
  position: absolute;
  top: 12%;
  transform: translateX(-50%);
  width: min(741px, 75vw);
}

.raise-ticket__container {
  display: flex;
  justify-content: center;
  max-width: min(672px, 92vw);
  position: relative;
  z-index: 1;
}

.raise-ticket__card {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(27, 34, 60, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  max-width: 672px;
  overflow: hidden;
  padding: 41px;
  position: relative;
  width: 100%;
}

.raise-ticket__card-gradient {
  background: linear-gradient(
    123.5deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.raise-ticket__header,
.raise-ticket__form {
  position: relative;
  z-index: 1;
}

.raise-ticket__header {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 6.8px;
  margin-bottom: 32px;
  text-align: center;
  background: transparent;
}

.raise-ticket__icon-wrap {
  align-items: center;
  background: rgba(27, 34, 60, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  height: 55px;
  justify-content: center;
  width: 75px;
}

.raise-ticket__icon {
  height: 22.5px;
  width: 25px;
}

.raise-ticket__title {
  color: #dce2f7;
  font-family: Poppins, sans-serif;
  font-size: clamp(26px, 2.22vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  margin: 17.2px 0 0;
}

.raise-ticket__subtitle {
  color: #c3c6d3;
  font-family: Lato, sans-serif;
  font-size: clamp(14px, 1.11vw, 16px);
  line-height: 1.6;
  margin: 0;
  max-width: 448px;
}

.raise-ticket__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.raise-ticket__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.raise-ticket__field {
  align-items: center;
  background: #fafcfb;
  border: 1px solid rgba(107, 114, 128, 0.3);
  border-radius: 9999px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 12px;
  margin: 0;
  min-height: 48px;
  padding: 13px 21px;
}

.raise-ticket__field-icon {
  flex-shrink: 0;
  height: 18px;
  width: auto;
}

.raise-ticket__field:nth-child(1) .raise-ticket__field-icon {
  height: 16px;
}

.raise-ticket__input {
  background: transparent;
  border: 0;
  color: #323741;
  flex: 1;
  font-family: Lato, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  min-width: 0;
  outline: none;
  padding: 0;
}

.raise-ticket__input::placeholder {
  color: #6b7280;
}

.raise-ticket__textarea-wrap {
  display: block;
  margin: 0;
}

.raise-ticket__textarea {
  background: #fafcfb;
  border: 1px solid #000;
  border-radius: 12px;
  color: #323741;
  display: block;
  font-family: Lato, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  min-height: 186px;
  padding: 25px 17px;
  resize: vertical;
  width: 100%;
}

.raise-ticket__textarea::placeholder {
  color: #6b7280;
}

.raise-ticket__textarea:focus {
  outline: 2px solid rgba(45, 87, 166, 0.45);
  outline-offset: 2px;
}

.raise-ticket__upload {
  position: relative;
}

.raise-ticket__upload-input {
  height: 0;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.raise-ticket__upload-label {
  align-items: center;
  border: 2px dashed #73757d;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  margin: 0;
  min-height: 132px;
  padding: 34px 24px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.raise-ticket__upload--dragover .raise-ticket__upload-label,
.raise-ticket__upload-label:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: #c3c6d3;
}

.raise-ticket__upload-icon {
  height: 48px;
  width: 48px;
}

.raise-ticket__upload-text {
  color: #c3c6d3;
  font-family: Lato, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.raise-ticket__attachment {
  align-items: center;
  background: rgba(27, 34, 60, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 13px;
}

.raise-ticket__attachment--hidden {
  display: none;
}

.raise-ticket__attachment-info {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.raise-ticket__attachment-file-icon {
  flex-shrink: 0;
  height: 18px;
  width: 18px;
}

.raise-ticket__attachment-name {
  color: #dce2f7;
  font-family: Lato, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.raise-ticket__attachment-remove {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  padding: 4px;
}

.raise-ticket__attachment-remove img {
  height: 12px;
  width: 12px;
}

.raise-ticket__submit {
  background: #10b981;
  border: 0;
  border-radius: 9999px;
  box-shadow: 0 0 7.5px rgba(16, 185, 129, 0.3);
  color: #fafcfb;
  cursor: pointer;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 8px;
  min-height: 49px;
  padding: 16px 24px;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
  width: 100%;
}

.raise-ticket__submit:hover {
  background: #0ea371;
}

.raise-ticket__submit:active {
  transform: scale(0.99);
}

@media (max-width: 991px) {
  .raise-ticket {
    min-height: auto;
    padding: 40px 0 56px;
  }

  .raise-ticket__card {
    padding: 32px 24px 40px;
  }

  .raise-ticket__header {
    margin-bottom: 24px;
    background: transparent;
  }
}

@media (max-width: 575px) {
  .raise-ticket__card {
    border-radius: 12px;
    padding: 24px 16px 32px;
  }

  .raise-ticket__icon-wrap {
    height: 56px;
    width: 56px;
  }

  .raise-ticket__field {
    min-height: 44px;
    padding: 11px 16px;
  }

  .raise-ticket__textarea {
    min-height: 150px;
    padding: 18px 14px;
  }

  .raise-ticket__upload-label {
    min-height: 112px;
    padding: 24px 16px;
  }
}
