/* ============================================================
   AccountIf — components.css
   Shared component styles referenced across all pages
   ============================================================ */

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: var(--grad-hero);
  padding: 5rem 0 4rem;
  text-align: center;
}
.page-hero-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .75rem;
}
.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.page-hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- BREADCRUMB ---- */
.breadcrumb {
  padding: .875rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: .5rem;
  list-style: none;
  font-size: .8125rem;
}
.breadcrumb-item a { color: var(--slate); }
.breadcrumb-item a:hover { color: var(--navy); }
.breadcrumb-item.active { color: var(--navy); font-weight: 600; }
.breadcrumb-sep { color: var(--border); font-size: .7rem; }

/* ---- ALERT BANNERS ---- */
.alert {
  padding: .875rem 1.25rem;
  border-radius: var(--radius);
  font-size: .875rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1rem;
}
.alert-info { background: var(--blue-light); color: #0C447C; border: 1px solid rgba(79,168,230,.3); }
.alert-success { background: var(--green-light); color: #065F46; border: 1px solid rgba(16,185,129,.3); }
.alert-warning { background: #FEF3C7; color: #92400E; border: 1px solid rgba(245,158,11,.3); }

/* ---- TAGS / PILLS ---- */
.tag {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .275rem .75rem;
  border-radius: 999px;
}
.tag-navy { background: var(--navy-light); color: var(--navy); }
.tag-blue { background: var(--blue-light); color: #0C447C; }
.tag-green { background: var(--green-light); color: #065F46; }
.tag-amber { background: #FEF3C7; color: #92400E; }

/* ---- CARD ---- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.card-hover {
  transition: transform .2s, box-shadow .2s;
}
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ---- FORM ELEMENTS ---- */
.form-group { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }
.form-label { font-size: .875rem; font-weight: 600; color: var(--dark); }
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: .6875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-base);
  font-size: .9375rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(79,168,230,.18);
}
.form-input::placeholder,
.form-textarea::placeholder { color: #94A3B8; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-hint { font-size: .8125rem; color: var(--slate); }

/* ---- DIVIDER ---- */
.divider { height: 1px; background: var(--border); margin: 2rem 0; }
.divider-gradient { height: 2px; background: var(--grad-brand); border: none; margin: 2rem 0; }

/* ---- GLASSMORPHISM CARD (light) ---- */
.glass-card {
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* ---- AVATAR ---- */
.avatar {
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  background: var(--navy);
  color: var(--white);
}

/* ---- TOOLTIP ---- */
.has-tooltip { position: relative; }
.tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: var(--white);
  font-size: .75rem;
  padding: .375rem .75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
  z-index: 100;
}
.has-tooltip:hover .tooltip { opacity: 1; }

/* ---- SOFTWARE LOGOS ---- */
.integration-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.integration-logo {
  padding: .5rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 700;
  color: var(--slate);
}
