/**
 * Cookie Consent Banner Styles
 */

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid #E5E5E5;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}

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

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

.cookie-consent-text {
  flex: 1;
  min-width: 0;
}

.cookie-consent-text h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #1A1A1A;
}

.cookie-consent-text p {
  font-size: 14px;
  line-height: 1.6;
  color: #666666;
  margin: 0 0 8px 0;
}

.cookie-consent-link {
  font-size: 14px;
  color: #4F6FE8;
  text-decoration: none;
  display: inline-block;
}

.cookie-consent-link:hover {
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-consent {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-family: inherit;
  white-space: nowrap;
}

.btn-consent-accept {
  background: #4F6FE8;
  color: white;
}

.btn-consent-accept:hover {
  background: #3D5AD6;
  transform: translateY(-1px);
}

.btn-consent-accept:active {
  transform: translateY(0);
}

.btn-consent-reject {
  background: transparent;
  color: #666666;
  border: 1px solid #E5E5E5;
}

.btn-consent-reject:hover {
  background: #F5F4F2;
  border-color: #D0D0D0;
}

.btn-consent-reject:active {
  transform: scale(0.98);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .cookie-consent-banner {
    padding: 16px;
  }

  .cookie-consent-content {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .cookie-consent-text h3 {
    font-size: 16px;
  }

  .cookie-consent-text p {
    font-size: 13px;
  }

  .cookie-consent-actions {
    flex-direction: column-reverse;
  }

  .btn-consent {
    width: 100%;
    padding: 14px 24px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .cookie-consent-banner {
    background: rgba(26, 26, 26, 0.98);
    border-top-color: #333333;
  }

  .cookie-consent-text h3 {
    color: #FFFFFF;
  }

  .cookie-consent-text p {
    color: #AAAAAA;
  }

  .btn-consent-reject {
    color: #AAAAAA;
    border-color: #333333;
  }

  .btn-consent-reject:hover {
    background: #2A2A2A;
    border-color: #444444;
  }
}
