/* LinkedIngue - LinkedIn Parody - ArtDeco Design System */

/* ========================================
   CSS Custom Properties (Variables)
   ======================================== */
:root {
  /* Colors - Background */
  --color-background-canvas: #f4f2ee;
  --color-background-container: #fff;
  --color-background-container-tint: #f9fafb;
  --cool-gray-20: #eef3f8;

  /* Colors - Text */
  --color-text: rgba(0, 0, 0, 0.9);
  --color-text-low-emphasis: rgba(0, 0, 0, 0.6);
  --artdeco-reset-typography-get-color-black-90: rgba(0, 0, 0, 0.9);

  /* Colors - Brand */
  --color-brand: #0a66c2;
  --color-brand-hover: #004182;

  /* Colors - Accent */
  --color-action: #0a66c2;
  --color-action-hover: #004182;

  /* Typography */
  --artdeco-reset-typography-font-family-sans: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Fira Sans", Ubuntu, Oxygen, "Oxygen Sans", Cantarell, "Droid Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Lucida Grande", Helvetica, Arial, sans-serif;
  --artdeco-reset-typography-font-weight-normal: 400;
  --artdeco-reset-typography-font-weight-bold: 600;

  /* Base resets */
  --artdeco-reset-base-line-height-1: 1.42857;
  --artdeco-reset-base-outline-zero: 0;
  --artdeco-reset-base-margin-zero: 0;
  --artdeco-reset-base-padding-zero: 0;
  --artdeco-reset-base-border-zero: 0;
  --artdeco-reset-base-font-size-hundred-percent: 100%;
  --artdeco-reset-base-vertical-align-baseline: baseline;
  --artdeco-reset-base-background-transparent: transparent;

  /* Spacing */
  --spacing-1: 4px;
  --spacing-2: 8px;
  --spacing-3: 12px;
  --spacing-4: 16px;
  --spacing-5: 24px;

  /* Border radius */
  --border-radius-small: 4px;
  --border-radius-medium: 8px;
  --border-radius-large: 16px;
  --border-radius-circle: 50%;

  /* Shadows */
  --elevation-1: 0 0 0 1px rgba(0, 0, 0, 0.08);
  --elevation-2: 0 4px 12px rgba(0, 0, 0, 0.15);
  --elevation-3: 0 4px 24px rgba(0, 0, 0, 0.15);

  /* Global nav dimensions */
  --global-nav-height: 52px;
  --global-nav-width: 100%;
  --global-nav-icon-size: 24px;
}

/* ========================================
   Language specific styles
   ======================================== */
:lang(fr) {
  font-family: var(--artdeco-reset-typography-font-family-sans);
}

/* ========================================
   Base Reset Styles
   ======================================== */
*, *::before, *::after {
  box-sizing: inherit;
}

:root, body, html {
  margin: 0;
  padding: 0;
  background-color: var(--color-background-canvas) !important;
  box-sizing: border-box;
}

body {
  overflow-y: scroll;
  line-height: var(--artdeco-reset-base-line-height-1);
  font-family: var(--artdeco-reset-typography-font-family-sans);
  font-weight: var(--artdeco-reset-typography-font-weight-normal);
  font-size: 1rem;
  color: var(--artdeco-reset-typography-get-color-black-90);
  direction: ltr;
}

body, p {
  font-weight: var(--artdeco-reset-typography-font-weight-normal);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--artdeco-reset-typography-get-color-black-90);
}

.large-header, .large-text, .medium-text, .small-text, blockquote, h1, h2, h3, h4, h5, p {
  color: var(--color-text);
}

abbr, audio, b, canvas, caption, cite, code, del, dfn, em,
h1, h2, h3, h4, h5, h6, html, i, iframe, img, ins, kbd, label,
legend, mark, object, q, samp, small, span, strong, summary,
tbody, td, tfoot, th, thead, time, tr, var, video {
  outline: var(--artdeco-reset-base-outline-zero);
}

abbr, address, article, aside, audio, b, blockquote, canvas,
caption, cite, code, dd, del, details, dfn, div, dl, dt, em,
fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6,
header, hgroup, i, iframe, img, ins, kbd, label, legend, li, mark,
menu, nav, object, ol, p, pre, q, samp, section, small, span, strong,
summary, table, tbody, td, tfoot, th, thead, time, tr, ul, var, video {
  margin: var(--artdeco-reset-base-margin-zero);
  padding: var(--artdeco-reset-base-padding-zero);
  border: var(--artdeco-reset-base-border-zero);
  font-size: var(--artdeco-reset-base-font-size-hundred-percent);
  vertical-align: var(--artdeco-reset-base-vertical-align-baseline);
  background: var(--artdeco-reset-base-background-transparent);
}

a {
  color: var(--color-action);
  text-decoration: none;
}

a:hover {
  color: var(--color-action-hover);
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ========================================
   Typography Utilities
   ======================================== */
.t-12 { font-size: 12px; line-height: 1.33333; }
.t-14 { font-size: 14px; line-height: 1.42857; }
.t-16 { font-size: 16px; line-height: 1.5; }
.t-18 { font-size: 18px; line-height: 1.33333; }
.t-20 { font-size: 20px; line-height: 1.2; }
.t-24 { font-size: 24px; line-height: 1.16667; }

.t-normal { font-weight: 400; }
.t-bold { font-weight: 600; }

.t-black { color: rgba(0, 0, 0, 0.9); }
.t-black--light { color: rgba(0, 0, 0, 0.6); }
.t-white { color: #fff; }

.text-body-small { font-size: 12px; line-height: 1.33333; }
.text-body-small-bold { font-size: 12px; line-height: 1.33333; font-weight: 600; }
.text-body-medium { font-size: 14px; line-height: 1.42857; }
.text-body-medium-bold { font-size: 14px; line-height: 1.42857; font-weight: 600; }
.text-body-xsmall { font-size: 12px; line-height: 1.33333; }
.text-heading-small { font-size: 14px; line-height: 1.42857; font-weight: 600; }
.text-heading-large { font-size: 18px; line-height: 1.33333; font-weight: 600; }

/* ========================================
   Layout Utilities
   ======================================== */
.display-flex { display: flex; }
.display-block { display: block; }
.display-inline-block { display: inline-block; }
.display-none { display: none; }

.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-grow-1 { flex-grow: 1; }
.flex-shrink-zero { flex-shrink: 0; }

.align-items-center { align-items: center; }
.align-items-flex-start { align-items: flex-start; }
.align-items-baseline { align-items: baseline; }

.justify-center { justify-content: center; }
.justify-space-between { justify-content: space-between; }
.justify-flex-start { justify-content: flex-start; }
.justify-flex-end { justify-content: flex-end; }

.full-width { width: 100%; }
.full-height { height: 100%; }
.max-full-width { max-width: 100%; }

.text-align-left { text-align: left; }
.text-align-center { text-align: center; }
.text-align-right { text-align: right; }

.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }

.overflow-hidden { overflow: hidden; }

/* ========================================
   Spacing Utilities
   ======================================== */
.m0 { margin: 0; }
.mt1 { margin-top: 4px; }
.mt2 { margin-top: 8px; }
.mt3 { margin-top: 12px; }
.mt4 { margin-top: 16px; }
.mb1 { margin-bottom: 4px; }
.mb2 { margin-bottom: 8px; }
.mb3 { margin-bottom: 12px; }
.mb4 { margin-bottom: 16px; }
.ml1 { margin-left: 4px; }
.ml2 { margin-left: 8px; }
.ml3 { margin-left: 12px; }
.ml4 { margin-left: 16px; }
.mr1 { margin-right: 4px; }
.mr2 { margin-right: 8px; }
.mr3 { margin-right: 12px; }
.mr4 { margin-right: 16px; }
.mh1 { margin-left: 4px; margin-right: 4px; }
.mh2 { margin-left: 8px; margin-right: 8px; }

.p0 { padding: 0; }
.p1 { padding: 4px; }
.p2 { padding: 8px; }
.p3 { padding: 12px; }
.p4 { padding: 16px; }
.p5 { padding: 24px; }
.pt1 { padding-top: 4px; }
.pt2 { padding-top: 8px; }
.pt3 { padding-top: 12px; }
.pb1 { padding-bottom: 4px; }
.pb2 { padding-bottom: 8px; }
.pb3 { padding-bottom: 12px; }
.pl1 { padding-left: 4px; }
.pl2 { padding-left: 8px; }
.pl3 { padding-left: 12px; }
.pr1 { padding-right: 4px; }
.pr2 { padding-right: 8px; }
.pr3 { padding-right: 12px; }
.pr4 { padding-right: 16px; }

/* ========================================
   Border Utilities
   ======================================== */
.border-none { border: none; }

/* ========================================
   Text Utilities
   ======================================== */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.white-space-nowrap { white-space: nowrap; }
.white-space-pre { white-space: pre; }

.break-words {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.v-align-middle { vertical-align: middle; }
.v-align-bottom { vertical-align: bottom; }

/* ========================================
   Visibility Utilities
   ======================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden { display: none; }

.a11y-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================================
   ArtDeco Card
   ======================================== */
.artdeco-card {
  background-color: var(--color-background-container);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--elevation-1);
  position: relative;
}

/* ========================================
   ArtDeco Button
   ======================================== */
.artdeco-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  border: none;
  border-radius: 1.6rem;
  cursor: pointer;
  transition: background-color 167ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 167ms cubic-bezier(0.4, 0, 0.2, 1),
              color 167ms cubic-bezier(0.4, 0, 0.2, 1);
}

.artdeco-button--primary {
  background-color: var(--color-brand);
  color: #fff;
}

.artdeco-button--primary:hover {
  background-color: var(--color-brand-hover);
}

.artdeco-button--secondary {
  background-color: transparent;
  color: var(--color-brand);
  border: 1px solid var(--color-brand);
}

.artdeco-button--secondary:hover {
  background-color: rgba(10, 102, 194, 0.1);
  border-color: var(--color-brand-hover);
}

.artdeco-button--tertiary {
  background-color: transparent;
  color: rgba(0, 0, 0, 0.6);
}

.artdeco-button--tertiary:hover {
  background-color: rgba(0, 0, 0, 0.08);
}

.artdeco-button--muted {
  color: rgba(0, 0, 0, 0.6);
}

.artdeco-button--circle {
  border-radius: 50%;
  padding: 0;
}

.artdeco-button--1 {
  font-size: 14px;
  line-height: 1.42857;
  padding: 6px 16px;
  min-height: 32px;
}

.artdeco-button--2 {
  font-size: 16px;
  line-height: 1.25;
  padding: 8px 16px;
  min-height: 40px;
}

.artdeco-button--3 {
  font-size: 14px;
  line-height: 1.42857;
  padding: 4px 8px;
  min-height: 28px;
}

.artdeco-button--4 {
  font-size: 14px;
  line-height: 1.42857;
  padding: 6px 12px;
  min-height: 32px;
}

.artdeco-button--full {
  width: 100%;
}

.artdeco-button__text {
  display: flex;
  align-items: center;
  justify-content: center;
}

.artdeco-button__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ========================================
   ArtDeco Dropdown
   ======================================== */
.artdeco-dropdown {
  position: relative;
  display: inline-block;
}

.artdeco-dropdown__trigger {
  cursor: pointer;
}

.artdeco-dropdown__content {
  position: absolute;
  z-index: 100;
  background-color: var(--color-background-container);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--elevation-3);
  min-width: 200px;
}

.artdeco-dropdown__content--placement-bottom {
  top: 100%;
  margin-top: 4px;
}

.artdeco-dropdown__content--placement-top {
  bottom: 100%;
  margin-bottom: 4px;
}

.artdeco-dropdown__content--justification-left {
  left: 0;
}

.artdeco-dropdown__content--justification-right {
  right: 0;
}

/* ========================================
   Global Navigation
   ======================================== */
.global-nav {
  background-color: var(--color-background-container);
  height: var(--global-nav-height);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: var(--elevation-1);
}

.global-nav__content {
  max-width: 1128px;
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
}

.global-nav__branding-logo {
  flex-shrink: 0;
  margin: 0 .4rem 0 -.4rem;
}

.ivm-image-view-model {
  display: flex;
  align-items: center;
}

.ivm-view-attr__img-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ivm-view-attr__img-wrapper svg,
.ivm-view-attr__img-wrapper img {
  display: block;
}

.global-nav__branding-logo svg {
  width: 41px;
  height: 41px;
  color: var(--color-brand);
}

/* ========================================
   Search Styles
   ======================================== */
.global-nav__search {
  flex-grow: 1;
  z-index: 105;
}

.search-global-typeahead {
  position: relative;
  max-width: 280px;
}

.search-global-typeahead--focused {
  transition: max-width .3s ease-out;
  max-width: 384px;
}

.search-global-typeahead--focused-semantic,
.search-global-typeahead--semantic-search-expanded {
  transition: max-width .3s ease-out;
  max-width: 560px;
}

.search-global-typeahead__typeahead {
  display: block;
  width: 100%;
  position: relative;
  z-index: 0;
}

@media screen and (max-width: 1024px) {
  .search-global-typeahead__typeahead {
    width: calc(100vw - 102px);
    z-index: 2;
  }
}

input.search-global-typeahead__input {
  width: 100%;
  line-height: 1.75;
  font-weight: 400;
  font-size: 14px;
  height: 34px;
  border-color: var(--color-border-faint, rgba(0, 0, 0, 0.08));
  background-color: var(--cool-gray-20);
  border-radius: var(--corner-radius-small, 4px);
  color: var(--color-text);
  padding: 0 40px;
  font-family: inherit;
}

input.search-global-typeahead__input,
input.search-global-typeahead__input:hover {
  border: none;
  box-shadow: none;
}

input.search-global-typeahead__input.search-global-typeahead__input--nile-background {
  background-color: var(--color-search-input-background, var(--cool-gray-20));
}

.search-global-typeahead--semantic-rounded-search-box input.search-global-typeahead__input {
  border-radius: var(--corner-radius-large, 16px);
  background-color: var(--color-background-container);
  border: 1px solid var(--color-border-subtle, rgba(0, 0, 0, 0.15));
  padding-right: 1.6rem;
}

input.search-global-typeahead__input.search-global-typeahead__input--ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 1.6rem;
}

.search-global-typeahead--focused input.search-global-typeahead__input.search-global-typeahead__input--nile-background,
input.search-global-typeahead__input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-brand);
}

.search-global-typeahead--focused-semantic input.search-global-typeahead__input.search-global-typeahead__input--nile-background {
  background-color: var(--color-search-input-background, var(--cool-gray-20));
}

input.search-global-typeahead__input::placeholder {
  color: rgba(0, 0, 0, 0.6);
}

.search-global-typeahead__search-icon-container {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-global-typeahead__search-icon-container.search-global-typeahead__input--nile-background {
  background-color: transparent;
}

.search-global-typeahead__search-icon-container svg {
  width: 16px;
  height: 16px;
  color: rgba(0, 0, 0, 0.6);
}

.search-global-typeahead__overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.search-global-typeahead--focused .search-global-typeahead__overlay {
  display: block;
}

.search-global-typeahead__collapsed-search-button {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0 12px;
  min-width: 60px;
  height: 52px;
  cursor: pointer;
  transition: background-color 167ms ease;
}

.search-global-typeahead__collapsed-search-button:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.search-global-typeahead__collapsed-search-button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-global-typeahead__collapsed-search-button-icon svg {
  width: 24px;
  height: 24px;
}

.search-global-typeahead__collapsed-search-button-text {
  white-space: nowrap;
}

@media (max-width: 576px) {
  .search-global-typeahead__typeahead {
    display: none;
  }

  .search-global-typeahead__collapsed-search-button {
    display: flex;
  }

  .global-nav__search {
    flex-grow: 0;
  }
}

/* Navigation items */
.global-nav__nav {
  margin-left: auto;
  min-height: 52px;
}

.global-nav__primary-items {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.global-nav__primary-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.global-nav__primary-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  min-width: 60px;
  height: 52px;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.6);
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  transition: color 167ms cubic-bezier(0.4, 0, 0.2, 1);
}

.global-nav__primary-link:hover {
  color: rgba(0, 0, 0, 0.9);
  text-decoration: none;
}

.global-nav__primary-link--active {
  color: rgba(0, 0, 0, 0.9);
  border-bottom-color: rgba(0, 0, 0, 0.9);
}

.global-nav__primary-link-text {
  font-size: 12px;
  line-height: 1.33333;
  font-weight: 400;
  white-space: nowrap;
}

.global-nav__icon-ivm {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.global-nav__icon-ivm svg {
  width: 24px;
  height: 24px;
}

/* Profile menu */
.global-nav__me-photo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.global-nav__primary-item--divider {
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

/* ========================================
   Scaffold Layout (Main Page Structure)
   ======================================== */
.scaffold-layout {
  padding-top: calc(var(--global-nav-height) + 24px);
  min-height: 100vh;
}

.scaffold-layout__inner {
  max-width: 1128px;
  margin: 0 auto;
  padding: 0 16px;
}

.scaffold-layout__content {
  display: flex;
  gap: 24px;
}

.scaffold-layout__sidebar {
  width: 225px;
  flex-shrink: 0;
}

.scaffold-layout__main {
  flex-grow: 1;
  max-width: 555px;
}

.scaffold-layout__aside {
  width: 300px;
  flex-shrink: 0;
}

/* Sticky positioning */
.scaffold-layout__sticky {
  position: sticky;
  top: calc(var(--global-nav-height) + 16px);
}

/* ========================================
   IVM Image View Model
   ======================================== */
.ivm-image-view-model {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ivm-view-attr__img-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ivm-view-attr__img--centered {
  object-fit: cover;
}

/* Entity Photo */
img[class*="EntityPhoto-circle"],
img[class*="EntityPhoto-square"] {
  object-fit: cover;
  object-position: center;
  background-color: var(--color-background-container);
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
  flex-shrink: 0;
  max-width: none;
}

.EntityPhoto-circle-0 { width: 24px; height: 24px !important; border-radius: 50%; }
.EntityPhoto-circle-1 { width: 32px; height: 32px !important; border-radius: 50%; }
.EntityPhoto-circle-2 { width: 40px; height: 40px !important; border-radius: 50%; }
.EntityPhoto-circle-3 { width: 48px; height: 48px !important; border-radius: 50%; }
.EntityPhoto-circle-4 { width: 56px; height: 56px !important; border-radius: 50%; }
.EntityPhoto-circle-5 { width: 72px; height: 72px !important; border-radius: 50%; }

.EntityPhoto-square-0 { width: 24px; height: 24px !important; border-radius: 4px; }
.EntityPhoto-square-1 { width: 32px; height: 32px !important; border-radius: 4px; }
.EntityPhoto-square-2 { width: 40px; height: 40px !important; border-radius: 4px; }
.EntityPhoto-square-3 { width: 48px; height: 48px !important; border-radius: 4px; }

/* ========================================
   Link Utilities
   ======================================== */
.link-without-hover-state:hover,
.link-without-hover-visited:hover {
  text-decoration: none;
}

.hoverable-link-text:hover {
  color: var(--color-brand);
  text-decoration: underline;
}

/* ========================================
   List Utilities
   ======================================== */
.list-style-none {
  list-style: none;
}

/* ========================================
   Application Container
   ======================================== */
.application-outlet {
  min-height: 100vh;
}

.feed-container-theme {
  background-color: var(--color-background-canvas);
}

/* ========================================
   Media Queries - Responsive Design
   ======================================== */
@media (max-width: 1128px) {
  .scaffold-layout__content {
    flex-wrap: wrap;
  }

  .scaffold-layout__aside {
    display: none;
  }
}

@media (max-width: 768px) {
  .scaffold-layout__sidebar {
    display: none;
  }

  .scaffold-layout__main {
    max-width: 100%;
  }

  .global-nav__nav {
    margin-left: 0;
  }

  .global-nav__primary-link {
    padding: 0 8px;
    min-width: 48px;
  }

  .global-nav__primary-link-text {
    display: none;
  }

  /* Hide secondary nav items on mobile */
  .global-nav__primary-item--hidden {
    display: none;
  }
}

/* Mobile-specific styles for navigation */
@media (max-width: 576px) {
  .global-nav__content {
    padding: 0 8px;
  }

  .global-nav__primary-link {
    padding: 0 4px;
    min-width: 40px;
  }

  .global-nav__primary-items {
    gap: 0;
  }

  /* Profile menu - show only photo */
  .global-nav__me .global-nav__primary-link-text {
    display: none;
  }

  /* Social action buttons - hide text, show only icons */
  .social-action-button__text {
    display: none;
  }

  .social-actions-button {
    min-width: 40px;
    padding: 0 4px;
  }

  .social-actions-button .artdeco-button__icon svg {
    width: 20px;
    height: 20px;
  }

  /* Share box - adapt toolbar */
  .share-box-feed-entry-toolbar__wrapper .t-14.t-bold {
    display: none;
  }

  .share-box-feed-entry-toolbar__wrapper .artdeco-button {
    padding: 8px;
    min-width: auto;
  }
}

/* ========================================
   Admin Page & Login
   ======================================== */
.admin-page {
  min-height: 100vh;
  padding-top: calc(var(--global-nav-height) + 48px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.admin-container {
  width: 100%;
  max-width: 500px;
  padding: 0 16px;
}

.login-card {
  max-width: 400px;
  margin: 0 auto;
}

.login-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 167ms ease, box-shadow 167ms ease;
}

.login-input:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 2px rgba(10, 102, 194, 0.2);
}

.admin-dashboard {
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   Post Editor Modal
   ======================================== */
.post-editor-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.post-editor-modal {
  background-color: var(--color-background-container);
  border-radius: var(--border-radius-medium);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.post-editor-modal .artdeco-text-input--input:focus {
  outline: none;
  border-color: var(--color-brand) !important;
  box-shadow: 0 0 0 2px rgba(10, 102, 194, 0.2);
}

.share-box-admin-enabled {
  cursor: pointer;
}

.share-box-admin-enabled:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

/* ========================================
   Profile Menu Dropdown
   ======================================== */
.global-nav__me {
  position: relative;
}

.profile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
}

.profile-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  min-width: 280px;
  z-index: 100;
  animation: fadeIn 150ms ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-menu-header {
  background-color: var(--color-background-container);
  border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0;
}

.profile-menu-divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: 0;
}

.profile-menu-section {
  background-color: var(--color-background-container);
}

.profile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  color: rgba(0, 0, 0, 0.9);
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 150ms ease;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 14px;
}

.profile-menu-item:hover {
  background-color: rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: rgba(0, 0, 0, 0.9);
}

.profile-menu-item svg {
  width: 20px;
  height: 20px;
  color: rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}

.admin-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: #057642;
  background-color: rgba(5, 118, 66, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
}

/* Admin Status Box */
.admin-status-box {
  background-color: rgba(5, 118, 66, 0.05);
  border: 1px solid rgba(5, 118, 66, 0.2);
  border-radius: 8px;
  padding: 12px;
}

.admin-status-box svg {
  width: 20px;
  height: 20px;
  color: #057642;
}

/* Inline Login Form */
.login-form-inline {
  padding: 4px;
}

.login-back-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  font-family: inherit;
}

.login-back-btn:hover {
  text-decoration: underline;
}

.login-input-small {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.login-input-small:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 2px rgba(10, 102, 194, 0.2);
}

.login-error-inline {
  background-color: #fff3f3;
  border: 1px solid #dc3545;
  border-radius: 4px;
  padding: 8px 12px;
}

.login-error-inline p {
  color: #dc3545;
  margin: 0;
}

.pl4 {
  padding-left: 32px;
}

/* ========================================
   Disabled States
   ======================================== */
.global-nav__primary-link--disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.global-nav__primary-link--disabled:hover {
  color: rgba(0, 0, 0, 0.6);
  background-color: transparent;
}

.profile-menu-item--disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.profile-menu-item--disabled:hover {
  background-color: transparent;
}

.artdeco-button--disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.artdeco-button--disabled:hover {
  background-color: transparent;
}

/* ========================================
   Feed Post Fixes
   ======================================== */
.feed-shared-actor {
  position: relative;
  overflow: hidden;
}

.feed-shared-actor__meta {
  min-width: 0;
  overflow: hidden;
}

.feed-shared-control-menu {
  flex-shrink: 0;
  margin-left: 8px;
}

.feed-shared-control-menu .artdeco-button--circle {
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Disabled links */
.disabled-link {
  cursor: not-allowed;
  opacity: 0.5;
}

/* ========================================
   Post Content Truncation (See More)
   ======================================== */
.feed-shared-inline-show-more-text {
  position: relative;
  max-width: 928px;
  line-height: 1.42857;
}

.feed-shared-text {
  line-height: 1.42857;
}

.feed-shared-text span {
  line-height: inherit;
}

.feed-shared-inline-show-more-text--3-lines {
  display: block;
  max-height: calc(1.42857em * 3);
  overflow: hidden;
}

.feed-shared-inline-show-more-text__see-more-toggle {
  position: absolute;
  bottom: 0;
  right: 0;
  background: linear-gradient(90deg, transparent, var(--color-background-container) 20%);
  padding-left: 2rem;
  padding-right: 0;
  border: none;
  cursor: pointer;
  font-weight: var(--artdeco-reset-typography-font-weight-normal);
}

.feed-shared-inline-show-more-text__see-more-toggle:hover {
  text-decoration: underline;
  color: var(--color-brand);
}

/* ========================================
   Social Action Bar
   ======================================== */
.feed-shared-social-action-bar {
  gap: 4px;
}

.feed-shared-social-action-bar--full-width {
  width: 100%;
}

.social-actions-button {
  gap: 4px;
  min-height: 40px;
  padding: 0 8px;
}

.social-actions-button .artdeco-button__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-actions-button .artdeco-button__icon svg {
  width: 16px;
  height: 16px;
}

.social-action-button__text {
  white-space: nowrap;
}

/* ========================================
   Infinite Scroll & Loading
   ======================================== */
.infinite-scroll-sentinel {
  min-height: 60px;
}

.loading-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--color-brand);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========================================
   Profile Card
   ======================================== */
.profile-card-background-image {
  height: 56px;
  background-size: cover;
  background-position: center;
}

.profile-card-profile-picture-container {
  display: block;
  position: relative;
  width: 72px;
  height: 72px;
  margin-top: -36px;
  margin-left: 1.6rem;
  border-radius: 50%;
  background-color: var(--color-background-container);
}

.profile-card-profile-picture {
  width: 72px;
  height: 72px !important;
  box-sizing: border-box;
  border-radius: 50%;
  border: 2px solid var(--color-border-on-dark, #fff);
  object-fit: cover;
}

.profile-card-company-logo {
  border-radius: 2px;
}

/* ========================================
   Stats Dashboard
   ======================================== */
.stats-dashboard {
  width: 100%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stats-card {
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.stats-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stats-card--highlight {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  border: 1px solid rgba(10, 102, 194, 0.2);
}

.stats-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.stats-icon svg {
  width: 20px;
  height: 20px;
}

.stats-icon--today {
  background-color: rgba(5, 118, 66, 0.1);
  color: #057642;
}

.stats-icon--week {
  background-color: rgba(10, 102, 194, 0.1);
  color: #0a66c2;
}

.stats-icon--month {
  background-color: rgba(156, 39, 176, 0.1);
  color: #9c27b0;
}

.stats-icon--total {
  background-color: rgba(233, 30, 99, 0.1);
  color: #e91e63;
}

.stats-table {
  border-collapse: collapse;
}

.stats-table thead tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.stats-table tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.stats-table tbody tr:last-child {
  border-bottom: none;
}

.stats-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.stats-refresh-spinning {
  animation: spin 1s linear infinite;
}

/* Admin page wider container for stats */
.admin-container {
  max-width: 700px;
}
