/*
=============================================================================
COOKIE CONSENT BANNER
=============================================================================
Developer: Brad Bussell
GDPR/CCPA Compliance for The Law Office of Andrea N. Bussell, PLLC
=============================================================================
*/

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(44, 62, 80, 0.98);
  color: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s ease-in-out;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent.hide {
  transform: translateY(100%);
}

.cookie-consent-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-consent-content {
  flex: 1;
  min-width: 300px;
}

.cookie-consent-content h3 {
  color: #f87466;
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.cookie-consent-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e9ecef;
}

.cookie-consent-content a {
  color: #f87466;
  text-decoration: underline;
}

.cookie-consent-content a:hover {
  color: #ffa394;
}

.cookie-consent-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Lora', serif;
}

.cookie-btn-accept {
  background-color: #f87466;
  color: #ffffff;
}

.cookie-btn-accept:hover {
  background-color: #e65a47;
  transform: translateY(-2px);
}

.cookie-btn-decline {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.cookie-btn-decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-btn-settings {
  background-color: #34495e;
  color: #ffffff;
}

.cookie-btn-settings:hover {
  background-color: #2c3e50;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .cookie-consent {
    padding: 1rem;
  }

  .cookie-consent-container {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-consent-content {
    text-align: center;
  }

  .cookie-consent-actions {
    justify-content: center;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cookie-consent-content h3 {
    font-size: 1rem;
  }

  .cookie-consent-content p {
    font-size: 0.85rem;
  }

  .cookie-btn {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }
}
