.icqr-wrap {
  width: 100%;
}

.icqr-form {
  display: flex;
  gap: 12px;
}

#icqr-input {
    flex: 1;
    padding: 14px;
    font-size: 16px;
    margin: 0px;
    height: 45px;
    border-radius: 8px;
}

#icqr-generate {
    padding: 0 30px;
    font-size: 15px;
    cursor: pointer;
    margin: 0px;
    height: 45px;
    border-radius: 8px;
    background: #0075db;
    color: white;
}

#icqr-note {
    font-size: 16px;
    text-align: center;
}
.icqr-wrap {
  visibility: hidden;
}
.tool-content h2 {
    text-align: center;
    margin-bottom: 30px;font-size: 32px;
}
.tool-content {
    padding: 30px;
    background: white;
    border-radius: 8px;
}

.icqr-preview {
    width: 350px;
    height: 350px;
    position: relative;
}

#icqr-placeholder {
  width: 100%;
  height: 100%;
  opacity: 0.35;
  display: block;
}

#icqr-svg {
  position: absolute;
  inset: 0;
}

#icqr-svg:empty {
  display: none;
}

#icqr-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

#icqr-download {
    margin: 0px;
    background: #0075db;
    color: white;
    border-radius: 8px;
    font-size: 16px;
    padding: 4px 20px;
}
.customqr {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#icqr-download:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.icqr-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-flow: dense;
    gap: 20px;
    margin-bottom: 30px;
}

.icqr-item {
  grid-column: span 1;
  grid-row: span 1;
}

.icqr-item:nth-child(1) {
  grid-column: span 2;
}

.icqr-item:nth-child(5) {
  grid-column: span 2;
}

.icqr-item:nth-child(7) {
  grid-column: span 2;
  grid-row: span 2;
}

.icqr-item:nth-child(9) {
  grid-column: span 2;
}

.icqr-item:nth-child(n + 15) {
  grid-column: span 1 !important;
  grid-row: span 1 !important;
}
.icqr-item {
    padding: 30px 12px;
    text-align: center;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    background: #fff;
    font-size: 17px;
    transition: all 0.2s ease;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icqr-item:hover {
    background: #e4f2ff;
    color: #0075db;
    border: 1px solid #0075db;
}

.icqr-slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.icqr-slider::-webkit-scrollbar {
  height: 4px;
}

.icqr-slider::-webkit-scrollbar-thumb {
  background: #ccc;
}

.icqr-tab {
    flex: 0 0 auto;
    padding: 8px 14px;
    border: 1px solid #e3e3e3;
    font-size: 14px;
    cursor: pointer;
    color: #555;
    white-space: nowrap;
    background: #fff;
    border-radius: 8px;
}

.icqr-tab.active {
    border-color: #0075db;
    background: #0075db;
    color: white;
}

.icqr-wrap.is-collapsed {
  position: relative;
}

.icqr-wrap.is-collapsed .icqr-grid {
  max-height: 420px;
  overflow: hidden;
}

.icqr-wrap.is-collapsed::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0),
    #ffffff
  );
  pointer-events: none;
}

.icqr-wrap.is-expanded .icqr-grid {
  max-height: none;
}

.icqr-show-more {
    margin: 20px auto 0;
    display: block;
    background: #fff;
    border: 1px solid #ddd;
    padding: 4px 30px;
    border-radius: 99px;
    cursor: pointer;
    font-size: 15px;
}

.icqr-show-more:hover {
  border-color: #0075db;
  color: #0075db;
}
.icqr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 26px 12px;
  text-align: center;
}

.icqr-item::before {
  content: "";
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}

.icqr-item[data-type="url"]::before {
  background-image: url("../icons/url.svg");width:42px;height:42px;margin-bottom:10px;
}

.icqr-item[data-type="facebook"]::before {
  background-image: url("../icons/facebook.svg");width:42px;height:42px;margin-bottom:10px;
}

.icqr-item[data-type="instagram"]::before {
  background-image: url("../icons/instagram.svg");width:42px;height:42px;margin-bottom:10px;
}

.icqr-item[data-type="linkedin"]::before {
  background-image: url("../icons/linkedin.svg");width:42px;height:42px;margin-bottom:10px;
}

.icqr-item[data-type="telegram"]::before {
  background-image: url("../icons/telegram.svg");width:42px;height:42px;margin-bottom:10px;
}

.icqr-item[data-type="tiktok"]::before {
  background-image: url("../icons/tiktok.svg");width:42px;height:42px;margin-bottom:10px;
}

.icqr-item[data-type="twitter"]::before {
  background-image: url("../icons/twitter.svg");width:42px;height:42px;margin-bottom:10px;
}

.icqr-item[data-type="whatsapp"]::before {
  background-image: url("../icons/whatsapp.svg");width:42px;height:42px;margin-bottom:10px;
}

.icqr-item[data-type="youtube"]::before {
  background-image: url("../icons/youtube.svg");width:42px;height:42px;margin-bottom:10px;
}

.icqr-item[data-type="reddit"]::before {
  background-image: url("../icons/reddit.svg");width:42px;height:42px;margin-bottom:10px;
}
.icqr-item[data-type="pinterest"]::before {
  background-image: url("../icons/pinterest.svg");width:42px;height:42px;margin-bottom:10px;
}
.icqr-item[data-type="zalo"]::before {
  background-image: url("../icons/zalo.svg");width:42px;height:42px;margin-bottom:10px;
}

.icqr-item[data-type="snapchat"]::before {
  background-image: url("../icons/snapchat.svg");width:42px;height:42px;margin-bottom:10px;
}

.icqr-item[data-type="discord"]::before {
  background-image: url("../icons/discord.svg");width:42px;height:42px;margin-bottom:10px;
}
@media screen and (max-width: 1400px) and (min-width: 768px){.icqr-grid {
    grid-template-columns: repeat(4, 1fr);
}}
@media screen and (max-width: 767px){.icqr-grid {
    grid-template-columns: repeat(2, 1fr);
}}