/*
 * Share Cart by DITS - CSS
 * License: GPLv2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 */

.share_cart_tooltip {
  position: absolute;
  background-color: #d5d5d5;
  color: #fff;
  padding: 3px;
  border-radius: 5px;
  display: none;
  max-width: 94vw;
  box-sizing: border-box;
  width: 100%;
}

@media (min-width: 768px) {
  .share_cart_tooltip {
    width: auto;
    min-width: 400px;
    max-width: 460px;
  }
}

.share_cart_tooltip_container {
  display: flex;
}

.share_cart_tooltip input {
  width: 100%;
}

.share_cart_tooltip .close {
  width: 20px;
  height: 20px;
  background: #404040;
  position: absolute;
  right: -9px;
  top: -5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
}

.share_cart_tooltip .copy_link {
  background: url("../images/copy.svg") no-repeat center center;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  width: 40px;
  height: 30px;
}

.share_cart_tooltip .copy_link:hover {
  background-size: 50%;
}
