/* static/css/cookies.css */

#cookie-consent-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 16px 16px 0 0;
  z-index: 9999;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

#cookie-consent-banner.show {
  bottom: 0;
}

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 24px 48px;
  }
}

.cookie-text {
  flex: 1;
}

.cookie-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0a192f;
  margin-bottom: 8px;
}

.cookie-desc {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
}

.cookie-link {
  color: #0284c7;
  text-decoration: underline;
  margin-left: 4px;
}

.cookie-link:hover {
  color: #0369a1;
}

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

.cookie-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border: 2px solid transparent;
}

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

.cookie-btn-accept:hover {
  background-color: #112a4d;
  transform: translateY(-1px);
}

.cookie-btn-decline {
  background-color: transparent;
  color: #0a192f;
  border-color: #0a192f;
}

.cookie-btn-decline:hover {
  background-color: #f3f4f6;
}
