/* ============================================================
   feedback.css — ToolsMingo Feedback Page Styles
   ============================================================ */

/* ── RESET & BASE ── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0d0f0e;
  color: #f1efe9;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(200, 64, 26, .85);
  color: #fff;
}

a {
  text-decoration: none;
}


/* ── PAGE LAYOUT ── */
.page {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 32px);
}

.page-label {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #c8401a;
  margin-bottom: 12px;
}

.page-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(28px, 4.5vw, 42px);
  letter-spacing: -.02em;
  color: #f6f4ee;
  margin-bottom: 12px;
}

.page-sub {
  font-size: 15px;
  color: #a4a29b;
  margin-bottom: 44px;
  max-width: 46ch;
}


/* ── FORM ── */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.label {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7e7c76;
  font-family: 'DM Mono', monospace;
}

.required {
  color: #c8401a;
}

input,
select,
textarea {
  background: #141614;
  border: 1px solid rgba(255, 255, 255, .1);
  color: #f1efe9;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 11px 14px;
  border-radius: 8px;
  outline: none;
  width: 100%;
  transition: border-color .18s;
}

input::placeholder,
textarea::placeholder {
  color: #4a4845;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #c8401a;
  background: #181a17;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237e7c76' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

select option {
  background: #141614;
}

textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}


/* ── TYPE TABS ── */
.type-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.type-tab {
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: transparent;
  color: #a4a29b;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: .08em;
  border-radius: 7px;
  cursor: pointer;
  transition: all .15s;
  text-transform: uppercase;
}

.type-tab:hover {
  border-color: rgba(255, 255, 255, .25);
  color: #f1efe9;
}

.type-tab.active {
  background: rgba(200, 64, 26, .12);
  border-color: rgba(200, 64, 26, .5);
  color: #c8401a;
}


/* ── SUBMIT BUTTON ── */
.submit-btn {
  background: #c8401a;
  color: #fff;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .18s, transform .18s;
  align-self: flex-start;
  box-shadow: 0 8px 24px -10px rgba(200, 64, 26, .5);
}

.submit-btn:hover {
  background: #e04d24;
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}


/* ── SUCCESS BOX ── */
.success-box {
  display: none;
  background: #141614;
  border: 1px solid rgba(134, 239, 172, .2);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.success-box.show {
  display: block;
}

.success-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.success-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 22px;
  color: #f6f4ee;
  margin-bottom: 8px;
}

.success-desc {
  font-size: 14px;
  color: #a4a29b;
}


/* ── HINT ── */
.hint {
  font-size: 12px;
  color: #4a4845;
  font-family: 'DM Mono', monospace;
}


/* ── FOOTER ── */
footer {
  margin-top: 80px;
}


/* ── RESPONSIVE ── */
@media (max-width: 500px) {
  .type-tabs {
    gap: 6px;
  }

  .type-tab {
    padding: 8px 12px;
    font-size: 10px;
  }

  .submit-btn {
    width: 100%;
    text-align: center;
  }
}