/* 3T PVT Ltd static site overrides: form status banner, math captcha, instant search */

.ttt-form-banner {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}
.ttt-form-banner.is-ok {
  background: #ecfdf3;
  border: 1px solid #10b981;
  color: #065f46;
}
.ttt-form-banner.is-err {
  background: #fef2f2;
  border: 1px solid #ef4444;
  color: #991b1b;
}

.ttt-captcha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 12px 0 16px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}
.ttt-captcha-label {
  font-size: 15px;
  color: #1e293b;
  margin: 0;
}
.ttt-captcha-input {
  width: 72px !important;
  padding: 6px 10px !important;
  border: 1px solid #94a3b8 !important;
  border-radius: 4px !important;
  font-size: 15px !important;
  background: #fff !important;
  color: #0f172a !important;
}
form.elementor-form button.ttt-captcha-refresh,
.ttt-captcha-refresh {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  background: #fff !important;
  background-color: #fff !important;
  color: #334155 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
form.elementor-form button.ttt-captcha-refresh:hover,
.ttt-captcha-refresh:hover {
  background: #f1f5f9 !important;
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}
.ttt-captcha-refresh svg {
  width: 15px !important;
  height: 15px !important;
  stroke: currentColor !important;
}
.ttt-captcha-msg {
  width: 100%;
  margin: 4px 0 0;
  font-size: 13px;
  color: #b91c1c;
}

/* Instant search results dropdown */
.elementor-search-form {
  position: relative;
}
.ttt-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  margin-top: 6px;
  max-height: 360px;
  overflow-y: auto;
  min-width: 260px;
}
.ttt-search-results[hidden] {
  display: none !important;
}
.ttt-search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  line-height: 1.35;
}
.ttt-search-item:last-child {
  border-bottom: 0;
}
.ttt-search-item:hover {
  background: #f8fafc;
}
.ttt-search-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 4px;
  background: #f8fafc;
  flex-shrink: 0;
}
.ttt-search-badge {
  margin-left: auto;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}
.ttt-search-empty {
  padding: 14px;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}

/* Responsive header & footer polish on tablet/mobile */
@media (max-width: 1024px) {
  [data-elementor-type="header"] .elementor-section {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
  [data-elementor-type="header"] .elementor-container {
    align-items: center !important;
  }
}

