/* ═══════════════════════════════════════════════════════════
   VOLTAGE — buttons, avatar & social icons
   All buttons share one minimal dark style (brand colors are
   intentionally ignored for a clean, uniform look).
   ═══════════════════════════════════════════════════════════ */


/* Avatar
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#avatar {
  margin-top: 6%;
  border-radius: var(--image-radius);
  border: 1px solid var(--image-border-color);
  box-shadow:
    0 0 0 1px rgba(255, 209, 0, 0.08),
    0 10px 30px rgba(0, 0, 0, 0.55);
}

/* Round avatar option (used when a user uploads an avatar) */
.rounded-avatar {
  border-radius: var(--image-radius) !important;
  width: var(--image-width);
  height: var(--image-height);
}


/* Social icons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.social-icon-div { padding-bottom: 26px; padding-top: 6px; }

.social-icon {
  font-size: 26px;
  padding: 10px;
  color: var(--svg-color);
  transition: color 0.2s ease, transform 0.2s ease;
}
.social-link:hover .social-icon { color: var(--accent); }
.social-hover:hover { transform: translateY(-3px); }


/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  min-height: 56px;
  margin-bottom: 16px !important;
  padding: 12px 18px;
  box-sizing: border-box;

  font-family: var(--font-body);
  font-size: 0.95em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;

  color: var(--button-text-color);
  background-color: var(--button-background-color);
  border: 1px solid var(--button-border-color);
  border-radius: var(--button-radius);
  outline: none;

  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.15s ease;
}

/* A thin accent bar slides in from the left edge on hover */
.button::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 10px var(--accent-glow);
  transition: height 0.25s ease;
}

.button:hover,
.button:focus,
button:hover {
  color: var(--button-text-hover-color);
  background-color: var(--button-background-hover);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft), 0 6px 24px rgba(0, 0, 0, 0.5);
}
.button:hover::before,
.button:focus::before { height: 60%; }

.button:active { transform: scale(0.99); }

/* Keep every brand variant on the same minimal style */
.button.button-primary,
.button.button-default,
.button.button-custom,
.button.button-custom_website,
[class*="button-"] {
  color: var(--button-text-color);
  background-color: var(--button-background-color);
}
.button.button-primary:hover,
.button.button-default:hover,
.button.button-custom:hover,
.button.button-custom_website:hover,
[class*="button-"]:hover {
  color: var(--button-text-hover-color);
  background-color: var(--button-background-hover);
}


/* Brand icons inside buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.icon {
  right: 10px;
  bottom: 1px;
  position: relative;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  /* Desaturate logos so they read as monochrome until hover */
  filter: grayscale(100%) brightness(1.8);
  transition: filter 0.2s ease;
}
.button:hover .icon { filter: grayscale(0%) brightness(1); }

svg { color: var(--svg-color) !important; }
