
/* Octopush Pro – Abandoned Cart UI (Universal) */
.octo-modal-overlay{
  position:fixed; inset:0;
  background:rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  display:none;
  align-items:center; justify-content:center;
  z-index:999999;
}
.octo-modal{
  background:#fff;
  width:min(440px, 92vw);
  border-radius:16px;
  padding:24px 22px;
  box-shadow:0 22px 60px rgba(0,0,0,.18);
  position:relative;
  transform: translateY(8px) scale(.98);
  opacity:0;
  transition: all .18s ease;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;
}
.octo-modal-overlay.is-open .octo-modal{
  transform: translateY(0) scale(1);
  opacity:1;
}
.octo-close{
  position:absolute; top:12px; right:12px;
  width:34px; height:34px;
  border-radius:10px;
  border:1px solid #eee;
  background:#fff;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  color:#666;
}
.octo-title{ font-size:18px; font-weight:650; margin:0 0 6px 0; color:#111; }
.octo-sub{ font-size:14px; margin:0 0 14px 0; color:#555; line-height:1.4; }
.octo-field{
  width:100%;
  padding:12px 12px;
  border-radius:10px;
  border:1px solid #e4e4e7;
  outline:none;
  font-size:14px;
  transition: box-shadow .12s ease, border-color .12s ease;
}
.octo-field:focus{
  border-color:#c7c7d1;
  box-shadow:0 0 0 4px rgba(0,0,0,.05);
}
.octo-row{ display:flex; gap:10px; flex-wrap:wrap; }
.octo-row .octo-field{ flex:1; min-width:160px; }

/* Compound phone input: country dropdown + number, one cohesive field */
.octo-phone-row{
  display: flex;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  min-height: 50px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid #e4e4e7;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.octo-phone-row:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.octo-phone-row:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
  background: #fff;
}
.octo-phone-row .octo-phone-country{
  flex: 0 0 auto;
  width: 78px;
  max-width: 78px;
  box-sizing: border-box;
  background: #f9fafb;
  border-radius: 12px 0 0 12px;
  overflow: visible;
}
.octo-phone-row .octo-phone-country .octo-country-searchable {
  min-width: 0;
  height: 100%;
  overflow: visible;
}
.octo-phone-row .octo-phone-number{
  flex: 1 1 auto;
  min-width: 0;
  box-sizing: border-box;
}
.octo-phone-row .octo-country-select{
  width:100%;
  height:100%;
  padding:8px 6px;
  border-radius: 12px 0 0 12px;
  border:none;
  background:transparent;
  font-size:14px;
  text-align:center;
}

/* Searchable country combobox (popup + inline) */
.octo-phone-row .octo-phone-country {
  position: relative;
  flex-shrink: 0;
}
.octo-country-searchable {
  position: relative;
  width: 100%;
}
.octo-country-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  height: 100%;
  min-height: 48px;
  padding: 0 10px 0 6px;
  border: none;
  border-radius: 12px 0 0 12px;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  color: #374151;
  transition: background .15s ease, color .15s ease;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  overflow: hidden;
}
.octo-country-trigger:hover {
  background: rgba(0,0,0,.04);
  color: #111827;
}
.octo-country-trigger:focus {
  outline: none;
  background: rgba(0,0,0,.03);
}
.octo-country-trigger:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: -2px;
}
.octo-country-trigger-text {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 2.5em;
  line-height: 1.3;
}
.octo-country-trigger-arrow {
  flex-shrink: 0;
  margin-left: 2px;
  font-size: 22px;
  font-weight: 600;
  color: #6b7280;
  opacity: 1;
  line-height: 1;
  transition: color .15s ease;
}
.octo-country-trigger:hover .octo-country-trigger-arrow {
  color: #374151;
}
.octo-country-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  margin-top: 6px;
  min-width: 240px;
  max-width: 300px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,.12), 0 2px 10px rgba(0,0,0,.06);
  overflow: hidden;
  animation: octo-country-drop 0.15s ease;
}
@keyframes octo-country-drop {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.octo-country-search {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  box-sizing: border-box;
  background: #fafafa;
}
.octo-country-search::placeholder {
  color: #9ca3af;
}
.octo-country-search:focus {
  outline: none;
  border-bottom-color: #3b82f6;
  background: #fff;
}
.octo-country-list {
  max-height: 260px;
  overflow-y: auto;
  padding: 4px 0;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}
.octo-country-list::-webkit-scrollbar {
  width: 6px;
}
.octo-country-list::-webkit-scrollbar-track {
  background: transparent;
}
.octo-country-list::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}
.octo-country-option {
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background .1s ease;
}
.octo-country-option:hover {
  background: #f3f4f6;
}
.octo-country-option.is-selected {
  background: #eff6ff;
  font-weight: 600;
  color: #1d4ed8;
}
.octo-phone-row .octo-field#octo_popup_phone_local,
.octo-phone-row .octo-field#octo_inline_phone_local{
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  border-radius: 0 12px 12px 0;
  border: none;
  border-left: 1px solid #e5e7eb;
  box-shadow: none;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  background: #fff;
  color: #111827;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s ease, background .2s ease;
}
.octo-phone-row .octo-field#octo_popup_phone_local::placeholder,
.octo-phone-row .octo-field#octo_inline_phone_local::placeholder {
  color: #9ca3af;
  font-weight: 400;
  letter-spacing: normal;
}
.octo-phone-row .octo-field#octo_popup_phone_local:focus,
.octo-phone-row .octo-field#octo_inline_phone_local:focus {
  box-shadow: none;
  border-left-color: #e5e7eb;
  outline: none;
  background: #fff;
}
.octo-phone-row .octo-field#octo_popup_phone_local:focus-visible,
.octo-phone-row .octo-field#octo_inline_phone_local:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: -2px;
}
.octo-status{ display:block; margin-top:8px; font-size:12px; color:#2e7d32; min-height:16px; }

/* Popup explicit submit button */
.octo-submit{
  width:100%;
  margin-top:14px;
  padding:12px;
  border-radius:10px;
  background:#111;
  color:#fff;
  font-size:14px;
  font-weight:600;
  border:none;
  cursor:pointer;
}
.octo-submit:hover{ opacity:.92; }
.octo-submit:disabled{ opacity:.6; cursor:not-allowed; }
.octo-inline{
  margin-bottom:16px;
  padding:16px 18px;
  border:1px solid #e4e4e7;
  border-radius:14px;
  background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,.05);
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;
}
.octo-inline .octo-title{ font-size:15px; margin-bottom:4px; font-weight:600; }
.octo-inline .octo-sub{ font-size:13px; margin-bottom:10px; color:#4b5563; }
/* Inline layout: stacked rows with compact, aligned inputs */
.octo-inline .octo-row{
  display:flex;
  gap:8px;
  flex-wrap:nowrap;
  margin-bottom:8px;
}
.octo-inline .octo-row:last-of-type{
  margin-bottom:0;
}
.octo-inline .octo-field{
  font-size:13px;
  padding:10px 11px;
}

/* Inline phone row: same enhancements, full width */
.octo-inline .octo-phone-row{
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  border-radius: 12px;
  border: 1px solid #e4e4e7;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  min-height: 48px;
  align-items: stretch;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.octo-inline .octo-phone-row:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.octo-inline .octo-phone-row:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.octo-inline .octo-phone-row .octo-phone-country{
  width: 76px;
  max-width: 76px;
  flex: 0 0 76px;
  border-right: 1px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 12px 0 0 12px;
  overflow: visible;
}
.octo-inline .octo-country-trigger{
  min-height: 46px;
  padding: 0 10px 0 6px;
  border-radius: 12px 0 0 12px;
  font-size: 13px;
  font-weight: 500;
  box-sizing: border-box;
}
.octo-inline .octo-country-trigger-text {
  min-width: 2.5em;
}
.octo-inline .octo-country-trigger-arrow{
  margin-left: 2px;
  font-size: 22px;
  font-weight: 600;
  color: #6b7280;
}
.octo-inline .octo-phone-row .octo-field#octo_inline_phone_local{
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 0 12px 12px 0;
  min-width: 0;
  box-sizing: border-box;
}
.octo-inline .octo-phone-row .octo-phone-number{
  min-width: 0;
}

