/* Shared https:// prefix website fields (create + edit vCard) */

.url-control {
  display: flex;
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid #e4e4e7;
  border-radius: 0.375rem;
  background: #ffffff;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.url-control:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.url-line {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  min-width: 0;
}

.url-prefix {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.35;
  color: #64748b;
  user-select: none;
  white-space: nowrap;
}

.url-input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 1rem;
  line-height: 1.35;
  color: #111827;
  transform: none !important;
}

.url-input:focus,
.url-input:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

body.vc-page .url-control {
  background: #ffffff !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 0.375rem !important;
}

body.vc-page .url-control:focus-within {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
}

.ev-field .url-control {
  margin-top: 0;
}
