/**
 * Cookie Consent Box Styles
 * Responsive and modern design
 */

.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #ffffff;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.15);
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.cookie-consent-bottom {
  bottom: 0;
  border-top: 3px solid #fdb714;
}

.cookie-consent-top {
  top: 0;
  transform: translateY(-100%);
  border-bottom: 3px solid #fdb714;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

.cookie-consent-visible {
  transform: translateY(0);
}

.cookie-consent-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-consent-content {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  flex: 1;
  min-width: 300px;
}

.cookie-consent-icon {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
  animation: cookieBounce 2s infinite;
}

@keyframes cookieBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.cookie-consent-text {
  flex: 1;
}

.cookie-consent-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}

.cookie-consent-message {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
}

.cookie-consent-link {
  color: #fdb714;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cookie-consent-link:hover {
  color: #e5a512;
  text-decoration: none;
}

.cookie-consent-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-consent-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  outline: none;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-consent-btn-accept {
  background: #fdb714;
  color: #ffffff;
}

.cookie-consent-btn-accept:hover {
  background: #e5a512;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(253, 183, 20, 0.3);
}

.cookie-consent-btn-decline {
  background: transparent;
  color: #666666;
  border: 2px solid #cccccc;
}

.cookie-consent-btn-decline:hover {
  background: #f5f5f5;
  border-color: #999999;
  color: #333333;
}

.cookie-consent-btn-settings {
  background: transparent;
  color: #fdb714;
  border: 2px solid #fdb714;
}

.cookie-consent-btn-settings:hover {
  background: #fdb714;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-consent {
    padding: 15px 0;
  }

  .cookie-consent-container {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-content {
    min-width: 100%;
  }

  .cookie-consent-icon {
    font-size: 2rem;
  }

  .cookie-consent-title {
    font-size: 16px;
  }

  .cookie-consent-message {
    font-size: 13px;
  }

  .cookie-consent-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-consent-btn {
    width: 100%;
    padding: 14px 20px;
  }
}

@media (max-width: 480px) {
  .cookie-consent-icon {
    font-size: 1.75rem;
  }

  .cookie-consent-title {
    font-size: 15px;
  }

  .cookie-consent-message {
    font-size: 12px;
  }

  .cookie-consent-btn {
    font-size: 13px;
    padding: 12px 18px;
  }
}

/* Print styles */
@media print {
  .cookie-consent {
    display: none !important;
  }
}

/* Accessibility improvements */
.cookie-consent-btn:focus {
  outline: 2px solid #fdb714;
  outline-offset: 2px;
}

.cookie-consent-btn:active {
  transform: translateY(0);
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  .cookie-consent {
    background: #2a2a2a;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.3);
  }

  .cookie-consent-title {
    color: #ffffff;
  }

  .cookie-consent-message {
    color: #cccccc;
  }

  .cookie-consent-btn-decline {
    color: #cccccc;
    border-color: #555555;
  }

  .cookie-consent-btn-decline:hover {
    background: #3a3a3a;
    border-color: #777777;
    color: #ffffff;
  }
}
