/* WaggleTails web - the organisation profile form (ShelterProfileSetupPage.xaml) and the feature slides
   (ShelterFeatureOnboardingPage.xaml + OnboardingStyles.xaml PackIntro*). Only what wt-components.css / wt-shelter.css /
   site.css do not already have; colours come from wt-tokens.css. */

/* Setup header - XAML:23-57 (brand disc, centred title and subtitle) */
.wt-profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.wt-profile-hero .wt-icon-disc {
  margin-bottom: 8px;
}

/* Field labels - ShelterFormFieldLabelStyle with the teal icon beside the text; one look for label, legend and p */
.wt-profile-form .wt-field__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  color: var(--wt-text-body);
  overflow-wrap: anywhere;
}
.wt-profile-field__icon {
  flex-shrink: 0;
  color: var(--wt-primary);
  font-size: 16px;
}
.wt-profile-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.wt-profile-sublabel {
  font-size: 14px;
  color: var(--wt-text-secondary);
}
.wt-profile-form .wt-btn--gold:hover,
.wt-profile-slide__footer .wt-btn--gold:hover {
  background: var(--wt-gradient-gold);
  filter: brightness(.96);
}

/* Notes - XAML:70-91 (teal rule, required fields) and the gold helper boxes of the logo and document sections */
.wt-profile-note {
  position: relative;
  padding: 12px 12px 12px 16px;
  border-radius: 0 16px 16px 0;
  background: var(--wt-soft-teal-bg);
  font-size: 14px;
  line-height: 1.45;
  color: var(--wt-text-body);
  overflow-wrap: anywhere;
}
.wt-profile-note::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--wt-primary);
}
.wt-profile-note__accent {
  color: var(--wt-primary);
}
.wt-profile-note__accent strong {
  font-weight: 700;
}
.wt-profile-note--gold {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--wt-soft-gold-bg);
  font-size: 12px;
  color: var(--wt-text-secondary);
}
.wt-profile-note--gold::before {
  background: var(--wt-soft-gold);
}
.wt-profile-note__title {
  font-weight: 500;
  font-size: 12px;
  color: var(--wt-text-body);
}
.wt-profile-note__title--lg {
  font-size: 14px;
}
.wt-profile-note__lines {
  line-height: 1.3;
}

/* Phone - XAML:146-186: the dial code in a capped column (the closed select shows the flag and the code, the country name
   is clipped - the app's closed picker shows only those two), the number taking the rest */
.wt-profile-phone {
  display: grid;
  grid-template-columns: minmax(0, 140px) minmax(0, 1fr);
  gap: 8px;
}
.wt-profile-phone__code {
  min-width: 0;
  font-weight: 700;
  font-size: 13px;
}
@media (max-width: 419px) {
  .wt-profile-phone {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Address - MapSelectionInputBorderStyle: an input-like card with the pin line, "Select From Map", and the picker below */
.wt-profile-address {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 14px;
  border: 2px solid var(--wt-border);
  border-radius: var(--wt-radius-input);
  background: var(--wt-input-bg);
}
.wt-profile-address__line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 16px;
  color: var(--wt-text-muted);
}
.wt-profile-address .wt-btn--secondary {
  min-height: 48px;
  padding: 10px 16px;
}
.wt-profile-address__map {
  min-width: 0;
}

/* Logo - XAML:269-331: the "Uploaded Logo" card (64 px round image, red X) and the dashed upload area */
.wt-profile-logo-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: var(--wt-soft-teal-bg);
}
.wt-profile-logo-card__image {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: var(--wt-card);
}
.wt-profile-logo-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wt-profile-logo-card__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.wt-profile-logo-card__title {
  font-size: 14px;
  color: var(--wt-text);
}
.wt-profile-logo-card__name {
  font-size: 11px;
  color: var(--wt-text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wt-profile-remove {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--wt-card);
  color: var(--wt-danger-accent);
  font-size: 16px;
  cursor: pointer;
}
.wt-profile-upload {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 2px dashed var(--wt-outline);
  border-radius: 16px;
  background: var(--wt-surface-muted);
  color: var(--wt-text-body);
  font-family: var(--wt-font);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.wt-profile-file {
  display: none;
}

/* Documents - XAML:337-402: one teal row per document and the outlined teal upload button */
.wt-profile-docs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wt-profile-docs:empty {
  display: none;
}
.wt-profile-doc {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: var(--wt-soft-teal-bg);
}
.wt-profile-doc > i {
  color: var(--wt-primary);
  font-size: 18px;
}
.wt-profile-doc__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.wt-profile-doc__name {
  font-weight: 700;
  font-size: 13px;
  color: var(--wt-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wt-profile-doc__size {
  font-size: 11px;
  color: var(--wt-text-secondary);
}
.wt-profile-doc-pick {
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 16px;
  background: var(--wt-soft-teal-bg);
}

/* Operating hours - XAML:408-493: 44 px day chips, the tip card (SelectionTipBorderStyle) and a card per selected day */
.wt-profile-form .wt-chip--pick {
  min-height: 44px;
  padding: 10px 12px;
}
.wt-profile-tip {
  padding: 12px;
  border: 1px solid var(--wt-border);
  border-radius: 16px;
  background: var(--wt-surface-subtle);
  font-size: 12px;
  line-height: 1.25;
  color: var(--wt-text-secondary);
  overflow-wrap: anywhere;
}
.wt-profile-day {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--wt-card-border);
  border-radius: 16px;
  background: var(--wt-card);
  box-shadow: var(--wt-shadow-sm);
}
.wt-profile-day__title {
  font-weight: 700;
  font-size: 13px;
  color: var(--wt-text);
}
/* Inside the tip and the card the two time controls do not fit side by side on a 360 px phone (a time input cannot shrink below its value) */
@media (max-width: 419px) {
  .wt-profile-day .wt-profile-two {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Animal tap cards - XAML:499-550 (SelectableChoiceBorderStyle, 92 px minimum, emoji over the title) */
.wt-profile-animal {
  position: relative;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  cursor: pointer;
}
.wt-profile-animal input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.wt-profile-animal:focus-within {
  outline: 2px solid var(--wt-primary);
  outline-offset: 2px;
}
.wt-profile-animal__icon {
  font-size: 26px;
  line-height: 1;
}
.wt-profile-animal.is-selected .wt-choice__title {
  color: var(--wt-selection-text);
}

/* Feature slides - PackIntro* styles: light tagline, 128 px tinted disc, 28 px semibold title, light 16 px body,
   8 px dots with the active one 32 px wide, the gold primary button, the quiet Skip */
.wt-profile-tagline {
  margin-top: -6px;
  font-weight: 300;
  font-size: 16px;
  text-align: center;
  color: var(--wt-text-secondary);
}
.wt-profile-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  text-align: center;
}
.wt-profile-slide__disc {
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 64px;
  font-size: 56px;
}
/* #200D9488 / #20EAA221 in the app: the brand colours at about an eighth of their strength; the soft tints stand in where color-mix is missing */
.wt-profile-slide__disc--teal {
  background: var(--wt-soft-teal-bg);
  color: var(--wt-primary);
}
.wt-profile-slide__disc--gold {
  background: var(--wt-soft-gold-bg);
  color: var(--wt-secondary);
}
@supports (background: color-mix(in srgb, red 10%, transparent)) {
  .wt-profile-slide__disc--teal {
    background: color-mix(in srgb, var(--wt-primary) 13%, transparent);
  }
  .wt-profile-slide__disc--gold {
    background: color-mix(in srgb, var(--wt-secondary) 13%, transparent);
  }
}
.wt-profile-slide__title {
  font-weight: 600;
  font-size: 28px;
  line-height: 1.25;
  color: var(--wt-text);
  overflow-wrap: anywhere;
}
.wt-profile-slide__body {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: var(--wt-text-secondary);
}
.wt-profile-slide__footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wt-profile-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.wt-profile-dots__dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--wt-indicator);
  transition: width 160ms ease-out;
}
.wt-profile-dots__dot.is-active {
  width: 32px;
  background: var(--wt-primary);
}
.wt-profile-slide__skip {
  min-height: 44px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--wt-text-muted);
  font-weight: 300;
  font-size: 14px;
}
