/*
  _____ _ 
 |_   _| |_  ___ _ __  ___
   | | | ' \/ -_) '  \/ -_)
   |_| |_||_\___|_|_|_\___|

    Font:           BLANK
    Colors:
     - Primary      #1740cf    rgba( 23,  64, 207, 1)  // Blue
     - Secondary:   #F3F4F6    rgba(243, 244, 246, 1)  // Light Grey <-- OLD Secondary
     - Secondary:   #eff6ff    rgba(243, 244, 246, 1)  // Light Blue-Grey
     - Backgrounds: #F8FAFF    rgba(248, 250, 255, 1)  // White Smoke
*/

body {
  font-family: "Inter", sans-serif;
}

/* DEV Toggles  */
.pre-release {
  display: none;
  opacity: 0;
  visibility: hidden;
}

.disabled {
  opacity: 40%;
}

.disabled a {
  color: inherit;
  text-decoration: none;
}
/* --- */

.btn {
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease;
  font-weight: 500;
  padding: 16px 32px;
  border-radius: 9999px;
  font-size: 18px;
}

.btn.primary {
  background-color: #1740cf;
  background: linear-gradient(90deg, #2b59f7, #1740cf);
  color: white;
}

.btn.primary:hover {
  background-color: #2563eb;
}

.btn.primary:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.btn.secondary {
  background-color: #dbeafe;
  color: #374151;
  /* padding: 8px 16px; */
  /* border-radius: 6px; */
}

.btn.secondary:hover {
  background-color: #bfdbfe;
}

/* Inverted removed the bg and sets the border & txt color to the prev. bg color*/
.btn.primary.inverted {
  background-color: none;
  background: none;
  border: 1px solid #1740cf;
  color: #1740cf;
}

.btn.small {
  padding: 8px 16px;
  font-size: 14px;
}

.btn.primary:disabled {
  /*  filter: saturate(0.3) brightness(1.2);*/
  background: none;
  background-color: rgba(0, 0, 0, 0.33);
  color: rgba(255, 255, 255, 0.85);
  opacity: 0.65;
  cursor: not-allowed;
}

.btn.secondary:disabled {
  filter: saturate(0.3) brightness(1.2);
  opacity: 0.65;
  cursor: not-allowed;
}

.btn.alert:disabled {
  filter: saturate(0.3) brightness(1.2);
  opacity: 0.65;
  cursor: not-allowed;
}

/* Button: Dark Background Adjustments */
.btn.primary.dark {
  background: none;
  background-color: #fff;
  border: 1px solid #dedede;
  color: #2341ff;
}

/* Button: Unstyled */
.btn.unstyled,
.btn.unstyled:hover,
.btn.unstyled:focus {
  background-color: none;
  background: none;
  border: none;
  color: #2341ff;
}

/* Button: Unstyled */
.btn.dark.unstyled,
.btn.dark.unstyled:hover,
.btn.dark.unstyled:focus {
  background-color: none;
  background: none;
  border: none;
  color: #fff;
}

/* FONTS */

.highlight-word.dark {
  background: -webkit-linear-gradient(90deg, #6366f1, #a855f7);
  background: linear-gradient(90deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-word {
  background: -webkit-linear-gradient(180deg, #8438ee, #0ca0b1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.unstyled-link {
  color: inherit;
  text-decoration: none;
}

.alert {
  color: red;
}

/* TAG ELEMENT */
/* 
    TODO: This was formerly just .highlight-tag, but we want to use it
    for three different tag options:
    - .tag.highlight: this is the old highlight-tag that is used on the landing pages. It's large and rainbow-ish.
    - .tag.card: this is a small, light grey bg, dark grey border, with black text tag used in the `profile-card-tags` section of the `profile-card`s
    - .tag.cloud: this is in the tag clouds during onboarding and is medium sized, white bg, with blue border and blue text
    - .tag.search-cloud: this is similar to the other tag cloud in use, but is super plain
 */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.tag.highlight {
  background: white;
  border: 2px solid transparent;
  background-image:
    linear-gradient(white, white), linear-gradient(-90deg, #8438ee, #0ca0b1);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: #8438ee;
}

.tag.highlight::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 9999px;
  background: linear-gradient(-90deg, #8438ee, #0ca0b1);
  z-index: -1;
}

.tag.highlight::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: linear-gradient(-90deg, #8438ee, #0ca0b1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 14px;
  font-weight: 500;
}

.tag.profile-card {
  padding: 4px 12px;
  font-size: 12px;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  color: #111827;
  box-shadow: none; /* Where's that shadow coming from? */
}

.tag.profile-card::before {
  display: none;
}

.tag.profile-card::after {
  display: none;
}

.tag.profile-card.active {
  background: #1740cf;
  color: white;
  border: 1px solid #1740cf;
}

.tag.session-status {
  padding: 8px 16px;
  font-size: 14px;
  text-transform: capitalize;
  box-shadow: none;
}

.tag.session-status-pending {
  background: #fef3c7;
  color: #92400e;
}

.tag.session-status-booked {
  background: #dcfce7;
  color: #166534;
}

.tag.session-status-canceled {
  background: #f3f4f6;
  color: #6b7280;
}

.tag.cloud {
  padding: 10px 20px;
  font-size: 16px;
  background: white;
  border: 1px solid #1740cf;
  color: #1740cf;
}

.tag.cloud::before {
  display: none;
}

.tag.cloud::after {
  display: none;
}

.tag.search-cloud {
  padding: 10px 20px;
  font-size: 11px;
  background: white;
  border: none;
  color: #000000;
}

.tag.search-cloud::before {
  display: none;
}

.tag.search-cloud::after {
  display: none;
}

.tag.search-cloud.active {
  background: #1740cf;
  color: white;
  border: 1px solid #1740cf;
}

/* SECTION ICON ELEMENT */
.highlight-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: white;
  border: 1px solid transparent;
  background-image:
    linear-gradient(white, white), linear-gradient(-90deg, #8438ee, #0ca0b1);
  background-origin: border-box;
  background-clip: content-box, border-box;
  transition: all 0.2s ease;
}

.highlight-section-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #8438ee;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: linear-gradient(-90deg, #8438ee, #0ca0b1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* PROFILE CARD */
.profile-card {
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -3px rgba(0, 0, 0, 0.15);
}

.profile-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.profile-card-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.profile-card-info {
  flex: 1;
  min-width: 0;
}

.profile-card-name {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 4px 0;
  line-height: 1.4;
}

.profile-card-title {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
}

.profile-card-meta {
  display: flex;
  /*  align-items: center;*/
  gap: 16px;
  font-size: 14px;
  color: #6b7280;
  flex-wrap: wrap;
  /* Force them all to be on different lines */
  align-items: left;
  flex-direction: column;
}

.profile-card-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.profile-card-icon {
  width: 16px;
  height: 16px;
  stroke: #6b7280;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.profile-card-company-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.profile-card-company-mark {
  width: 18px;
  height: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #eff6ff;
  color: #1d4ed8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
}

.profile-card-company-logo {
  width: 100%;
  height: 100%;
  background: #ffffff;
  object-fit: contain;
}

.profile-card-company-fallback {
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.profile-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-card-action {
  margin-top: 4px;
}

/* TAG CLOUD CONTAINER */
#framelessSearchPgTagCloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* PROFILE CARDS CONTAINER */
.profile-cards-container,
#framelessProfilesWrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

@media (max-width: 1200px) {
  .profile-cards-container,
  #framelessProfilesWrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .profile-cards-container,
  #framelessProfilesWrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .profile-cards-container,
  #framelessProfilesWrapper {
    grid-template-columns: 1fr;
  }
}

.profile-icons {
  width: 2rem;
}

/* Input Elements */

.inputSearch {
  display: flex;
  width: 100%;
  height: 2.5rem;
  padding: 0.5rem 0.75rem;
  padding-left: 2.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #111827;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1.6rem;
  transition: all 0.2s ease;
  outline: none;
}

.inputSearch::placeholder {
  color: #9ca3af;
}

.inputSearch:hover {
  border-color: #d1d5db;
}

.inputSearch:focus {
  border-color: #1740cf;
  box-shadow: 0 0 0 3px rgba(23, 64, 207, 0.1);
  outline: none;
}

.inputSearch:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  background-color: #f9fafb;
}

/* Search box container with icon */
#searchPgSearchBox {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 2rem;
}

#searchPgSearchBox::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

#searchPgSearchBox:has(.inputSearch:focus)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231740cf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
}

/* Nodes > Search */
#framelessSearchPgTagCloud {
  width: 100%;
  max-width: 600px;
  margin: auto;
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: center;
}

/* Top nav: Login/Logout and Create Account/Account buttons share one size. */
.btn.nav-btn {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  padding: 12px 20px;
}

/* Headings: Titillium Web (same as the homepage hero). Body text: Inter. */
.kn-heading,
.bk-title, .bk-step-title, .bk-center-title, .bk-sent-hero h3,
.ern-title, .ern-h1, .ern-h2,
.bkg-title, .bkg-who h3,
.set-title, .set-card header h2,
.nob-header-title, .nob-card-title, .nob-done-hero h2 {
  font-family: "Titillium Web", "Inter", sans-serif;
  letter-spacing: 0;
}
