/**
 * Cookie Consent Banner Styles for CoreFlowMC
 * Matches site identity: dark navy, teal accent
 */

.cfmc-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #102E55;
  border-top: 1px solid #2B4B76;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.cfmc-consent-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.cfmc-consent-text {
  flex: 1 1 300px;
  margin: 0;
  color: #E3EBF4;
  min-width: 0;
}

.cfmc-consent-link {
  color: #5CC2D6;
  text-decoration: underline;
}

.cfmc-consent-link:hover {
  color: #FFFFFF;
}

.cfmc-consent-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cfmc-consent-button {
  flex: 1;
  min-width: 180px;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
  border: 1px solid #C9D6E4;
  background: transparent;
  color: #FFFFFF;
  white-space: nowrap;
}

.cfmc-consent-button:focus {
  outline: 2px solid #5CC2D6;
  outline-offset: 2px;
}

.cfmc-consent-button:active {
  transform: scale(0.98);
}

.cfmc-consent-accept:hover,
.cfmc-consent-reject:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

@media (prefers-reduced-motion: no-preference) {
  .cfmc-consent-animate {
    animation: cfmc-slide-up 0.3s ease-out;
  }
}

@keyframes cfmc-slide-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .cfmc-consent-content {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cfmc-consent-buttons {
    width: 100%;
  }

  .cfmc-consent-button {
    flex: 1;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cfmc-consent-banner {
    animation: none;
  }

  .cfmc-consent-button {
    transition: none;
  }
}
