/* ============================================
   Cookie Consent Banner Styles
   ============================================ */

/* Cookie banner container - white strip at bottom */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  /* Subtle shadow */
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  /* Slide up animation */
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Show banner when it has the 'show' class */
.cookie-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Main cookie banner box - container for alignment */
.cookie-banner-box {
  width: 100%;
  max-width: 1200px;
  /* Standard width */
  padding: 18px 24px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

/* Cookie banner text content */
.cookie-banner-text {
  flex: 1;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #333333;
}

/* 'Learn more' link styling */
.cookie-banner-text a {
  color: #333333;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
  margin-left: 4px;
}

.cookie-banner-text a:hover {
  color: #ff5500;
}

/* Container for action buttons */
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

/* Decline button - orange text link style */
.cookie-banner-decline {
  background: none;
  border: none;
  color: #ff5500;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  padding: 8px 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.cookie-banner-decline:hover {
  opacity: 0.8;
}

/* Accept button - solid orange button, pill shaped */
/* .cookie-banner-accept {
  background-color: #ff5500;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 10px 32px;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(255, 85, 0, 0.2);
} */

/* .cookie-banner-accept:hover {
  background-color: #e64800;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 85, 0, 0.3);
} */

/* .cookie-banner-accept:active {
  transform: translateY(0);
} */

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
  .cookie-banner-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
  }

  .cookie-banner-text {
    width: 100%;
    text-align: left;
    font-size: 14px;
    padding-right: 0;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
    /* Align buttons to the right */
    gap: 20px;
  }

  /* .cookie-banner-accept { */
  /* padding: 10px 28px; */
  /* width: auto; */
  /* Do not stretch */
  /* } */
}

@media (max-width: 480px) {
  .cookie-banner-actions {
    justify-content: flex-end;
    /* Keep aligned to right on small screens too */
  }

  /* Ensure buttons don't wrap on very small screens */
  .cookie-banner-actions {
    flex-wrap: nowrap;
  }
}

/* Header Button */
.cookie-banner-accept {
  padding: 10px 28px;
  width: auto;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  background-color: #ff5500;
  border: 1px solid #ff5500;
  border-radius: 2444px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  z-index: 10;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  white-space: nowrap;
}

.cookie-banner-accept:hover {
  color: #ff5500;
  border-color: #ff5500;
  background-color: transparent;
}

/* Button Effect */
.cookie-banner-accept::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 10px;
  height: 10px;
  background-color: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, 50%) scale(0);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.cookie-banner-accept:hover::after {
  transform: translate(-50%, -50%) scale(60);
}

/* Arrow SVG Color */
.cookie-banner-accept .btn-arrow svg path {
  fill: #ffffff;
  transition: fill 0.3s ease-in-out;
}

.cookie-banner-accept .btn-arrow svg {
  width: 100%;
  max-width: 30px;
  max-height: 12px;
  margin-left: 3px;
  display: flex;
  justify-content: center;
}

.cookie-banner-accept:hover .btn-arrow svg path {
  fill: #ff5500;
}
