/* docs/css/extra.css */

@font-face {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  /* This is the key line */
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.woff2') format('woff2');
}

/* Container fixed on side */
.share-container {
  position: fixed;
  top: 35%;
  right: 0;
  z-index: 9999;
  display: inline-block;
}

/* Main share button */
.share-button {
  display: block;
  background: rgba(60, 60, 60, 0.5);
  /* more transparent */
  color: white;
  font-size: 1.3rem;
  padding: 0.4rem 0.6rem;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

/* Options container */
.share-options {
  position: absolute;
  /* 👈 take out of flow */
  top: 100%;
  /* 👈 place below main button */
  right: 0;

  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;

  opacity: 0;
  transform: translateX(100%);
  pointer-events: none;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* Active state shows options */
.share-container.active .share-options {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}

.share-container.active .share-option {
  pointer-events: auto;
  /* enable children */
}

/* Individual option buttons */
.share-option {
  display: block;
  text-align: center;
  text-decoration: none;
  color: white;
  font-size: 1.3rem;
  padding: 0.35rem 0.55rem;
  border-radius: 8px 0 0 8px;
  /* flat right edge */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

/* WhatsApp */
.share-option.whatsapp {
  background-color: rgba(37, 211, 102, 0.9);
}

/* Telegram */
.share-option.telegram {
  background-color: rgba(0, 136, 204, 0.9);
}


/* Disable margins around mkdocs content */
.md-content__inner {
  margin: 0;
  padding: 0;
}

.md-main__inner {
  margin: 0;
}

.md-content__inner:before {
  height: 0;
}

/* Hide sidebar */
.md-sidebar--secondary {
  display: none !important;
}

/* This was making the footer too thick */
.md-social {
  padding: 0;
}

.md-copyright {
  display: none
}


/* Some CSS to style the previous/next footer */

.md-footer__title {
  margin-bottom: 0;
}

.md-footer__link {
  margin-bottom: 0;
  margin-top: 0;
}

.md-footer__inner {
  padding-top: 0px;
  background-color: #007080;
}