html, body {
    background: linear-gradient(135deg, #027f88 0%, #080b20 100%);
    background-attachment: fixed;
    background-attachment: fixed;
}
 
.main-container-my_links {
  max-width: 1300px;
  margin: 90px auto 0 auto;
  padding: 5px 20px 40px 20px;
  background: #232946e5;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(44, 62, 80, 0.18);
  border: 1.5px solid #38c6d9;
}
.color-options, .config-block{
  margin-bottom: 20px;
}


.main-container-my_links-new {
  max-width: 800px;
  padding: 0 20px 75px 16px;
  margin: 120px auto 0 auto;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.main-container-my_links-new.has-background {
  margin-top: 95px;
}

.main-container-my_links-new.no-background {
  margin-top: 10px;
}

#preview-bg-panel-image {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(810px, 100vw);
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
}

#preview-bg-panel-video {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(810px, 100vw);
  height: 110vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
}

#video-upload-loading{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.85);
    z-index:999999;
    display:none;
    align-items:center;
    justify-content:center;
    backdrop-filter:blur(4px);
}

.video-upload-loading-content{
    text-align:center;
    color:#fff;
}

.video-upload-text{
    margin-top:20px;
    font-size:18px;
}

.video-upload-text small{
    color:#bbb;
}

.video-upload-spinner{
    width:60px;
    height:60px;
    border:5px solid rgba(255,255,255,.15);
    border-top:5px solid #3ea6ff;
    border-radius:50%;
    animation:videoSpin .8s linear infinite;
    margin:auto;
}

@keyframes videoSpin{
    to{
        transform:rotate(360deg);
    }
}

.main-container-my_links-new {
  position: relative;
  z-index: 2;
}

@media (max-width: 750px) {
  #preview-bg-panel-image, #preview-bg-panel-video {
    width: 100vw;
    left: 0;
    transform: none;
  }
}


.service-header {
  text-align: center;
  margin-bottom: 24px;
  color: #e0eaff;
}

.user-username {
 margin-top: 30px;
}

.bio-text {
  text-align: center;
}

.service-title {
  font-size: 2.2rem;
  color: #38c6d9;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.service-subtitle {
  font-size: 1.1rem;
  color: #b8b8ff;
  margin-bottom: 0;
}

.service-features {
  margin: 32px 0 24px 0;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.plans-pricing-wrapper {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.plans-pricing-wrapper span {
  font-size:0.5em;
  font-weight:normal;
}

.demo-link {
  background: #2d3250;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 1rem;
  min-width: 220px;
  text-align: center;
  border: 1.5px solid #ff9100;
  box-shadow:
    0 0 8px #ff9100,
    0 0 8px #ff9100,
    0 0 16px #ff9100,
    0 0 32px #ff9100;
  animation: neon-glow 1.2s ease-in-out infinite alternate;
}
.demo-link a {
  text-decoration: none;
  color: #ffffff;
}

@keyframes neon-glow {
  0% {
    box-shadow:
      0 0 3px #ff9100,
      0 0 3px #ff9100,
      0 0 6px #ff9100,
      0 0 12px #ff9100;
    border-color: #ff9100;
  }
  100% {
    box-shadow:
      0 0 5px #ff9100,
      0 0 10px #ff9100,
      0 0 20px #ff9100,
      0 0 40px #ff9100;
    border-color: #fff3e0;
  }
}



.feature-item {
  background: #2d3250;
  border-radius: 8px;
  padding: 12px 20px;
  color: #e0eaff;
  font-size: 1rem;
  min-width: 220px;
  text-align: center;
  box-shadow: 0 1px 8px rgba(56, 198, 217, 0.10);
  border: 1.5px solid #38c6d9;
}

.feature-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(56, 198, 217, 0.2);
}



.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, color .15s, border .15s;
  border: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: #38c6d9;
  color: #232946;
  border: 2px solid #38c6d9;
}

.btn-primary:hover {
  background: #232946;
  color: #38c6d9;
}

.btn-outline-primary {
  background: #232946;
  color: #38c6d9;
  border: 2px solid #38c6d9;
}

.btn-outline-primary:hover {
  background: #38c6d9;
  color: #232946;
}

.btn-pro {
  background: #ffb700;
  color: #232946;
  border: 2px solid #ffb700;
}

.btn-pro:hover {
  background: #38c6d9;
  color: #232946;
}

.service-cta {
  text-align: center;
  margin-top: 36px;
}

.faq-section {
  margin-top: 60px;
  padding: 40px 20px;
  background: #2d3250;
  border-radius: 12px;
  border: 1.5px solid #38c6d9;
}

.faq-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 600;
  color: #38c6d9;
  letter-spacing: 1px;
}

.faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #38c6d9;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 15px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  color: #b8b8ff;
  transition: 0.3s;
}

.faq-question:hover {
  color: #38c6d9;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: #e0eaff;
}


.faq-answer a {
  color: #38c6d9;
  text-decoration: underline;
  transition: color 0.3s;
}

.faq-answer a:hover {
  color: #ffb700;
  text-decoration: underline;
}

.faq-answer p {
  padding: 0 15px 15px;
  color: #b8b8ff;
  font-size: 15px;
}

/* ativo */
.faq-item.active .faq-answer {
  max-height: 200px;
  color: #38c6d9;
}

.faq-item.active .faq-question {
  color: #38c6d9;
}

.terms-footer {
  background: linear-gradient(180deg, #232946 0%, #163438 100%);
  color: #e0eaff;
  padding: 40px 20px 24px;
  text-align: center;
  border-top: 2px solid #ffb700;
  box-shadow: 0 -4px 20px rgba(56, 198, 217, 0.18);
  margin-top: 60px;
}

.terms-footer .terms-links {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.terms-footer .terms-links a {
  color: #ffb700;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.terms-footer .terms-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffb700, #38c6d9);
  transition: width 0.3s ease;
}

.terms-footer .terms-links a:hover {
  color: #38c6d9;
}

.terms-footer .terms-links a:hover::after {
  width: 100%;
}

.terms-footer .copyright {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.7;
  color: #b8b8ff;
}

.username-block {
  margin-top: 80px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bio-block {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.input-username, .input-bio {
  width: 100% !important;
  max-width: 280px !important;
  font-size: 16px;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1.5px solid #38c6d9;
  margin-right: 8px;
  background: #232946;
  color: #e0eaff;
  text-align: center;
}



.btn-select-theme.selected {
  border: 2px solid #15ff00 !important;
  background: #232946 !important;
  color: #15ff00 !important;
  box-shadow: 0 0 8px 2px #15ff00, 0 0 16px 4px #15ff0080;
  animation: glow-green 1.2s ease-in-out infinite alternate;
  pointer-events: none;
  opacity: 0.7;
  cursor: default;
}

@keyframes glow-green {
  0% {
    box-shadow: 0 0 4px #15ff00, 0 0 8px 2px #15ff0080;
  }
  100% {
    box-shadow: 0 0 16px 4px #15ff00, 0 0 24px 6px #15ff0080;
  }
}

.reset-custom-theme {
  border: 2px solid #ffb300 !important;
  background: #232946 !important;
  color: #ffb300 !important;
  margin: 20px;
  padding: 10px 22px;
  border-radius: 12px;
  box-shadow: 0 0 8px #ffb30080;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
  margin:10px auto 30px auto;
}

.reset-custom-theme:hover {
  background: #ffb300 !important;
  color: #232946 !important;
  border: 2px solid #ffb300 !important;
  box-shadow: 0 0 16px #ffb300cc;
}
  
.close-alert-all {
  border: 2px solid #ff4800 !important;
  background: #232946 !important;
  color: #ff4800 !important;
  margin: 20px;
  padding: 10px 22px;
  border-radius: 12px;
  box-shadow: 0 0 8px #ff480080;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
  margin:10px auto 30px auto;
}

.close-alert-all:hover {
  background: #ff4800 !important;
  color: #232946 !important;
  border: 2px solid #ff4800 !important;
  box-shadow: 0 0 16px #ff4800cc;
}


.centralize-btn {
  margin-top: 20px;
  text-align: center;
}



.profile-cover-block {
  position: relative;
  width: 100%;
  height: 140px;
  margin-top: 10px;
  margin-bottom: 40px;
  transition: height 0.3s, margin-bottom 0.3s;
}
.profile-cover-block.has-cover {
  height: 140px !important;
  margin-top: 10px !important;
  margin-bottom: 40px !important;
}
.profile-cover-block.no-cover {
  height: 100px !important;
  margin-top: 120px !important;
  margin-bottom: 10px !important;
}

@media (max-width: 768px) {
  .profile-cover-block.no-cover {
    height: 100px !important;
    margin-top: 100px !important;
    margin-bottom: 10px !important;
  }
}


.profile-cover-img {
  position: relative;
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 0 4px 4px #000000c4;
    border-left: 3px solid #ffffff;
    border-right: 3px solid #ffffff;
    border-bottom: 3px solid #ffffff;
    overflow: hidden;
}



.profile-avatar-wrapper {
  position: absolute;
  left: 50%;
  bottom: -70px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 6px #232946, 0 0 16px 2px rgb(0, 0, 0);
    object-fit: cover;
    background: #fff;
}

#cropper-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: rgba(24,28,43,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}

#cropper-modal .cropper-content {
  background: #232946;
  padding: 18px 12px 12px 12px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(56,198,217,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 420px;
  max-width: 420px;
  width: 100%;
  margin: auto;
}

#cropper-image {
  max-width: 420px;
  max-height: 420px;
  border-radius: 8px;
  margin-bottom: 14px;
  background: #2d3250;
}

#cropper-confirm, #cropper-cancel {
  margin: 0 8px;
  padding: 10px 22px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.5px;
}

#cropper-confirm { background: #4caf50; color: #fff; }
#cropper-cancel { background: #ffb700; color: #232946; }

.ico-social-icon {
  width:42px;
  height:42px;
  vertical-align:middle;
  border-radius:50%;
  border-bottom: 2px solid #00f7ff;
  border-right: 3px solid #00f7ff;
  box-shadow: 2px 2px 3px #000000;
  transition:box-shadow .2s;
}

.icon-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  justify-content: center;
}
.icon-choice {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: 2px solid #2d3250;
  cursor: pointer;
  transition: border 0.2s, box-shadow 0.2s;
  background: #232946;
}
.icon-choice.selected,
  .icon-choice:hover {
  border: 3px solid #ff0000 !important;
  box-shadow: 0 0 8px #38c6d944;
  background: none;
  border-radius: 50%!important;
}

.custom-link-actions.horizontal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.move-up-down {
  display: flex;
  flex-direction: row; /* <-- agora ficam lado a lado */
  align-items: center;
  gap: 4px; /* espaço entre as setas */
}

.other-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.custom-link-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 15px;
  margin-bottom: 18px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 2px 2px 8px #000000ce;
}
.custom-link-content {
  flex: 1;
}

.custom-link-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 6px;
}

.custom-link-actions,
.horizontal-actions {
  display: flex;
  flex-direction: row;      /* Garante horizontal */
  gap: 8px;                 /* Espaço entre os botões */
  justify-content: flex-end;/* Alinha à direita */
  align-items: center;      /* Centraliza verticalmente */
}
.custom-link-desc {
  font-size: 14px;
  color: #000000;
  margin-top: 4px;
  /* Remova qualquer max-height, overflow, clamp, etc */
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  display: block;
}

.color-choice.selected, .username-color-choice.selected, .bio-color-choice.selected, .bio-color-choice.selected {
  border: 2px solid #ff0000;
  box-shadow: 0 0 0 2px #ffb700;
}

.like-btn-minimal {
  background: #232946;
  border-radius: 20px;
  box-shadow: none;
  display: flex;
  align-items: center;
  padding: 0 10px;
  height: 30px;
  border: none;
}

.btn-like-minimal {
  background: transparent !important;
  border: none !important;
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 2px;
  cursor: default;
  padding: 0;
  box-shadow: none !important;
}

.like-icon-minimal {
  color: #ff0000;
  font-size: 12px;
  margin-right: 4px;
}

.like-count-minimal {
  color: #fff;
  font-weight: 600;
  font-size: 12px;
}

.custom-link-img img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  border: 2px solid #ffffff;
}

.custom-link-title {
 font-weight: bold;
    font-size: 1.08em;
    margin-bottom: 2px;
    color: #002aff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}


.config-bar-wrapper {
  position: fixed;
  top: 55px; /* distância do topo */
  left: 0;
  width: 100%;
  z-index: 200;
  background: transparent; /* transparente para não aparecer nas bordas */
  box-shadow: none;
  pointer-events: none; /* permite clicar só no conteúdo interno */
}

.config-bar-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 auto 5px auto;
  background: #232946;
  color: #fff;
  box-shadow: 0 2px 8px rgba(56,198,217,0.10);
  border-radius: 0 0 12px 12px;
  pointer-events: auto; /* ativa clique só no centro */
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid #38c6d9;
  align-items: center;
}

/* Barra de botões de configuração */
.global-config-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0 8px 0;
  background: none;
  box-shadow: none;
  margin: 0;
  position: static;
}


.btn-global-config {
  background: linear-gradient(90deg, #163033 0%, #20173d 100%);
  color: #fff;
  border: 2.5px solid #ffb700;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px 26px;
  position: relative;
  overflow: hidden;
}

.btn-global-config:active {
  background: linear-gradient(90deg, #ffb700 0%, #232946 100%);
  color: #7f5af0;
  border-color: #38c6d9;
  box-shadow: 0 0 8px #ffb700cc, 0 0 2px #38c6d9cc inset;
  text-shadow: 0 0 6px #ffb700cc;
  transform: scale(0.97);
}

.btn-global-config:hover {
  background: linear-gradient(90deg, #7f5af0 0%, #38c6d9 100%);
  color: #fffbe7;
  box-shadow: 0 4px 16px #38c6d988;
  transform: translateY(-2px) scale(1.03);
}

.share-link-block{
  padding: 18px 20px;
  display:flex; 
  align-items:center;
  gap:10px; 
  justify-content:center; 
  margin-bottom:18px;
}
.share-link-input{
  width: 220px;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #a78bfa;
  background: #23263a;
  color: #fff;
  font-size: 1.05em;
  cursor: pointer;
}

.tabs-products, .tabs-videos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 8px;

    border-radius: 18px;

    background: rgba(0, 0, 0, 0.582);
    backdrop-filter: blur(18px);

    width: fit-content;
    margin: 0 auto 20px;
}

.tab-button, .btn-add-products, .btn-order-categories, .btn-add-videos {
    border: 0;
    outline: none;

    cursor: pointer;

    padding: 12px 20px;

    border-radius: 14px;

    font-size: 14px;
    font-weight: 600;

    background: transparent;

    /* 🔥 troca aqui */
    color: rgba(255, 255, 255, 0.85);

    transition: .25s ease;
}

.tab-button:hover {
    background: rgba(255,255,255,.10);
    transform: translateY(-1px);
    color: #fff;
}

.tab-button.active {

    background: linear-gradient(
        135deg,
        #6366f1,
        #8b5cf6
    );

    color: #fff;

    box-shadow:
        0 8px 24px rgba(99,102,241,.35);

}

.btn-add-products, .btn-order-categories, .btn-add-videos {

    background: linear-gradient(
        135deg,
        #6366f1,
        #8b5cf6
    );

    color: #fff;

    box-shadow:
        0 8px 24px rgba(99,102,241,.35);

}

.btn-add-products:hover, .btn-order-categories:hover, .btn-add-videos:hover {
    transform: translateY(-1px);
}




/* Botão Salvar Global */
  .btn-save-global, .btn-save-bg-body, .btn-save-link-style, .btn-save-bg-cover, .btn-save-username, .btn-save-bio, .btn-quick-links, .btn-add-links, .hjjnu58cxs515cs {
    background: linear-gradient(90deg, #1e6d77 0%, #50369c 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 26px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px #38c6d955;
    transition: background 0.2s, color 0.2s, transform 0.1s;
    position: relative;
    overflow: hidden;
  }

.btn-save-global:hover,
.btn-save-bg-body:hover,
.btn-save-link-style:hover,
.btn-save-bg-cover:hover,
.btn-save-username:hover,
.btn-save-bio:hover,
.btn-quick-links:hover,
.btn-add-links:hover,
.hjjnu58cxs515cs:hover {
  background: linear-gradient(90deg, #7f5af0 0%, #38c6d9 100%);
  color: #fffbe7;
  box-shadow: 0 4px 16px #38c6d988;
  transform: translateY(-2px) scale(1.03);
}

.btn-save-global:active,
.btn-save-bg-body:active,
.btn-save-link-style:active,
.btn-save-bg-cover:active,
.btn-save-username:active,
.btn-save-bio:active,
.btn-quick-links:active,
.btn-add-links:active,
.hjjnu58cxs515cs:active {
  background: linear-gradient(90deg, #38c6d9 0%, #232946 100%);
  color: #7f5af0;
  box-shadow: 0 0 8px #38c6d9cc, 0 0 2px #7f5af0cc inset;
  transform: scale(0.97);
}

.btn-custom-link-color {
  position: relative;
  display: inline-block;
}

.btn-config-avatar, .btn-config-username, .btn-config-bio, .btn-custom-link-color, .btn-move-custom-link-up, .btn-move-custom-link-down, .btn-custom-link-edit  {
  background: linear-gradient(90deg, #38c6d9 0%, #7f5af0 100%);
  color: #fff;
  border: 1px solid #ffffff;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px #38c6d955;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  position: relative;
  overflow: hidden;
}

.btn-edit-link{
  background: linear-gradient(90deg, #3bff5c 0%, #017e0b 100%);
  color: #fff;
  border: 1px solid #ffffff;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px #ff5f5699;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  position: relative;
  overflow: hidden;
}


.color-quick-select-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}

.overlay-color-choices {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 8px;
}

.color-choice, .username-color-choice, .bio-color-choice {
  width: 32px;
  height: 32px;
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  cursor: pointer;
  transition: border 0.2s, box-shadow 0.2s;
  outline: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.color-choice.selected,
.username-color-choice.selected,
.bio-color-choice.selected,
.color-choice:focus,
.username-color-choice:focus,
.bio-color-choice:focus {
  border: 2.5px solid #232946;
  box-shadow: 0 0 0 2px #b7ffb7;
}

.username-style-controls, .bio-style-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}

.username-color-premium-hint, .bio-color-premium-hint {
  margin-top:8px;
  font-size:15px;
  color: #bebebe;
}

.color-premium-hint {
  margin-top: 2px;
  font-size: 13px;
  margin-top:8px;
  margin-bottom:20px;
  font-size:15px;
  color: #ff3864;
  text-align: center;
}

.extras-btn-pro {
  margin-top:12px;
  text-align:center;
}

.btn-upgrade {
  display:inline-block;
  padding:8px 18px;
  background:#e0d203;
  color:#232946;
  border-radius:6px;
  font-weight:bold;
  text-decoration:none;
  font-size:15px;
  transition:background 0.2s;
}
.btn-upgrade:hover {
  background:#d4c200;
}

.copy-success-msg {
  display: none;
  color: #34d399;
  text-align: center;
  margin-top: 8px;
}

.share-qr-code {
  max-width: 100px;
  border-radius: 8px;
  border: 4px solid #00f7ff;
  margin-bottom: 20px;
}

.share-qr-actions {
  margin-top: 2px;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.color-options-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.color-options-premium {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 820px;
}

.color-options-premium-1 {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.color-options-premium-1 label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cover-br-colors {
  margin-top:16px;
  display:flex;
  align-items:center;
  gap:10px;
}

.config-link-colors {
  display:flex;
  gap:20px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:20px;
}

.avatar-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 6px;
}

.no-social-links {
  color: #ffffff;
  font-size: 15px;
  margin-top: 8px;
  background: #232946;
  padding: 8px;
  border-radius: 4px;
}

.input-custom-link-color {
  width: 24px;
  height: 24px;
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
}

.btn-outline-primary {
  background: #b80101!important;
  color: #ffffff!important;
  border: 1px solid #ffffff!important;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s;
}

.btn-outline-primary:hover {
  background: #38c6d9;
  color: #fff;
}

.like-links {
   align-items: center; /* Centraliza horizontalmente o conteúdo */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centraliza horizontalmente o conteúdo */
  background: #3b4370;
  border: 1px solid #ced5f7;
  border-radius: 8px;
  padding: 5px 8px 15px 8px;
}

.extras-block-wrapper {
  align-items: center; /* Centraliza horizontalmente o conteúdo */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centraliza horizontalmente o conteúdo */
  background: #3b4370;
  border: 1px solid #ced5f7;
  border-radius: 8px;
  padding: 5px 8px 15px 8px;
}
.extra-effect-title {
  font-size: 1.1em;
  font-weight: bold;
  color: #38c6d9;
  margin-bottom: 12px;
  margin-left: 2px;
  display: block;
  text-align: center; /* Centraliza o texto */
  width: 100%;        /* Garante que ocupe toda a largura do bloco */
}
.extra-effect-block {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
@media (max-width: 700px) {
  .extra-effect-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;   /* Permite quebra automática */
    gap: 12px;
    align-items: center;
    justify-content: center; /* Centraliza horizontalmente */
  }
  .config-bar-inner .extra-effect-block {
    gap: 8px;
    align-items: stretch;
    width: 100%;
    justify-content: center; /* Mantém centralizado no mobile */
  }
}


.edit-link-form,
.add-link-block {
  background: #e6eaf3;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(60,60,80,0.10);
  padding: 18px 20px;
  margin: 18px 0;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}


.edit-link-form label,
.add-link-block label {
  font-weight: 600;
  color: #1a2236;
  display: flex;
  flex-direction: column;
  gap: 4px;
  letter-spacing: 0.01em;
}


.edit-link-form input[type="url"],
.edit-link-form input[type="text"],
.edit-link-form textarea,
.add-link-block input[type="url"],
.add-link-block input[type="text"],
.add-link-block textarea {
  border: 1px solid #b3b8c5;
  border-radius: 6px;
  padding: 8px;
  font-size: 15px;
  width: 100%;
  background: #f3f5fa;
  margin-top: 2px;
  color: #232946;
  font-weight: 500;
}


.edit-link-form input[type="file"],
.add-link-block input[type="file"] {
  margin-top: 4px;
  color: #232946;
}


.edit-link-form .btn,
.add-link-block .btn {
  margin-right: 8px;
  min-width: 90px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #3a506b 0%, #5bc0be 100%);
  border: none;
  box-shadow: 0 2px 8px #5bc0be33;
  transition: background 0.2s, color 0.2s, transform 0.1s;
}


.edit-link-form .btn:last-child,
.add-link-block .btn:last-child {
  margin-right: 0;
}



@media (max-width: 750px) {
  .custom-link-title {
    display: -webkit-box;
    display: box; /* fallback para alguns navegadores antigos */
    -webkit-line-clamp: 1;
    line-clamp: 1; /* propriedade padrão */
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal !important;
    word-break: break-word;
    max-width: 100%;
  }
  .custom-link-desc {
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal !important;
    word-break: break-word;
    max-width: 100%;
  }
  .edit-link-form {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 6px;
    overflow-x: auto;
    left: -60px;
  }

   .custom-link-item .edit-link-form {
    margin-left: -30px;
    margin-right: -30px;
    width: calc(100% + 60px);
    max-width: none;
  }
}















.btn-custom-link-reset{
  background: linear-gradient(90deg, #ffa33b 0%, #7e4801 100%);
  color: #fff;
  border: 1px solid #ffffff;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px #ff5f5699;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  position: relative;
  overflow: hidden;
}

.btn-remove-avatar, .btn-custom-link-delete, .btn-remove-color, .btn-remove-style {
  background: linear-gradient(90deg, #ff453b 0%, #7e1001 100%);
  color: #fff;
  border: 1px solid #ffffff;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px #ff5f5699;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  position: relative;
  overflow: hidden;
}

/* Botão Perigo Global */
.btn-remove-bg-cover, .btn-cancel-username, .btn-remove-bg-panel-image, .btn-cancel-bio {
  background: linear-gradient(90deg, #ff5f56 0%, #ffb700 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px 26px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px #ff5f5699;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  position: relative;
  overflow: hidden;
}

.btn-remove-bg-cover:hover,
.btn-cancel-username:hover,
.btn-remove-bg-panel-image:hover,
.btn-cancel-bio:hover {
  background: linear-gradient(90deg, #ffb700 0%, #ff5f56 100%);
  color: #232946;
  box-shadow: 0 4px 16px #ffb70088;
  transform: translateY(-2px) scale(1.03);
}

.btn-remove-bg-cover:active,
.btn-cancel-username:active,
.btn-remove-bg-panel-image:active,
.btn-cancel-bio:active {
  background: linear-gradient(90deg, #ff5f56 0%, #232946 100%);
  color: #ffb700;
  box-shadow: 0 0 8px #ff5f56cc, 0 0 2px #ffb700cc inset;
  transform: scale(0.97);
}

.username-edit-block, .bio-edit-block {
  margin-top: 16px;
  background: #2f2f31;
  padding: 16px;
  border-radius: 12px;
  color: #ffffff;
  display: none;
}

.btns-links-edit {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 30px auto 30px auto;
}

/* Blocos de configuração (cores, capa, etc) */
.config-blocks {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  background: none;
  box-shadow: none;
  margin: 0;
  padding: 0 8px;
}

.config-block {
  margin: 0;
  padding: 0 8px;
  background: none;
  box-shadow: none;
  border: none;
  align-items: center;
  display:none;
  max-width:850px;
  margin:auto;
}

.vertical-actions {
  flex-direction: column !important;
  align-items: flex-end;
  gap: 8px;
}
.vertical-actions .btn-custom-link-color,
.vertical-actions .btn-custom-link-delete,
.vertical-actions .btn-custom-link-edit {
  display: flex;
  align-items: center;
  width: auto;
  margin: 0;
}

.saved-social-link-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.modal-social-link {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 9999;
  transform: translateX(-50%);

  width: min(820px, calc(100vw - 28px));
  max-height: calc(100vh - 160px);
  overflow: auto;

  background: #1e2a32;
  border-radius: 18px;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, .42),
    0 0 0 100vmax rgba(2, 6, 23, .72),
    0 1.5px 0 #ffb700 inset;

  padding: 28px 26px 24px;
  color: #f3f4fa;
  border: 1.5px solid #23313a;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  display: none;
}

.modal-social-link h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: #ffb700;
  letter-spacing: 0.01em;
}

.modal-social-link hr {
  border: none;
  border-top: 1px solid #23313a;
  margin: 24px 0 18px 0;
}



.modal-social-link .saved-social-link-item {
  background: #22313a;
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 0 2px 8px 0 rgba(30,42,50,0.08);
  transition: box-shadow 0.18s, background 0.18s;
}
.modal-social-link .saved-social-link-item:hover {
  background: #263742;
  box-shadow: 0 4px 16px 0 rgba(30,42,50,0.13);
}

.modal-social-link .btn-move-up,
.modal-social-link .btn-move-down {
  background: #19242b;
  color: #ffb700;
  border: none;
  border-radius: 4px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.modal-social-link .btn-move-up:hover,
.modal-social-link .btn-move-down:hover {
  background: #ffb700;
  color: #19242b;
}

.modal-social-link .icon-choice-saved {
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border 0.18s, box-shadow 0.18s;
}
.modal-social-link .icon-choice-saved:hover {
  border: 2px solid #ffb700;
  box-shadow: 0 0 0 2px #ffb70033;
}

.modal-social-link .input-social-url-saved {
  background: #1e2a32;
  border: 1px solid #2e3d47;
  color: #f3f4fa;
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 1em;
  transition: border 0.18s;
}
.modal-social-link .input-social-url-saved:focus {
  border: 1.5px solid #ffb700;
  outline: none;
}

.modal-social-link .btn-update-social-link {
  background: linear-gradient(90deg, #b7ffb7 60%, #7be495 100%);
  color: #1e2a32;
  border: none;
  border-radius: 4px;
  padding: 4px 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.modal-social-link .btn-update-social-link:hover {
  background: linear-gradient(90deg, #7be495 60%, #b7ffb7 100%);
  color: #163438;
}

.modal-social-link .btn-remove-social-link {
  background: linear-gradient(90deg, #ffb7b7 60%, #ff7b7b 100%);
  color: #1e2a32;
  border: none;
  border-radius: 4px;
  padding: 4px 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.modal-social-link .btn-remove-social-link:hover {
  background: linear-gradient(90deg, #ff7b7b 60%, #ffb7b7 100%);
  color: #163438;
}

.modal-social-link .icon-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  align-items: center;
}
.modal-social-link .icon-choice {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: #22313a;
  cursor: pointer;
  transition: border 0.18s, box-shadow 0.18s, background 0.18s;
}
.modal-social-link .icon-choice:hover {
  border: 2px solid #ffb700;
  background: #263742;
  box-shadow: 0 0 0 2px #ffb70033;
}
.modal-social-link .btn-personalize-icon {
  background: #232946;
  color: #ffb700;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.18s, color 0.18s;
}
.modal-social-link .btn-personalize-icon:hover {
  background: #ffb700;
  color: #232946;
}

.modal-social-link #input-social-url {
  width: 100%;
  background: #3a4e5c;
  border: 1px solid #2e3d47;
  color: #f3f4fa;
  border-radius: 5px;
  padding: 8px 10px;
  font-size: 1em;
  margin-bottom: 14px;
  transition: border 0.18s;
}
.modal-social-link #input-social-url:focus {
  border: 1.5px solid #ffb700;
  outline: none;
}

/* Placeholder claro e reforçado para o campo de link social */
#input-social-url::placeholder {
  color: #fffbe7 !important;      /* tom bem claro */
  font-weight: 700;
  font-size: 1.08em;
  letter-spacing: 0.5px;
  opacity: 1;                     /* força a opacidade máxima */
  text-shadow: 0 1px 4px #23294688;
}

#input-social-url:focus::placeholder {
  color: transparent !important;
}

.modal-social-link .btn-save-social-link,
.modal-social-link .btn-cancel-social-link {
  background: #ffb700;
  color: #232946;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 1em;
  margin-right: 10px;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.modal-social-link .btn-save-social-link:hover,
.modal-social-link .btn-cancel-social-link:hover {
  background: #232946;
  color: #ffb700;
}

@media (max-width: 750px) {
  .modal-social-link {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 96px);
    padding: 18px 14px;
    border-radius: 14px;
  }


  .saved-social-link-item {
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
  }

  .saved-social-link-item .input-social-url-saved {
    flex: 1 1 120px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-all !important;
    height: auto !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}


/* Tema moderno e bonito: tons médios e claros */

/* Centralizar todo conteúdo */
#add-link-block {
  background: linear-gradient(135deg, #232946 60%, #393e5c 100%);
  border-radius: 18px;
  color: #e3e6ee;
  box-shadow: 0 4px 24px 0 rgba(35,41,70,0.25), 0 1.5px 0 #232946 inset;
  padding: 32px 28px 28px 28px;
  min-width: 240px;
  max-width: 720px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  border: 1.5px solid #393e5c;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}

#add-link-block:hover {
  box-shadow: 0 8px 32px 0 rgba(35,41,70,0.32), 0 1.5px 0 #ffb700 inset;
  border-color: #ffb700;
  transform: translateY(-2px) scale(1.02);
}

#add-link-block input,
#add-link-block textarea {
  background: #0d0d47;
  border: 1.5px solid #393e5c;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 1rem;
  color: #e3e6ee;
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box; /* <-- adicione esta linha */
  transition: border-color 0.2s, box-shadow 0.2s;
}
#add-link-block input:focus,
#add-link-block textarea:focus {
  border-color: #ffb700;
  outline: none;
  box-shadow: 0 0 0 2px #393e5c;
}

/* Botões lado a lado e destacados */
#add-link-block .btn-actions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 18px;
  width: 100%;
  margin-top: 8px;
}

#add-link-block .btn-save-link {
  background: linear-gradient(90deg, #ffb700 60%, #ff8c00 100%);
  color: #232946;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(255,183,0,0.18);
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.5px;
  outline: none;
}

#add-link-block .btn-save-link:hover {
  background: linear-gradient(90deg, #ffd700 60%, #ffb700 100%);
  color: #232946;
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 4px 18px 0 rgba(255,183,0,0.28);
}

#add-link-block .btn-cancel-link {
  background: linear-gradient(90deg, #393e5c 60%, #232946 100%);
  color: #ffb700;
  border: 1.5px solid #ffb700;
  border-radius: 8px;
  padding: 12px 32px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.5px;
  outline: none;
}

@media (max-width: 750px) {
  #add-link-block {
    max-width: 98vw;
    padding: 18px 4vw 18px 4vw;
    box-sizing: border-box;
  }
  #add-link-block input,
  #add-link-block textarea {
    font-size: 0.98rem;
    padding: 8px 10px;
  }
  #add-link-block .btn-actions {
    flex-direction: column;
    gap: 10px;
  }
  #add-link-block .btn-save-link,
  #add-link-block .btn-cancel-link {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
  }
}

#add-link-block .btn-cancel-link:hover {
  background: linear-gradient(90deg, #232946 60%, #393e5c 100%);
  color: #fff;
  border-color: #ffd700;
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 4px 18px 0 rgba(35,41,70,0.28);
}

.plan-card {
  background: linear-gradient(135deg, #b4edff 70%, hsl(231, 100%, 80%) 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(44,62,80,0.10), 0 1.5px 0 #ffb700 inset;
  padding: 32px 28px 28px 28px;
  min-width: 240px;
  max-width: 340px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
  border: 1.5px solid #ececec;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}

.plan-card:hover {
  box-shadow: 0 8px 32px 0 rgba(44,62,80,0.16), 0 1.5px 0 #ffb700 inset;
  border-color: #ffb700;
  transform: translateY(-2px) scale(1.02);
}

.plan-card .plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #232946;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.plan-card .plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
}
.plan-card .plan-features li {
  color: #3a506b;
  font-size: 1rem;
  margin-bottom: 7px;
  padding-left: 0.5em;
  position: relative;
}
.plan-card .plan-features li:before {
  content: '\2022';
  color: #48ff00;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.plan-card .plan-price {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  background: #000000;
  border-radius: 8px;
  padding: 6px 16px;
  margin-top: 8px;
  margin-bottom: 0;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 4px rgba(255,183,0,0.07);
}

.plan-card.plan-free {
  border-color: #e0e0e0;
}
.plan-card.plan-premium {
  border-color: #ffb700;
  background: linear-gradient(135deg, #fffbe7 70%, #fff7e1 100%);
}
.plan-card.plan-pro {
  border-color: #232946;
  background: linear-gradient(135deg, #f7f7fa 70%, #e9eaf6 100%);
}


.plan-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #232946;
  margin-bottom: 10px;
}

.plan-price {
  font-size: 2em;
  color: #ffb700;
  font-weight: bold;
}

.plan-benefits {
  font-size: 0.98em;
  color: #444;
  margin-bottom: 10px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
  .btns-covers {
  display: block;
  margin: 24px auto 20px auto;
}

.themes-flex-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
  justify-content: flex-start;
  margin: 0;
  background:#232946;
  border-radius:8px;
  padding:12px;
  box-shadow:0 2px 8px #0002;
}

.theme-block {
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 0;
  max-width: none;
  width: auto;
}

.btn-select-theme {
  width: 100%;
  background: #283057;
  color: #fff;
  border: 1.5px solid #ffffff;
  padding: 14px 10px;
  border-radius: 8px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s, border 0.2s;
  font-size: 10px;
  cursor: pointer;
  min-height: 48px;
}

.btn-select-theme:hover, .btn-select-theme.selected {
  background: #111b2b;
  border-color: #7fd7ff;
}

.theme-plan {
  background: #111;
  color: #ffee00;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 8px;
  margin-left: 8px;
}

.theme-color-circle {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #232946; /* Ou #000 para contraste máximo */
  box-shadow: 0 1px 4px #0006;
  margin-right: 8px;
  vertical-align: middle;
}

@media (max-width: 1300px) {
  .main-container-my_links {
    padding: 18px 4vw;
    margin-left: 32px;
    margin-right: 32px;
  }

  .plans-list {
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
  }
  .plan-card {
    min-width: 0;
    width: 100%;
    max-width: 98vw;
    box-sizing: border-box;
    padding: 18px 8vw 18px 8vw;
    margin-bottom: 0;
  }
  .features-list {
    flex-direction: row;
    gap: 10px;
  }
}



@media (max-width: 750px) {
  .main-container-my_links{
    margin-top: 60px;
    margin-left: 2px;
    margin-right: 2px;
  }
  .main-container-my_links-new{
    margin-left: 0;
    margin-right: 0;
    padding-left: 3px;
    padding-right: 3px;
  }
  .profile-cover-block {
    margin-top: 40px;

  }
  .global-config-bar {
    gap: 8px;
    padding: 8px;
  }
   .btn-global-config {
    padding: 6px 10px;
    font-size: 0.9rem;
  }

  .plans-list {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .plan-card {
    min-width: 0;
    width: 100%;
    max-width: 98vw;
    box-sizing: border-box;
    padding: 18px 8vw 18px 8vw;
    margin-bottom: 0;
  }
   .terms-footer {
    padding: 32px 16px 20px;
  }
  .terms-footer .terms-links {
    gap: 16px;
  }
  #cropper-modal .cropper-content {
    min-width: 220px;
    max-width: 340px;
    width: 100%;
    margin: auto;
  }
  #cropper-image {
    max-width: 220px;
    max-height: 220px;
    border-radius: 8px;
    margin-bottom: 14px;
    background: #2d3250;
  }
}


.seletor {
  display: none;
  margin-bottom: 25px;
  text-align: center;
  color: #ffee00;
  font-size:16px;
  margin:10px auto 10px auto;
  display:block;
  text-align:center;
}

.extras-1 {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  align-items: center;
}

.extras-1 label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dp-none {
 display: none;
}

@media (max-width: 700px) {
  .config-bar-inner {
    max-width: 100vw;
    width: 100vw;
    max-height: 80vh;
    overflow-y: auto;
    padding-left: 0;
    padding-right: 0;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .themes-flex-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 10px;
    max-width: 90vw;
    width: 100vw;
    flex-wrap: nowrap;
    box-sizing: border-box;
    padding:0;
  }
  
  .seletor {
   display: block;
  }
  .config-block {
    padding: 12px;
  }
  .dp-none {
    display: block;
  }
}


.randomize-block {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: 100%;
  border-radius: 8px;
  padding: 10px 4px;
  box-shadow: 0 1px 4px rgba(60,60,60,0.07);
  background: #3b4370;
  border: 1px solid #ced5f7;
  border-radius: 8px;
}

.randomize-block label {
  flex: 1 1 120px;
  min-width: 120px;
  max-width: 100%;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 15px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
}

.randomize-block select,
.randomize-block input[type="number"] {
  background: #f8fafc;
  border: 1px solid #bfc4cc;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 15px;
  color: #232946;
  width: 100%;
  min-width: 60px;
  max-width: 120px;
  box-sizing: border-box;
}

.block-inner {
 background: none;
 border: none;
}

@media (max-width: 600px) {
  .randomize-block {
    gap: 4px;              /* Menor espaço entre os blocos */
    padding: 6px 2px;  
    margin-bottom: 20px;    /* Menor padding */
  }
  .randomize-block label {
    font-size: 13px;
    padding: 2px 6px;      /* Menor padding interno */
    min-width: 0;
    margin: 0;             /* Remove possíveis margens extras */
  }
  .randomize-block select,
  .randomize-block input[type="number"] {
    font-size: 13px;
    padding: 3px 4px;
    min-width: 0;
    max-width: 100px;
  }
  .extras-1 {
     padding: 12px;

  }
 
}

.main-container-my_links,
.main-container-my_links-new {
  position: relative;
  z-index: 1;
}

.upgrade-btn {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 9999;
    background: linear-gradient(120deg, #232946 60%, #ffee00 100%);
    color: #ffee00;
    border: 2px solid #ffee00;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.2s;
    background-size: 200% 200%;
    animation: upgradePulse 2.5s ease-in-out infinite;
}

.cancel-upgrade-btn {
    position: fixed;
    left: 24px;
    bottom: 90px;
    z-index: 9999;
    background: linear-gradient(120deg, #232946 60%, #ffee00 100%);
    color: #ff0000;
    border: 2px solid #ff0000;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    display: none;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
    background-size: 200% 200%;
    padding: 0;
}

.doubts-upgrade-btn {
    position: fixed;
    left: 84px;
    bottom: 24px;
    z-index: 9999;
    background: none;
    color: #ffee00;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    box-shadow: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    cursor: pointer;
}

.upgrade-doubts-info {
  display: none;
  position: fixed;
  left: 92px;
  bottom: 72px;
  z-index: 9999;
  background: #23272f;
  color: #fff;
  border-radius: 10px;
  border: 1.5px solid #444;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  padding: 22px 28px;
  max-width: 420px;
  font-size: 1.05rem;
  line-height: 1.6;
  transition: opacity 0.2s;
}
.upgrade-doubts-info.show {
  display: block;
}

@keyframes upgradePulse {
  0% {
    background-position: 0% 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  }
  50% {
    background-position: 100% 50%;
    box-shadow: 0 4px 16px 0 #ffee0033;
  }
  100% {
    background-position: 0% 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  }
}

.upgrade-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  background: #e53935;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  pointer-events: none;
  transition: all 0.2s;
  line-height: 20px;
  padding: 0;
  white-space: nowrap;
}

.upgrade-badge:has(span), .upgrade-badge[data-count] {
  min-width: 20px;
  padding: 0 6px;
  border-radius: 10px; /* oval para 2+ dígitos */
}

@media (max-width: 750px) {
  .upgrade-btn {
    left: -5px;
    bottom: -2px;
    border-top: 2px solid #ffee00;
    border-right: 2px solid #ffee00;
    border-bottom: none;
    border-left: none;
    border-radius: 0 8px 0 0;
    width: 50px;
    height: 50px;
  }
  .cancel-upgrade-btn {
    left: 2px;
    bottom: 52px;
  }
  .doubts-upgrade-btn {
    left: 42px;
    bottom: 1px;
  }
  .upgrade-doubts-info {
    left: 10px;
    bottom: 52px;
  }
}

#fixed-theme-buttons {
  position: fixed;
  background: #333131;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 9999;
  padding: 12px 0;
  display: none;
  gap: 12px;
  justify-content: center;
}

.set-theme {
 background:#15ff00;
 border: 2px solid #ffffff;
 color:#000000;
 font-weight:bold;
 border-radius:6px;
}

.remove-theme {
 background:#c40837;
 border: 2px solid #ffffff;
 color:#ffffff;
 font-weight:bold;
 border-radius:6px;
}

.color-palette-row {
  margin: 0;
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
} 

.color-palette-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  outline: none;
}
.color-palette-circle:focus,
.color-palette-circle:hover {
  transform: scale(1.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  border: 2.5px solid #38c6d9;
}
label:has(input[disabled]) {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 700px) {
  .color-options-premium {
    max-width: 100%;
  }
  .color-palette-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 8px;
    padding-right: 22px;
    max-width: 100vw;
    width: 100vw;
    box-sizing: border-box;
    justify-content: center;
  }
  .color-palette-circle {
    flex: 0 0 auto;
    min-width: 32px;
    min-height: 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
  }
}


.main-container-my_links-new .ico-social-bar {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 16px 18px 16px;
  box-sizing: border-box;
  margin: 0;
  scrollbar-width: thin;
  /* Remove display: block e width: max-content do inner! */
  justify-content: flex-start;
}

.main-container-my_links-new .ico-social-bar::before,
.main-container-my_links-new .ico-social-bar::after {
  content: "";
  flex: 1 1 0;
}

.main-container-my_links-new .ico-social-bar > * {
  flex-shrink: 0;
}

.gradient-picker {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.gradient-picker .inputs-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: center;
  width: 100%;
}

.gradient-picker label {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.gradient-preview {
  margin-top: 12px;
}