:root {
  --ciplart-cta-blue: #224ae8;
  --ciplart-cta-gray: #5e5e5e;
}

.ciplart-cta-wrapper {
  display: flex;
  width: 100%;
  margin: 24px 0 34px;
}

.ciplart-cta-align-left {
  justify-content: flex-start;
}

.ciplart-cta-align-center {
  justify-content: center;
}

.ciplart-cta-align-right {
  justify-content: flex-end;
}

.ciplart-cta-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 42px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 16px;
  background: linear-gradient(135deg, #1738a6 0%, #224ae8 52%, #5e5e5e 100%);
  color: #ffffff !important;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  text-decoration: none !important;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  box-shadow: 0 8px 18px rgba(29, 52, 144, 0.14), 0 2px 6px rgba(94, 94, 94, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.20);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.ciplart-cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -32%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 42%, rgba(255, 255, 255, 0.26) 52%, rgba(255, 255, 255, 0.08) 62%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-22deg);
  opacity: 0.48;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.35s ease, opacity 0.25s ease, left 0.35s ease;
}

.ciplart-cta-button > * {
  position: relative;
  z-index: 1;
}

.ciplart-cta-button::after {
  position: relative;
  z-index: 1;
  content: "";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.3em;
  height: 2.3em;
  margin-left: 13px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.99);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Cpath d='M6.5 14h14.5' stroke='%23224ae8' stroke-width='4.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M15.5 8.5L21 14l-5.5 5.5' stroke='%23224ae8' stroke-width='4.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 70% 70%;
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 14px rgba(34, 74, 232, 0.18), inset 0 0 0 1px rgba(94, 94, 94, 0.08);
  line-height: 1;
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.ciplart-cta-button:hover,
.ciplart-cta-button:focus {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(29, 52, 144, 0.18), 0 3px 8px rgba(94, 94, 94, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  filter: brightness(1.018);
  text-decoration: none !important;
}

.ciplart-cta-button:hover::after,
.ciplart-cta-button:focus::after {
  transform: translate(4px, -1px) scale(1.07);
  background-color: #ffffff;
  border-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 7px 16px rgba(34, 74, 232, 0.20), inset 0 0 0 1px rgba(94, 94, 94, 0.10);
}

.ciplart-cta-button:hover::before,
.ciplart-cta-button:focus::before {
  left: 104%;
  opacity: 0.72;
}

.ciplart-cta-button:focus-visible {
  outline: 3px solid rgba(34, 74, 232, 0.28);
  outline-offset: 3px;
}

.ciplart-cta-button--compact {
  max-width: 100%;
  padding: 10px 20px;
  font-size: 17px;
}

.ciplart-cta-button--wide {
  width: 100%;
  max-width: 860px;
  min-height: 50px;
  padding: 17px 26px;
  font-size: 18px;
  line-height: 1.45;
}

.ciplart-cta-button--outline {
  background: #ffffff;
  color: #224ae8 !important;
  border-color: rgba(34, 74, 232, 0.22);
  box-shadow: 0 5px 12px rgba(94, 94, 94, 0.08);
}

.ciplart-cta-button--outline:hover,
.ciplart-cta-button--outline:focus {
  background: linear-gradient(135deg, #1738a6 0%, #224ae8 52%, #5e5e5e 100%);
  color: #ffffff !important;
  border-color: transparent;
}


.ciplart-cta-button--outline::after {
  background-color: rgba(34, 74, 232, 0.06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Cpath d='M6.5 14h14.5' stroke='%23224ae8' stroke-width='4.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M15.5 8.5L21 14l-5.5 5.5' stroke='%23224ae8' stroke-width='4.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 70% 70%;
  border-color: rgba(34, 74, 232, 0.14);
  box-shadow: 0 4px 10px rgba(94, 94, 94, 0.08), inset 0 0 0 1px rgba(34, 74, 232, 0.04);
}

.ciplart-cta-button--outline:hover::after,
.ciplart-cta-button--outline:focus::after {
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Cpath d='M6.5 14h14.5' stroke='%23224ae8' stroke-width='4.0' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M15.5 8.5L21 14l-5.5 5.5' stroke='%23224ae8' stroke-width='4.0' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  border-color: rgba(34, 74, 232, 0.18);
}

.ciplart-cta-button--full,
.ciplart-cta-width-full .ciplart-cta-button {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 640px) {
  .ciplart-cta-wrapper {
    margin: 22px 0 32px;
  }

  .ciplart-cta-button,
  .ciplart-cta-button--compact,
  .ciplart-cta-button--wide {
    width: 100%;
    padding: 14px 18px;
    font-size: 17px;
    line-height: 1.42;
    border-radius: 16px;
  }
}
