/*!
 * Author: Key Design&Art
 * Email:  info@keydesignart.com
 * Web:    www.keydesignart.com
 */

.cookie-consent {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 2147483000;
  width: 400px;
  max-width: calc(100vw - 40px);
  padding: 20px 22px 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
  color: #1f2937;
  animation: cookie-consent-rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes cookie-consent-rise {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent {
    animation: none;
  }
}

.cookie-consent__header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
}

.cookie-consent__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.05);
  font-size: 22px;
}

.cookie-consent__eyebrow {
  margin: 0 0 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #6b7280;
}

.cookie-consent__title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
}

.cookie-consent__text {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #4b5563;
}

.cookie-consent__text a {
  color: #0f766e;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__actions {
  display: flex;
  gap: 10px;
}

.cookie-consent__button {
  flex: 1;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.cookie-consent__button--accept {
  border: none;
  background: #0f766e;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.28);
}

.cookie-consent__button--accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 26px rgba(15, 118, 110, 0.36);
}

.cookie-consent__button--reject {
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #ffffff;
  color: #374151;
  font-weight: 600;
}

.cookie-consent__button--reject:hover {
  border-color: rgba(15, 23, 42, 0.32);
  background: #f9fafb;
}

.cookie-consent__button:focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .cookie-consent {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    max-width: none;
    padding: 18px 18px 16px;
  }
}
