/* ==========================================
   BASE STYLES & CORE COMPONENTS
   ========================================== */

.resp-sharing-button__link,
.resp-sharing-button__icon {
  display: inline-block;
}

.resp-sharing-button__link {
  text-decoration: none;
  color: #fff;
  margin: 0.5em;
}

.resp-sharing-button {
  border-radius: 5px;
  transition: 25ms ease-out;
  padding: 0.5em 0.75em;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  border: 1px solid transparent; /* Menjaga konsistensi ukuran saat border-color berubah */
}

.resp-sharing-button__icon svg {
  width: 1em;
  height: 1em;
  margin-right: 0.4em;
  vertical-align: top;
}

.resp-sharing-button--small svg {
  margin: 0;
  vertical-align: middle;
}

/* Non solid icons get a stroke */
.resp-sharing-button__icon {
  stroke: #fff;
  fill: none;
}

/* Solid icons get a fill */
.resp-sharing-button__icon--solid,
.resp-sharing-button__icon--solidcircle {
  fill: #fff;
  stroke: none;
}

/* ==========================================
   BRAND COLORS & HOVER STATES
   ========================================== */

/* Facebook */
.resp-sharing-button--facebook {
  background-color: #3b5998;
  border-color: #3b5998;
}
.resp-sharing-button--facebook:hover,
.resp-sharing-button--facebook:active {
  background-color: #2d4373;
  border-color: #2d4373;
}

/* Twitter / X */
.resp-sharing-button--twitter {
  background-color: #55acee;
  border-color: #55acee;
}
.resp-sharing-button--twitter:hover,
.resp-sharing-button--twitter:active {
  background-color: #2795e9;
  border-color: #2795e9;
}

/* WhatsApp */
.resp-sharing-button--whatsapp {
  background-color: #25d366;
  border-color: #25d366;
}
.resp-sharing-button--whatsapp:hover,
.resp-sharing-button--whatsapp:active {
  background-color: #1da851;
  border-color: #1da851;
}

/* Pinterest */
.resp-sharing-button--pinterest {
  background-color: #bd081c;
}
.resp-sharing-button--pinterest:hover {
  background-color: #8c0615;
}

/* Tumblr */
.resp-sharing-button--tumblr {
  background-color: #35465c;
}
.resp-sharing-button--tumblr:hover {
  background-color: #222d3c;
}

/* Reddit */
.resp-sharing-button--reddit {
  background-color: #5f99cf;
}
.resp-sharing-button--reddit:hover {
  background-color: #3a80c1;
}

/* Google */
.resp-sharing-button--google {
  background-color: #dd4b39;
}
.resp-sharing-button--google:hover {
  background-color: #c23321;
}

/* LinkedIn */
.resp-sharing-button--linkedin {
  background-color: #0077b5;
}
.resp-sharing-button--linkedin:hover {
  background-color: #046293;
}

/* Email */
.resp-sharing-button--email {
  background-color: #777;
}
.resp-sharing-button--email:hover {
  background-color: #5e5e5e;
}

/* Xing */
.resp-sharing-button--xing {
  background-color: #1a7576;
}
.resp-sharing-button--xing:hover {
  background-color: #114c4c;
}

/* HackerNews */
.resp-sharing-button--hackernews {
  background-color: #ff6600;
}
.resp-sharing-button--hackernews:hover,
.resp-sharing-button--hackernews:focus {
  background-color: #fb6200;
}

/* VK */
.resp-sharing-button--vk {
  background-color: #507299;
}
.resp-sharing-button--vk:hover {
  background-color: #43648c;
}

/* Telegram */
.resp-sharing-button--telegram {
  background-color: #54a9eb;
}
.resp-sharing-button--telegram:hover {
  background-color: #4b97d1;
}

/* YouTube (Warna Merah Resmi YouTube) */
.resp-sharing-button--youtube {
  background-color: #ff0000;
}
.resp-sharing-button--youtube:hover {
  background-color: #cc0000;
}

/* Menyamakan background Instagram dengan Facebook (Biru FB: #3b5998) */
.resp-sharing-button--instagram {
    background-color: #3b5998;
    border-color: #3b5998;
}

/* Efek ketika kursor diarahkan ke tombol Instagram (Biru FB agak gelap: #2d4373) */
.resp-sharing-button--instagram:hover,
.resp-sharing-button--instagram:active {
    background-color: #2d4373;
    border-color: #2d4373;
}

/* Threads */
.resp-sharing-button--threads {
  background-color: #000000;
  border-color: #000000;
}
.resp-sharing-button--threads:hover,
.resp-sharing-button--threads:active {
  background-color: #1e1e1e;
  border-color: #1e1e1e;
}