.tsf-support {
  --tsf-blue: #049cff;
  --tsf-green: #27d5a3;
  --tsf-ink: #111b34;
  --tsf-line: #b8bbc3;
  box-sizing: border-box;
  width: 100%;
  max-width: 570px;
	margin: 0 auto;
	padding: 16px 48px 44px;
  border-radius: 16px;
  background: #fff;
  color: var(--tsf-ink);
  font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
  font-size: 14px;
}

.tsf-support *, .tsf-support *::before, .tsf-support *::after { box-sizing: border-box; }
.tsf-support .tsf-form { position: relative; display: grid; gap: 17px; margin: 0; }
.tsf-support .tsf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
.tsf-support .tsf-field--wide { grid-column: 1 / -1; }
.tsf-support .tsf-field { display: grid; gap: 10px; min-width: 0; }
.tsf-support .tsf-field label, .tsf-support .tsf-upload__title { margin: 0; color: var(--tsf-ink); font: inherit; font-size: 14px; font-weight: 400; line-height: 1.2; }
.tsf-support .tsf-field label span { color: #ff263f; }
.tsf-support .tsf-field input, .tsf-support .tsf-field select, .tsf-support .tsf-field textarea {
  width: 100%; min-height: 42px; margin: 0; padding: 9px 14px; border: 1px solid var(--tsf-line); border-radius: 10px;
  outline: 0; background: #fff; box-shadow: none; color: #151515; font: inherit; font-size: 14px; line-height: 1.4;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.tsf-support .tsf-field input::placeholder, .tsf-support .tsf-field textarea::placeholder { color: #929292; opacity: 1; }
.tsf-support .tsf-field input[readonly] { background: #f7f8fa; color: #505866; }
.tsf-support .tsf-ruc-notice { padding: 10px 12px; border-left: 3px solid #98a2b3; border-radius: 6px; background: #f7f8fa; color: #475467; font-size: 12px; line-height: 1.4; }
.tsf-support .tsf-ruc-notice:empty { display: none; }
.tsf-support .tsf-ruc-notice--success { border-color: #17b26a; background: #ecfdf3; color: #067647; }
.tsf-support .tsf-ruc-notice--warning { border-color: #f79009; background: #fffaeb; color: #93370d; }
.tsf-support .tsf-ruc-notice--error { border-color: #f04438; background: #fef3f2; color: #b42318; }
.tsf-support .tsf-field select { appearance: auto; padding-right: 8px; }
.tsf-support .tsf-field textarea { min-height: 100px; max-height: 260px; resize: vertical; }
.tsf-support .tsf-field input:focus, .tsf-support .tsf-field select:focus, .tsf-support .tsf-field textarea:focus {
  border-color: var(--tsf-blue); box-shadow: 0 0 0 3px rgba(4, 156, 255, 0.12);
}

.tsf-support .tsf-upload { display: grid; gap: 11px; }
.tsf-support .tsf-upload input[type="file"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.tsf-support .tsf-upload__dropzone { display: grid; min-height: 145px; overflow: hidden; border: 1px dashed #525252; border-radius: 12px; background: #fff; }
.tsf-support .tsf-upload__button {
  display: flex; min-height: 143px; align-items: center; justify-content: center; flex-direction: column; gap: 10px; padding: 18px;
  color: #111; font: inherit; font-size: 14px; text-align: center; cursor: pointer; transition: background-color 160ms ease;
}
.tsf-support .tsf-upload__button:hover, .tsf-support .tsf-upload__button:focus-within { background: #f7fbff; }
.tsf-support .tsf-upload__image { display: block; width: 42px; height: 42px; object-fit: contain; }
.tsf-support .tsf-help { margin: -5px 0 0; color: #747474; font: inherit; font-size: 11px; }
.tsf-support .tsf-files { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding: 0 14px 14px; }
.tsf-support .tsf-files:empty { display: none; }
.tsf-support .tsf-file { position: relative; width: 96px; }
.tsf-support .tsf-file__visual { display: grid; width: 96px; height: 74px; place-items: center; overflow: hidden; border-radius: 8px; background: #eaf5ff; color: #087fce; font-size: 15px; font-weight: 700; }
.tsf-support .tsf-file__visual img { width: 100%; height: 100%; object-fit: cover; }
.tsf-support .tsf-file__name { display: block; margin-top: 5px; overflow: hidden; color: #555; font-size: 11px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.tsf-support .tsf-file__remove {
  position: absolute; top: -8px; right: -8px; display: grid; width: 25px; height: 25px; min-height: 0; padding: 0; place-items: center;
  border: 0; border-radius: 50%; background: #ff5266; color: #fff; font-size: 19px; line-height: 1; cursor: pointer;
}

.tsf-support .tsf-terms { display: flex; align-items: flex-start; gap: 4px; margin: -2px 0 8px; color: #111; font: inherit; font-size: 14px; }
.tsf-support .tsf-terms input { width: 14px; height: 14px; margin: 1px 0 0; accent-color: var(--tsf-blue); }
.tsf-support .tsf-terms a { color: #007cff; text-decoration: underline; }
.tsf-support .tsf-submit, .tsf-support button.tsf-submit.elementor-button {
  width: 168px; min-height: 49px; justify-self: center; padding: 11px 18px; border: 0; border-radius: 10px;
  background: linear-gradient(105deg, #04afff 0%, var(--tsf-green) 100%); box-shadow: 0 5px 16px rgba(2, 183, 222, 0.2);
  color: #fff; font: inherit; font-size: 17px; font-weight: 700; line-height: 1; text-align: center; cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.tsf-support .tsf-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(2, 183, 222, 0.28); }
.tsf-support .tsf-submit:disabled { cursor: wait; opacity: 0.65; transform: none; }

.tsf-support .tsf-loader { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.92); font-weight: 700; }
.tsf-support .tsf-loader[hidden] { display: none; }
.tsf-support .tsf-spinner { width: 48px; height: 48px; border: 4px solid #e7eaf0; border-top-color: var(--tsf-blue); border-radius: 50%; animation: tsf-spin 0.8s linear infinite; }
.tsf-support .tsf-alert { margin-bottom: 20px; padding: 14px 16px; border-radius: 9px; }
.tsf-support .tsf-alert--error { border: 1px solid #fda29b; background: #fff1f0; color: #912018; }
.tsf-support .tsf-alert--warning { border: 1px solid #fec84b; background: #fffaeb; color: #7a2e0e; }
.tsf-support .tsf-alert--success { border: 1px solid #75e0a7; background: #ecfdf3; color: #086c3a; }
.tsf-support .tsf-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@keyframes tsf-spin { to { transform: rotate(360deg); } }
@media (max-width: 680px) {
	.tsf-support { padding: 28px 20px 44px; }
	.tsf-support .tsf-grid { grid-template-columns: 1fr; }
	.tsf-support .tsf-upload__dropzone, .tsf-support .tsf-upload__button { min-height: 145px; }
}
@media (prefers-reduced-motion: reduce) { .tsf-support .tsf-spinner { animation-duration: 1.8s; } }
