.floating-contact {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.floating-contact.left {
  left: 0;
}

.floating-contact.right {
  right: 0;
}

.contact-icon {
  width: 40px;
  height: auto;
  margin-bottom: -10px;
  z-index: -990;
}

/* Tombol Umum */
.contact-button {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  padding: 12px 8px;
  width: 45px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  writing-mode: vertical-rl;
  text-align: center;
  color: white;
}

/* Tombol Merah (Kiri) */
.contact-button.red {
  background-color: #e60023;
  border-top: 2px solid #e60023;
  border-right: 2px solid #e60023;
  border-bottom: 2px solid #e60023;
  border-radius: 0 10px 10px 0;
}

.contact-button.red:hover {
  background-color: white;
  color: #e60023;
  border-color: #e60023;
}

.contact-button.red:hover .contact-text {
  color: #e60023;
}

/* Tombol Biru (Kanan) */
.contact-button.blue {
  background-color: #0c76ff;
  border-top: 2px solid #0c76ff;
  border-left: 2px solid #0c76ff;
  border-bottom: 2px solid #0c76ff;
  border-radius: 10px 0 0 10px;
}

.contact-button.blue:hover {
  background-color: #0b6cea;
  color: white;
  border-color: #0c76ff;
}

.contact-button.blue:hover .contact-text {
  color: white;
}
