.text-top {
  font-size: 100%;
}

.text-top:after {
  content: "";
  display: block;
  width: 50%;
  height: 2px;
  background-color: #a7d7f9;
  margin-top: 5px;
  margin-bottom: 4px;
}

.frame {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  position: relative;
  border-radius: 10px;
}

.btn {
  height: 35px;
  width: 35px;
  font-size: 16px;
  color: #333333;
  background-color: #e0e5ec;
  border: 1px solid #dddddd;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  flex-direction: column;
}

.btn:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.share-box {
  background-color:#FFFFFF; 
  border:1.5px solid #a7d7f9; 
  border-radius: 9px;
}

/* Dark mode styles */
html.skin-theme-clientpref-night .text-top:after {
  background-color: #5c9ebd;
}

html.skin-theme-clientpref-night .btn {
  color: #e0e0e0;
  background-color: #2c2c2c;
  border-color: #444444;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

html.skin-theme-clientpref-night .btn:hover {
  background-color: #3a3a3a;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

html.skin-theme-clientpref-night .btn:active {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

html.skin-theme-clientpref-night .share-box {
  background-color: #1a1a1a;
  border-color: #444444;
}

@media (max-width: 768px) {
  .share-box {
    flex-direction: column;
    text-align: center;
    width: 100%;
    padding: 6px 25px;
  }
  .frame {
    gap: 8px; 
  }
}

/* for desktop */
@media (min-width: 769px) {
  .share-box {
    width: 36%;
    padding: 1px;
  }
}