/* =========================================================
   TAJRIVO - SUPPORT
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.support-page {
  width: 100%;
  max-width: 1450px;
  margin: 0 auto;
  padding-bottom: 50px;
}


/* =========================================================
   PAGE HEADING
========================================================= */

.support-page-heading {
  margin-bottom: 22px;
}

.support-page-heading h1 {
  margin: 5px 0 7px;

  color: #0f172a;

  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  font-weight: 800;

  letter-spacing: -0.04em;
}

.support-page-heading p {
  max-width: 660px;
  margin: 0;

  color: #64748b;

  font-size: 14px;
  line-height: 1.7;
}


/* =========================================================
   TOPBAR POINTS MINI
========================================================= */

.support-points-mini {
  min-height: 46px;

  padding: 6px 13px;

  border: 1px solid #e2e8f0;
  border-radius: 14px;

  background: #ffffff;

  display: flex;
  align-items: center;
  gap: 10px;

  box-shadow:
    0 4px 15px rgba(15, 23, 42, 0.035);
}

.support-points-mini-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;

  border-radius: 10px;

  background: #fff8e8;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
}

.support-points-mini > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.support-points-mini span {
  color: #94a3b8;

  font-size: 10px;
  font-weight: 700;
}

.support-points-mini strong {
  color: #0f172a;

  font-size: 12px;
  font-weight: 800;
}


/* =========================================================
   SUPPORT OPTIONS
========================================================= */

.support-options-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 14px;

  margin-bottom: 18px;
}

.support-option-card {
  min-height: 155px;

  padding: 18px;

  border: 1px solid #e8edf5;
  border-radius: 20px;

  background: #ffffff;

  box-shadow:
    0 7px 22px rgba(15, 23, 42, 0.045);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.support-option-card:hover {
  transform: translateY(-2px);

  border-color: #cfe2ff;

  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.07);
}

.support-option-icon {
  width: 46px;
  height: 46px;

  margin-bottom: 14px;

  border-radius: 14px;

  background: #eef5ff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
}

.support-option-card:nth-child(2)
.support-option-icon {
  background: #fff8e8;
}

.support-option-card:nth-child(3)
.support-option-icon {
  background: #effcf6;
}

.support-option-card:nth-child(4)
.support-option-icon {
  background: #fff8e8;
}

.support-option-card:nth-child(5)
.support-option-icon {
  background: #f5f3ff;
}

.support-option-card:nth-child(6)
.support-option-icon {
  background: #f1f5f9;
}

.support-option-card strong {
  display: block;

  color: #0f172a;

  font-size: 13px;
  font-weight: 800;
}

.support-option-card p {
  margin: 7px 0 0;

  color: #64748b;

  font-size: 11px;
  line-height: 1.6;
}


/* =========================================================
   MAIN GRID
========================================================= */

.support-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    340px;
  gap: 20px;

  align-items: start;
}

.support-left-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.support-right-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}


/* =========================================================
   CARDS
========================================================= */

.support-card,
.support-side-card {
  border: 1px solid #e8edf5;

  background: #ffffff;

  box-shadow:
    0 10px 34px rgba(15, 23, 42, 0.05);
}

.support-card {
  padding: 22px;

  border-radius: 22px;
}

.support-side-card {
  padding: 20px;

  border-radius: 20px;
}


/* =========================================================
   CARD HEADER
========================================================= */

.support-card-header h2 {
  margin: 5px 0 0;

  color: #0f172a;

  font-size: 20px;
  font-weight: 800;

  letter-spacing: -0.02em;
}

.support-card-header p {
  max-width: 640px;

  margin: 6px 0 0;

  color: #64748b;

  font-size: 11px;
  line-height: 1.6;
}


/* =========================================================
   FAQ
========================================================= */

.support-faq-list {
  margin-top: 18px;

  display: flex;
  flex-direction: column;
  gap: 9px;
}

.support-faq-item {
  overflow: hidden;

  border: 1px solid #e8edf5;
  border-radius: 14px;

  background: #f8fafc;

  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.support-faq-item:hover {
  border-color: #d9e5f3;
}

.support-faq-item.active {
  border-color: #cfe2ff;

  background: #f7faff;
}

.support-faq-question {
  width: 100%;
  min-height: 56px;

  padding: 0 15px;

  border: 0;

  background: transparent;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  text-align: left;

  cursor: pointer;
}

.support-faq-question span {
  color: #0f172a;

  font-size: 12px;
  font-weight: 700;
}

.support-faq-question strong {
  flex-shrink: 0;

  color: var(--primary);

  font-size: 18px;
  font-weight: 500;

  transition:
    transform 0.2s ease;
}

.support-faq-item.active
.support-faq-question strong {
  transform: rotate(45deg);
}

.support-faq-answer {
  display: none;

  padding:
    0 15px 15px;

  color: #64748b;

  font-size: 11px;
  line-height: 1.7;
}

.support-faq-item.active
.support-faq-answer {
  display: block;
}


/* =========================================================
   FORM
========================================================= */

.support-form {
  margin-top: 18px;

  display: grid;
  gap: 15px;
}

.support-form-row {
  display: grid;
  grid-template-columns:
    1fr 1fr;
  gap: 12px;
}

.support-field label {
  display: block;

  margin-bottom: 7px;

  color: #475569;

  font-size: 12px;
  font-weight: 700;
}

.support-field label span {
  color: #94a3b8;

  font-size: 9px;
  font-weight: 500;
}

.support-field input,
.support-field select,
.support-field textarea {
  width: 100%;

  border: 1px solid #dfe6ef;
  border-radius: 14px;
  outline: none;

  background: #f8fafc;
  color: #0f172a;

  font-family: inherit;
  font-size: 12px;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.support-field input,
.support-field select {
  min-height: 50px;

  padding: 0 14px;
}

.support-field textarea {
  min-height: 145px;

  padding: 13px 14px;

  resize: vertical;
}

.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
  border-color: var(--primary);

  background: #ffffff;

  box-shadow:
    0 0 0 4px rgba(22, 119, 255, 0.08);
}

.support-field input:disabled {
  background: #f1f5f9;
  color: #64748b;

  cursor: not-allowed;
}

.support-field select {
  cursor: pointer;
}

.support-field input::placeholder,
.support-field textarea::placeholder {
  color: #94a3b8;
}


/* =========================================================
   CHARACTER COUNT
========================================================= */

.support-character-count {
  margin-top: 5px;

  text-align: right;

  color: #94a3b8;

  font-size: 9px;
}


/* =========================================================
   FORM MESSAGE
========================================================= */

.support-form-message {
  padding: 11px 13px;

  border-radius: 12px;

  font-size: 11px;
  line-height: 1.5;
}

.support-form-message.success {
  border: 1px solid #bbf7d0;

  background: #ecfdf3;
  color: #15803d;
}

.support-form-message.error {
  border: 1px solid #fecaca;

  background: #fef2f2;
  color: #b91c1c;
}


/* =========================================================
   SUBMIT
========================================================= */

.support-submit-button {
  width: fit-content;
  min-width: 160px;
  min-height: 44px;

  border-radius: 12px;

  font-size: 11px;
  font-weight: 800;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.support-submit-button:hover:not(:disabled) {
  transform: translateY(-1px);

  box-shadow:
    0 9px 22px rgba(37, 99, 235, 0.2);
}

.support-submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


/* =========================================================
   SIDE ICONS
========================================================= */

.support-side-icon {
  width: 46px;
  height: 46px;

  margin-bottom: 14px;

  border-radius: 14px;

  background: #eef5ff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
}

.support-side-card:nth-child(2)
.support-side-icon {
  background: #effcf6;
}

.support-side-card:nth-child(3)
.support-side-icon {
  background: #fff8e8;
}

.support-side-card:nth-child(4)
.support-side-icon {
  background: #f5f3ff;
}


/* =========================================================
   SIDE CONTENT
========================================================= */

.support-side-card > span {
  display: block;

  color: #64748b;

  font-size: 10px;
}

.support-side-card strong {
  display: block;

  margin-top: 5px;

  color: #0f172a;

  font-size: 14px;
  font-weight: 800;
}

.support-side-card p {
  margin: 8px 0 0;

  color: #64748b;

  font-size: 11px;
  line-height: 1.6;
}

.support-side-link {
  display: inline-block;

  margin-top: 13px;

  color: var(--primary);

  font-size: 11px;
  font-weight: 700;

  text-decoration: none;
}

.support-side-link:hover {
  text-decoration: underline;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

  .support-options-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-right-column {
    display: grid;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .support-page {
    padding-bottom: 30px;
  }

  .support-page-heading h1 {
    font-size: 27px;
  }

  .support-page-heading p {
    font-size: 12px;
  }

  .support-points-mini {
    display: none;
  }

  .support-options-grid {
    grid-template-columns: 1fr;
  }

  .support-card,
  .support-side-card {
    padding: 17px;

    border-radius: 18px;
  }

  .support-form-row {
    grid-template-columns: 1fr;
  }

  .support-right-column {
    grid-template-columns: 1fr;
  }

  .support-submit-button {
    width: 100%;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

  .support-page-heading {
    margin-bottom: 18px;
  }

  .support-card-header h2 {
    font-size: 18px;
  }

  .support-faq-question {
    min-height: 54px;

    padding: 0 13px;
  }

  .support-faq-answer {
    padding:
      0 13px 13px;
  }

}


/* =========================================================
   HIDDEN
========================================================= */

[hidden] {
  display: none !important;
}