/*
  MFP Design System — Header Buttons
  Production CSS for header buttons component.
  Import tokens.css before this file.
*/

/* ======================================================================
   HEADER BUTTONS — Figma node 472:258
   ====================================================================== */
.hbtn-demo {
  background: var(--color-deep-blue);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: var(--space-48);
}

.hbtn-demo__row-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.hbtn-states {
  display: flex;
  gap: var(--space-32);
  align-items: flex-start;
}

.hbtn-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hbtn-state__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  white-space: nowrap;
}

.hbtn {
  width: 48px;
  height: 44px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hbtn__overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  transition: opacity 150ms;
}

.hbtn__overlay--off  { opacity: 0; }
.hbtn__overlay--on   { opacity: 0.16; }

.hbtn:hover .hbtn__overlay--off { opacity: 0.16; }

.hbtn .material-symbols-outlined {
  font-size: 24px;
  color: var(--color-white);
  font-variation-settings: 'FILL' 1;
  position: relative;
  z-index: 1;
}

.hbtn-tooltip-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.hbtn-tooltip {
  background: var(--color-darkest-grey);
  color: var(--color-white);
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 400;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
