.linkedin-icon-link,
.linkedin-floating-button,
.linkedin-contact-link,
.linkedin-footer-link {
  text-decoration: none;
}

.rd-navbar-top-panel__right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.linkedin-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(17, 46, 81, 0.58);
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.linkedin-icon-link:hover,
.linkedin-icon-link:focus-visible {
  color: #ffffff;
  background: #112e51;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.linkedin-floating-button {
  position: fixed;
  z-index: 1200;
  left: max(20px, env(safe-area-inset-left));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #ffffff;
  background: #112e51;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.28);
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.linkedin-floating-button i {
  font-size: 1.45rem;
}

.linkedin-floating-button:hover,
.linkedin-floating-button:focus-visible {
  color: #ffffff;
  background: #0a66c2;
  box-shadow: 0 20px 46px rgba(10, 102, 194, 0.32);
  transform: translateY(-3px);
}

.linkedin-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(17, 46, 81, 0.14);
  border-radius: 999px;
  color: #112e51;
  background: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.linkedin-contact-link:hover,
.linkedin-contact-link:focus-visible {
  color: #0a66c2;
  border-color: rgba(10, 102, 194, 0.35);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.linkedin-contact-link__icon,
.linkedin-footer-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  background: #112e51;
}

.linkedin-footer-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: min(100%, 290px);
  min-height: 58px;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  line-height: 1.25;
  transition: color 180ms ease, transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.linkedin-footer-link:hover,
.linkedin-footer-link:focus-visible {
  color: #ffffff;
  border-color: rgba(244, 178, 35, 0.34);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.linkedin-footer-link:hover .linkedin-footer-link__icon,
.linkedin-footer-link:focus-visible .linkedin-footer-link__icon {
  background: #0a66c2;
}

.linkedin-footer-link__content {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.linkedin-footer-link__label {
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.25;
}

.linkedin-footer-link__hint {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.25;
}

@media (max-width: 767px) {
  .linkedin-floating-button {
    width: 56px;
    height: 56px;
    left: max(16px, env(safe-area-inset-left));
    bottom: max(16px, env(safe-area-inset-bottom));
  }

  .linkedin-contact-link {
    width: 100%;
    justify-content: center;
  }

  .linkedin-footer-link {
    width: 100%;
  }
}
