/* =====================================================
   COOKIE BANNER
===================================================== */

.cookie-banner {
  overflow: hidden;

  position: fixed;

  left: 25px;

  right: 25px;

  bottom: 25px;

  background: #ffffff;

  border: 1px solid #e5e7eb;

  border-radius: 22px;

  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);

  z-index: 9999;

  padding: 28px;
}

.cookie-banner::before {
  content: "";

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 5px;

  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.cookie-content {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 40px;
}

.cookie-text {
  display: flex;

  align-items: flex-start;

  gap: 22px;

  flex: 1;
}

.cookie-icon {
  width: 60px;

  height: 60px;

  border-radius: 50%;

  background: rgba(0, 73, 145, 0.08);

  display: flex;

  justify-content: center;

  align-items: center;

  flex: none;
}

.cookie-icon i {
  font-size: 1.6rem;

  color: var(--primary);
}

.cookie-text h3 {
  margin: 0 0 10px;

  color: var(--primary);

  font-size: 1.35rem;
}

.cookie-text p {
  margin: 0;

  line-height: 1.8;

  color: #667085;

  max-width: 700px;
}

.cookie-text a {
  color: var(--accent);

  font-weight: 600;

  text-decoration: none;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;

  gap: 14px;

  flex-wrap: wrap;
}

.cookie-btn {
  cursor: pointer;

  border: none;

  border-radius: 10px;

  padding: 13px 24px;

  font-size: 0.95rem;

  font-weight: 600;

  transition: 0.25s;
}

.cookie-primary {
  background: var(--primary);

  color: #fff;

  min-width: 170px;

  font-weight: 700;

  letter-spacing: 0.3px;
}

.cookie-primary:hover {
  background: #003a73;
}

.cookie-primary:hover {
  transform: translateY(-2px);
}

.cookie-outline {
  background: #fff;

  border: 1px solid #d7dde6;

  color: var(--primary);
}

.cookie-outline:hover {
  background: #f7f9fb;
}

.cookie-secondary {
  background: #f3f5f7;

  color: #555;
}

.cookie-secondary:hover {
  background: #e9edf2;
}

@media (max-width: 900px) {
  .cookie-banner {
    left: 15px;

    right: 15px;

    bottom: 15px;

    padding: 22px;
  }

  .cookie-content {
    flex-direction: column;

    align-items: flex-start;
  }

  .cookie-text {
    gap: 16px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;

    min-width: 140px;
  }
}

@media (max-width: 600px) {
  .cookie-actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }

  .cookie-icon {
    width: 48px;

    height: 48px;
  }

  .cookie-icon i {
    font-size: 1.2rem;
  }

  .cookie-text h3 {
    font-size: 1.15rem;
  }
}

.cookie-banner {
  opacity: 0;

  transform: translateY(30px);

  animation: cookieShow 0.45s ease forwards;
}

@keyframes cookieShow {
  to {
    opacity: 1;

    transform: translateY(0);
  }
}

.cookie-banner.hide {
  animation: cookieHide 0.35s ease forwards;
}

@keyframes cookieHide {
  to {
    opacity: 0;

    transform: translateY(40px);

    visibility: hidden;
  }
}

.policy-note {
  margin-top: 40px;

  padding-top: 25px;

  border-top: 1px solid #e7ebf1;

  font-size: 0.95rem;

  color: #7b8794;
}
