/* Cookie Consent Banner Styles */

#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15), 0 -2px 8px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  padding: 11px;
  display: none;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  border-top: 4px solid #264a62;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#cookie-consent-banner.cookie-banner-show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-consent-container {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.cookie-consent-content {
  flex: 1;
  min-width: 300px;
  padding-right: 10px;
}

.cookie-consent-title {
  font-size: 20px;
  font-weight: 700;
  color: #264a62;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-consent-title::before {
  content: "🍪";
  font-size: 22px;
}

.cookie-consent-text {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 0;
  font-weight: 400;
  margin-left: 8px;
  margin-top: 15px;
}
.fa-circle {
  font-size: 11px !important;
  margin-right: 5px;
}
.cookie-consent-text a {
  color: #264a62;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.cookie-consent-text a:hover {
  color: #03a9f4;
  border-bottom-color: #03a9f4;
}

.cookie-consent-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-consent-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 130px;
  text-align: center;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cookie-consent-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cookie-consent-btn:hover::before {
  width: 300px;
  height: 300px;
}

.cookie-consent-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.cookie-consent-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cookie-consent-btn span {
  position: relative;
  z-index: 1;
}

.cookie-btn-reject {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-reject:hover {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  box-shadow: 0 6px 16px rgba(244, 67, 54, 0.4);
}

.cookie-btn-necessary {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-necessary:hover {
  background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
  box-shadow: 0 6px 16px rgba(108, 117, 125, 0.4);
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #264a62 0%, #1a3447 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-accept:hover {
  background: linear-gradient(135deg, #03a9f4 0%, #0288d1 100%);
  box-shadow: 0 6px 16px rgba(3, 169, 244, 0.4);
}

/* Info Icon Button Style */
.cookie-info-icon-btn {
  background: none !important;
  border: none !important;
  color: #17a2b8 !important;
  font-size: 22px !important;
  cursor: pointer;
  padding: 8px 12px !important;
  min-width: auto !important;
  box-shadow: none !important;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.cookie-info-icon-btn:hover {
  color: #138496 !important;
  background: rgba(23, 162, 184, 0.1) !important;
  transform: scale(1.1);
}

.cookie-info-icon-btn:active {
  transform: scale(0.95);
}

.cookie-info-icon-btn:before,
.cookie-info-icon-btn:after {
  display: none !important;
}

.cookie-info-icon-btn .fa {
  font-size: 22px;
}

/* Inline Cookie Info Section */
.cookie-info-inline {
  display: none;
  background-color: #e7f3ff;
  border: 1px solid #b8daff;
  border-radius: 6px;
  padding: 12px 15px;
  margin-top: 10px;
  margin-bottom: 5px;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-info-inline h4 {
  margin: 0 0 8px 0;
  color: #004085;
  font-size: 14px;
  font-weight: 600;
}

.cookie-info-inline p {
  margin: 0 0 10px 0;
  color: #004085;
  font-size: 12px;
  line-height: 1.5;
}

.cookie-info-inline .cookie-details {
  background-color: #f8f9fa;
  padding: 10px;
  border-radius: 4px;
  border-left: 3px solid #17a2b8;
}

.cookie-info-inline .cookie-details strong {
  color: #333;
  font-size: 12px;
}

.cookie-info-inline .cookie-details span {
  color: #555;
  font-size: 12px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  #cookie-consent-banner {
    padding: 18px 16px;
    border-top-width: 3px;
  }

  .cookie-consent-container {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cookie-consent-content {
    min-width: 100%;
    margin-bottom: 0;
    padding-right: 0;
  }

  .cookie-consent-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .cookie-consent-btn {
    width: 100%;
    min-width: 100%;
    padding: 14px 20px;
    font-size: 13px;
  }

  .cookie-info-icon-btn {
    width: 100% !important;
    justify-content: center;
    border: 1px solid #17a2b8 !important;
    border-radius: 6px !important;
    padding: 12px !important;
  }

  .cookie-info-icon-btn::after {
    content: " More Information";
    font-size: 14px !important;
    margin-left: 8px;
    display: inline !important;
  }

  .cookie-consent-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .cookie-consent-title::before {
    font-size: 20px;
  }

  .cookie-consent-text {
    font-size: 13px;
    line-height: 1.6;
  }

  .cookie-info-inline {
    padding: 10px;
  }

  .cookie-info-inline h4 {
    font-size: 13px;
  }

  .cookie-info-inline p {
    font-size: 11px;
  }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
  #cookie-consent-banner {
    padding: 20px 18px;
  }

  .cookie-consent-container {
    gap: 18px;
  }

  .cookie-consent-buttons {
    gap: 10px;
  }

  .cookie-consent-btn {
    min-width: 110px;
    padding: 11px 20px;
    font-size: 13px;
  }

  .cookie-consent-title {
    font-size: 19px;
  }

  .cookie-consent-text {
    font-size: 13.5px;
  }
}

/* Small Desktop */
@media (min-width: 1025px) and (max-width: 1280px) {
  .cookie-consent-container {
    max-width: 1100px;
  }
}

/* Animation for banner appearance */
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#cookie-consent-banner.cookie-banner-show {
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus states for accessibility */
.cookie-consent-btn:focus {
  outline: 2px solid #03a9f4;
  outline-offset: 2px;
}

.cookie-consent-btn:focus:not(:focus-visible) {
  outline: none;
}

.cookie-info-icon-btn:focus {
  outline: 2px solid #17a2b8;
  outline-offset: 2px;
}

/* Print styles - hide banner when printing */
@media print {
  #cookie-consent-banner {
    display: none !important;
  }
}
