.cclp-webintro-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.36rem 0.72rem;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #f0fdf4;
  color: #15803d;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
}

.cclp-webintro-trigger-btn:hover {
  border-color: #86efac;
  background: #dcfce7;
  color: #166534;
}

.cclp-webintro-trigger-btn--test {
  border-color: #fcd34d;
  background: #fffbeb;
  color: #b45309;
}

.cclp-webintro-trigger-btn--test:hover {
  border-color: #f59e0b;
  background: #fef3c7;
  color: #92400e;
}

.cclp-webintro-trigger-btn .material-symbols-outlined {
  font-size: 15px;
}

.cclp-webintro-trigger-code {
  display: inline-flex;
  align-items: center;
  max-width: 8.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0.12rem 0.38rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #166534;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cclp-webintro-backdrop {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(4px);
}

.cclp-webintro-backdrop.is-open {
  display: flex;
}

.cclp-webintro-modal {
  width: min(100%, 20.75rem);
  max-height: min(88vh, 12.5rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
  position: relative;
}

.cclp-webintro-modal:focus,
.cclp-webintro-modal:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(34, 197, 94, 0.18),
    0 18px 40px rgba(15, 23, 42, 0.2);
}

.cclp-webintro-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.9rem 0.95rem 0.72rem;
  background: #ffffff;
}

.cclp-webintro-hero {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.cclp-webintro-icon-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #e9f9f0 0%, #def6e9 100%);
  color: #16a34a;
  flex: 0 0 auto;
}

.cclp-webintro-icon-shell .material-symbols-outlined {
  font-size: 1.85rem;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 40;
}

.cclp-webintro-head-main {
  min-width: 0;
  text-align: left;
}

.cclp-webintro-title {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.cclp-webintro-subtitle {
  margin: 0.22rem 0 0;
  color: #667085;
  font-size: 0.8rem;
  line-height: 1.28;
}

.cclp-webintro-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 0;
  right: 0;
  width: 1.95rem;
  height: 1.95rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #667085;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
  flex: 0 0 auto;
}

.cclp-webintro-close:hover {
  background: rgba(15, 23, 42, 0.04);
  color: #344054;
}

.cclp-webintro-close:focus,
.cclp-webintro-close:focus-visible,
.cclp-webintro-copy:focus,
.cclp-webintro-copy:focus-visible,
.cclp-webintro-link:focus,
.cclp-webintro-link:focus-visible,
.cclp-webintro-dismiss:focus,
.cclp-webintro-dismiss:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.cclp-webintro-close .material-symbols-outlined {
  font-size: 1.3rem;
}

.cclp-webintro-body {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 3.8rem;
  padding: 0.8rem 0.95rem 0.95rem;
  border-top: 1px solid #eef2f6;
  background: #ffffff;
}

.cclp-webintro-body--compact {
  align-items: center;
  justify-content: flex-end;
  text-align: left;
}

.cclp-webintro-open-wrap {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.cclp-webintro-link,
.cclp-webintro-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.35rem;
  width: auto;
  padding: 0.5rem 0.9rem;
  border-radius: 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease, opacity 0.12s ease;
}

.cclp-webintro-link {
  border: 1px solid #15803d;
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(22, 163, 74, 0.18);
  width: auto;
  min-width: 9.6rem;
}

.cclp-webintro-link:hover {
  border-color: #166534;
  background: #15803d;
  color: #ffffff;
  text-decoration: none;
}

.cclp-webintro-link .material-symbols-outlined {
  font-size: 1.15rem;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 32;
}

.cclp-webintro-dismiss {
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #334155;
}

.cclp-webintro-dismiss:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.cclp-webintro-frame-shell.is-idle .cclp-webintro-frame,
.cclp-webintro-frame-shell.is-loading .cclp-webintro-frame {
  opacity: 0;
}

.cclp-webintro-frame-shell.is-ready .cclp-webintro-frame {
  opacity: 1;
}

.cclp-webintro-frame-shell.is-loading::after {
  content: "A carregar...";
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
}

@media (max-width: 767px) {
  .cclp-webintro-trigger-code {
    max-width: 6rem;
  }

  .cclp-webintro-modal {
    width: 100%;
    max-height: 94vh;
    border-radius: 0.95rem;
  }

  .cclp-webintro-head,
  .cclp-webintro-body {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .cclp-webintro-head {
    gap: 0.7rem;
    padding-top: 0.9rem;
    padding-bottom: 0.75rem;
  }

  .cclp-webintro-hero {
    gap: 0.7rem;
    align-items: flex-start;
  }

  .cclp-webintro-icon-shell {
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 0.82rem;
  }

  .cclp-webintro-icon-shell .material-symbols-outlined {
    font-size: 1.65rem;
  }

  .cclp-webintro-title {
    font-size: 0.98rem;
  }

  .cclp-webintro-subtitle {
    margin-top: 0.2rem;
    font-size: 0.78rem;
  }

  .cclp-webintro-close {
    width: 1.8rem;
    height: 1.8rem;
  }

  .cclp-webintro-close .material-symbols-outlined {
    font-size: 1.2rem;
  }

  .cclp-webintro-link,
  .cclp-webintro-dismiss {
    width: 100%;
  }

  .cclp-webintro-body {
    min-height: 0;
    padding-top: 0.8rem;
    padding-bottom: 0.9rem;
  }

  .cclp-webintro-open-wrap {
    justify-content: stretch;
  }
}
