.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--midnight-navy);
  color: var(--white);
  padding: 24px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: none;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.cookie-banner-text {
  flex: 1;
}

.cookie-banner-text p {
  margin: 0 0 8px 0;
  font-size: 16px;
  line-height: 1.5;
}

.cookie-policy-link {
  color: var(--sakura-coral);
  text-decoration: underline;
  font-size: 14px;
}

.cookie-policy-link:hover {
  color: #FF8585;
}

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

.cookie-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-btn-accept {
  background-color: var(--sakura-coral);
  color: var(--white);
}

.cookie-btn-accept:hover {
  background-color: #FF8585;
}

.cookie-btn-reject {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

.cookie-btn-customize {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--sakura-coral);
}

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

.cookie-preferences {
  display: none;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-preferences.show {
  display: block;
}

.cookie-preferences h3 {
  font-size: 18px;
  margin-bottom: 16px;
  font-weight: 600;
}

.cookie-preference-item {
  margin-bottom: 16px;
  padding: 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.cookie-preference-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cookie-preference-header label {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-preference-item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
}

.cookie-preference-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.cookie-preference-item input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.cookie-preference-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .cookie-banner-main {
    flex-direction: column;
  }

  .cookie-banner-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }

  .cookie-preference-actions {
    flex-direction: column;
  }

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