/* DanzFlo Support Portal */

.support-page {
  min-height: 100vh;
  background: #e9ecef;
  color: #2b3340;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
}

.support-header {
  background: #12151c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.support-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.support-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #fff;
}

.support-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.support-brand span {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
}

.support-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.support-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 18px;
  border-radius: 8px;
  border: 0;
  background: #00bfe8;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.support-header-btn:hover {
  background: #00a8cc;
  color: #fff;
  transform: translateY(-1px);
}

.support-main {
  padding: 36px 16px 48px;
}

.support-card {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(18, 21, 28, 0.08);
  padding: clamp(24px, 4vw, 36px);
}

.support-card-title {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: #3a4352;
  letter-spacing: -0.02em;
}

.support-form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #2f3744;
}

.support-input-group {
  display: flex;
  align-items: stretch;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.support-input-group:focus-within {
  border-color: #00bfe8;
  box-shadow: 0 0 0 3px rgba(0, 191, 232, 0.14);
}

.support-input-icon {
  width: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #00bfe8;
  color: #fff;
  font-size: 1rem;
}

.support-input,
.support-select,
.support-textarea {
  width: 100%;
  border: 0;
  background: transparent;
  color: #2b3340;
  font-size: 0.95rem;
  padding: 12px 14px;
  outline: none;
}

.support-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1.4.6 6 5.2 10.6.6 12 2l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.support-select-wrap {
  border: 1px solid #d7dee8;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.support-select-wrap:focus-within {
  border-color: #00bfe8;
  box-shadow: 0 0 0 3px rgba(0, 191, 232, 0.14);
}

.support-editor {
  border: 1px solid #d7dee8;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.support-editor-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  padding: 8px 10px;
  border-bottom: 1px solid #e5eaf0;
  background: #f8fafc;
}

.support-editor-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #4b5563;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.support-editor-btn:hover,
.support-editor-btn.is-active {
  background: #e8f7fb;
  color: #0099b8;
}

.support-editor-body {
  min-height: 180px;
  padding: 14px 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #2b3340;
  outline: none;
}

.support-editor-body:empty::before {
  content: attr(data-placeholder);
  color: #9aa3af;
  pointer-events: none;
}

.support-file-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.support-file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: #00bfe8;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease;
}

.support-file-btn:hover {
  background: #00a8cc;
}

.support-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.support-file-names {
  font-size: 0.86rem;
  color: #6b7280;
}

.support-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.support-submit-btn {
  min-width: 180px;
  min-height: 44px;
  padding: 12px 28px;
  border: 0;
  border-radius: 8px;
  background: #00bfe8;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.support-submit-btn:hover {
  background: #00a8cc;
  transform: translateY(-1px);
}

.support-submit-btn--block {
  width: 100%;
  max-width: 100%;
}

.support-search-card {
  max-width: 560px;
}

.support-alert {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.support-alert.is-visible {
  display: block;
}

.support-alert--success {
  background: #e8f8ee;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.support-alert--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

@media (max-width: 767.98px) {
  .support-header-inner {
    padding: 12px 14px;
  }

  .support-header-btn {
    min-height: 36px;
    padding: 7px 14px;
    font-size: 0.86rem;
  }

  .support-main {
    padding-top: 24px;
  }
}
