/**
 * TT Smarty Streets — default layout (override in Elementor).
 * Intended as a neutral hero-style field + primary button; tune in the widget Style tab.
 */

.tt-ss-address {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  vertical-align: top;
}

.tt-ss-address__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  --tt-ss-field-flex: 1 1 auto;
}

.tt-ss-address__inner--row {
  flex-direction: row;
}

.tt-ss-address__inner--col {
  flex-direction: column;
}

.tt-ss-address__btn-wrap {
  display: flex;
}

.tt-ss-address__field {
  position: relative;
  flex: var(--tt-ss-field-flex, 1 1 auto);
  min-width: 0;
}

.tt-ss-address__input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  min-height: 52px;
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.35;
  color: #111827;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.tt-ss-address__input::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.tt-ss-address__input:hover {
  border-color: #9ca3af;
}

.tt-ss-address__input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.tt-ss-address__submit {
  display: inline-block;
  background-color: #033a6d;
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border-style: solid;
  border-width: 0 0 0 6px;
  border-color: #00c8ff;
  border-radius: 2px;
  padding: 18px 24px;
  box-shadow: inset 0 0 0 0 #00c8ff;
  transition: 0.3s;
  &:hover {
    box-shadow: inset 300px 0 0 0 #00c8ff !important;
    color: #022c52 !important;
    transition: 0.7s ease-out;
    cursor: pointer;
  }
}

.tt-ss-address__dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 50;
  overflow: auto;
  max-height: 280px;
  padding: 4px 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.tt-ss-address__suggestion {
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.4;
  color: #374151;
  cursor: pointer;
}

.tt-ss-address__suggestion:hover,
.tt-ss-address__suggestion.is-active {
  background: #f3f4f6;
}
