/* ── Suggest button ── */
.suggest-btn {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 9px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s, transform .15s;
}
.suggest-btn:hover {
  border-color: rgba(255,255,255,.7);
  transform: translateY(-1px);
}
.suggest-btn:active { transform: translateY(0); }
.suggest-btn svg { flex-shrink: 0; }
.suggest-btn--mobile { margin-left: 0; padding: 0 12px; }

/* ── Suggest / Help modals ── */
.suggest-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.suggest-overlay.open { display: flex; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.suggest-modal {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 28px 28px 24px;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.suggest-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.suggest-modal-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.suggest-modal-sub {
  font-size: 12px;
  color: #555;
  margin-top: 3px;
}
.suggest-close {
  margin-left: auto;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: none;
  border-radius: 8px;
  background: #222;
  color: #888;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .12s, color .12s;
}
.suggest-close:hover { background: #2a2a2a; color: #fff; }

.suggest-fields { display: flex; flex-direction: column; gap: 12px; }
.suggest-field { display: flex; flex-direction: column; gap: 6px; }
.suggest-label { font-size: 12px; color: #666; }
.suggest-input, .suggest-textarea {
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 9px;
  padding: 10px 12px;
  color: #e5e5e5;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
  width: 100%;
}
.suggest-input:focus, .suggest-textarea:focus { border-color: #444; }
.suggest-input.input-error { border-color: #7a3030; }
.suggest-input.input-error:focus { border-color: #a04040; }
.suggest-file-label.file-error { border-color: #7a3030; color: #a04040; }
.suggest-input::placeholder, .suggest-textarea::placeholder { color: #3a3a3a; }
.suggest-textarea { resize: vertical; min-height: 72px; }

.suggest-file-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #111;
  border: 1px dashed #2a2a2a;
  border-radius: 9px;
  color: #555;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.suggest-file-label:hover { border-color: #444; color: #aaa; }
.suggest-file-label.has-file { border-color: #3a3a3a; color: #aaa; }
.suggest-file-input { display: none; }

.suggest-submit {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity .15s;
}
.suggest-submit:hover { opacity: .88; }
.suggest-submit:disabled { opacity: .45; cursor: default; }

.suggest-result {
  text-align: center;
  font-size: 13px;
  color: #666;
  display: none;
}
.suggest-result.error { color: #b55; display: block; }

.suggest-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 0 4px;
  text-align: center;
}
.suggest-success.show { display: flex; }
.suggest-success-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

/* Success icon animations */
.t-form-success-popup__content-icon {
  height: 56px;
  width: auto;
  display: block;
}
.t-form-success-popup__content-icon-background {
  animation: iconBackgroundOpacity .106s linear forwards, iconBackgroundTransform 1.103s cubic-bezier(.445,.05,.55,.95) forwards;
  opacity: 0;
  transform: rotate(60deg) scale(.9);
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform, opacity;
}
@keyframes iconBackgroundOpacity { to { opacity: 1; } }
@keyframes iconBackgroundTransform {
  0%    { transform: rotate(60deg) scale(.9); }
  46.1% { transform: rotate(-8deg) scale(1.03); }
  63.46%{ transform: rotate(-10deg) scale(1); }
  100%  { transform: rotate(0deg) scale(1); }
}
.t-form-success-popup__content-icon-check {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: checkIconOpacity 51ms linear .437s forwards, checkIconDraw .666s cubic-bezier(.39,.575,.565,1) .437s forwards, checkIconScale .435s cubic-bezier(.445,.05,.55,.95) .437s forwards;
  opacity: 0;
  transform: scale(.85);
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform, opacity;
}
@keyframes checkIconOpacity { to { opacity: 1; } }
@keyframes checkIconDraw { 0% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
@keyframes checkIconScale { to { transform: scale(1); } }
