.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: #000;
  color: #fff;
  padding: 8px 15px; /* reduced padding */
  border-radius: 8px;
  font-family: Arial, sans-serif;
  font-size: 13px; /* slightly smaller font */
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 0 15px rgba(255, 223, 0, 0.7);
}

.cookie-consent p {
  margin: 0;
  flex: 1 1 auto;
  line-height: 1.2; /* tighter line height */
}

.cookie-consent a {
  color: #FFD700;
  text-decoration: underline;
  margin-left: 5px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cookie-consent a:hover {
  color: #FFC107;
}

.cookie-consent button#acceptCookies {
  background-color: #FFD700;
  border: none;
  color: #000;
  padding: 6px 14px; /* smaller padding */
  margin-left: 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 13px; /* smaller font */
  flex-shrink: 0;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(255, 215, 0, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.cookie-consent button#acceptCookies:hover {
  background-color: #FFC107;
  box-shadow: 0 6px 12px rgba(255, 215, 0, 0.6);
}

@media (max-width: 480px) {
  .cookie-consent {
    flex-direction: column;
    text-align: center;
    padding: 10px 15px; /* adjusted padding for small screens */
  }
  .cookie-consent button#acceptCookies {
    margin: 10px auto 0;
  }
}
