/* AlpenLeads Consent Banner Styles */
.alpen-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #2C2C2C;
  color: #FFFFFF;
  padding: 1rem;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease-out;
}

/* Adjust mobile sticky CTA when consent banner is visible */
body:has(.alpen-consent) .mobile-sticky-cta,
body .mobile-sticky-cta.has-consent-banner {
  bottom: 100px !important;
  transition: bottom 0.3s ease-out;
}

/* Partner portal mobile sticky CTA */
body:has(.alpen-consent) .partner-mobile-sticky-cta,
body .partner-mobile-sticky-cta.has-consent-banner {
  bottom: 100px !important;
  transition: bottom 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(100%);
  }
}

.alpen-consent__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.alpen-consent__text {
  margin: 0;
  flex: 1;
  min-width: 300px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.alpen-consent__text a {
  color: #4BAA60;
  text-decoration: underline;
}

.alpen-consent__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.alpen-consent__btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
}

.alpen-consent__btn--primary {
  background: #4BAA60;
  color: #FFFFFF;
}

.alpen-consent__btn--primary:hover {
  background: #3d8a50;
}

.alpen-consent__btn--ghost {
  background: transparent;
  border: 2px solid #666;
  color: #FFFFFF;
}

.alpen-consent__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Form Status Styles */
.form-status {
  margin-top: 1rem;
  font-weight: 500;
  min-height: 1.5rem;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .alpen-consent__inner {
    flex-direction: column;
    align-items: stretch;
  }
  
  .alpen-consent__actions {
    width: 100%;
    flex-direction: column;
  }
  
  .alpen-consent__btn {
    width: 100%;
  }
  
  .alpen-consent__text {
    min-width: auto;
  }
}
