/* Gömülü Next içerik — tema-3 kabuğundaki yinelenen chrome gizlenir */
.t3-tool-detail-embed header.sticky,
.t3-tool-detail-embed > header,
.t3-tool-detail-embed footer {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

.t3-tool-detail-embed main > div > div:nth-child(1),
.t3-tool-detail-embed main > div > div:nth-child(2) {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

.t3-tool-detail-embed main {
  min-height: auto !important;
  padding-top: 0 !important;
}

.t3-tool-detail-embed .bg-gradient-to-r.from-pink-500 {
  display: none !important;
}

/* Form alanı — düzenli kart düzeni */
.t3-tool-detail-embed .bg-\[#e8f4fc\] {
  background: #f0f4f8 !important;
  padding-top: 1.75rem !important;
  padding-bottom: 1.75rem !important;
}

.t3-tool-detail-embed .t3-tool-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.t3-tool-detail-embed .t3-tool-form-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: end;
}

@media (min-width: 768px) {
  .t3-tool-detail-embed .t3-tool-form-controls {
    grid-template-columns: minmax(0, 1fr) 148px 148px;
    gap: 1rem 0.85rem;
  }
}

.t3-tool-detail-embed .t3-tool-field label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: #334155 !important;
  letter-spacing: 0.01em;
}

.t3-tool-detail-embed .t3-tool-field .relative {
  position: relative;
}

.t3-tool-detail-embed .t3-tool-field input[type="text"],
.t3-tool-detail-embed .t3-tool-field input[type="number"] {
  width: 100%;
  height: 50px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
  font-size: 0.95rem !important;
  box-shadow: none !important;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.t3-tool-detail-embed .t3-tool-field input[type="text"] {
  padding-left: 2.75rem !important;
  padding-right: 0.85rem !important;
}

.t3-tool-detail-embed .t3-tool-field input[type="number"] {
  padding-left: 2.25rem !important;
  padding-right: 0.5rem !important;
  text-align: center;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
}

.t3-tool-detail-embed .t3-tool-field input:focus {
  border-color: var(--t3-primary, #059669) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12) !important;
  outline: none !important;
}

.t3-tool-detail-embed .t3-tool-field .relative svg {
  color: #94a3b8 !important;
  width: 18px !important;
  height: 18px !important;
}

.t3-tool-detail-embed .t3-tool-field-amount > p {
  margin: 0.35rem 0 0 !important;
  text-align: center;
  font-size: 0.68rem !important;
  color: #94a3b8 !important;
}

.t3-tool-detail-embed .t3-tool-field-submit {
  padding-top: 0 !important;
}

.t3-tool-detail-embed .t3-tool-field-submit button[type="submit"] {
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 0 1rem !important;
  border: none !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #fff !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.28) !important;
  transition: transform 0.15s, box-shadow 0.15s;
}

.t3-tool-detail-embed .t3-tool-field-submit button[type="submit"]:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(5, 150, 105, 0.32) !important;
}

.t3-tool-detail-embed .t3-tool-field-submit button[type="submit"] svg {
  width: 18px !important;
  height: 18px !important;
}

/* Profil önizleme — tam genişlik, kompakt kart */
.t3-tool-detail-embed .t3-tool-form-preview {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.t3-tool-detail-embed .t3-tool-form-preview[hidden] {
  display: none !important;
}

.t3-tool-detail-embed .t3-tool-profile-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid #d1fae5;
  background: linear-gradient(135deg, #f0fdf4 0%, #fff 55%);
}

.t3-tool-detail-embed .t3-tool-profile-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1 1 200px;
}

.t3-tool-detail-embed .t3-tool-profile-card .t3-tools-avatar,
.t3-tool-detail-embed .t3-tool-profile-card .t3-tools-avatar-ph {
  width: 52px;
  height: 52px;
  font-size: 1rem;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(5, 150, 105, 0.18);
}

.t3-tool-detail-embed .t3-tool-profile-meta {
  min-width: 0;
}

.t3-tool-detail-embed .t3-tool-profile-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.t3-tool-detail-embed .t3-tool-profile-handle {
  margin: 0.1rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

.t3-tool-detail-embed .t3-tool-profile-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.t3-tool-detail-embed .t3-tool-profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.t3-tool-detail-embed .t3-tool-profile-badge--verified {
  background: #e0f2fe;
  color: #0284c7;
}

.t3-tool-detail-embed .t3-tool-profile-badge--private {
  background: #f1f5f9;
  color: #64748b;
}

.t3-tool-detail-embed .t3-tool-profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 1 1 280px;
  justify-content: flex-end;
}

.t3-tool-detail-embed .t3-tool-stat {
  flex: 1 1 88px;
  min-width: 88px;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.t3-tool-detail-embed .t3-tool-stat strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.t3-tool-detail-embed .t3-tool-stat span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.t3-tool-detail-embed .t3-tools-msg {
  margin: 0;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.82rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.t3-tool-detail-embed .t3-tools-msg-warn {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

.t3-tool-detail-embed .t3-tools-msg-muted,
.t3-tool-detail-embed .t3-tools-msg-loading {
  color: #64748b;
}

.t3-tool-submit-ok {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid #bbf7d0;
  background: #ecfdf5;
  color: #166534;
  font-size: 0.88rem;
}

@media (max-width: 767px) {
  .t3-tool-detail-embed .t3-tool-form {
    padding: 1rem;
  }

  .t3-tool-detail-embed .t3-tool-profile-stats {
    justify-content: stretch;
  }

  .t3-tool-detail-embed .t3-tool-stat {
    flex: 1 1 calc(33.333% - 0.5rem);
    min-width: 0;
  }
}
