/* Cookie Bar - Google Consent Mode v2 */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2c3e50;
  color: #fff;
  padding: 24px 20px;
  font-size: 16px;
  z-index: 9999;
  display: none;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

.cookie-bar.show {
  display: block;
}

.cookie-bar__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
}

.cookie-bar__text {
  line-height: 1.6;
  text-align: center;
  font-size: 15px;
}

.cookie-bar__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.cookie-bar__button {
  padding: 16px 28px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  width: 100%;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  min-height: 50px;
}

.cookie-bar__button--accept {
  background-color: #27ae60;
  color: #fff;
}

.cookie-bar__button--accept:hover {
  background-color: #229954;
}

.cookie-bar__button--accept:active {
  background-color: #1e8449;
  transform: scale(0.98);
}

.cookie-bar__button--essential {
  background-color: #95a5a6;
  color: #fff;
}

.cookie-bar__button--essential:hover {
  background-color: #7f8c8d;
}

.cookie-bar__button--essential:active {
  background-color: #707b7c;
  transform: scale(0.98);
}

/* Mobile landscape / small tablet (480px+) */
@media (min-width: 480px) {
  .cookie-bar {
    padding: 28px 24px;
  }

  .cookie-bar__text {
    font-size: 16px;
  }

  .cookie-bar__buttons {
    flex-direction: row;
    gap: 12px;
  }

  .cookie-bar__button {
    flex: 1;
    padding: 18px 28px;
    font-size: 16px;
    min-height: 54px;
  }
}

/* Tablet (768px+) */
@media (min-width: 768px) {
  .cookie-bar {
    padding: 24px;
  }

  .cookie-bar__container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
  }

  .cookie-bar__text {
    text-align: left;
    flex: 1;
    margin-right: 20px;
    font-size: 14px;
  }

  .cookie-bar__buttons {
    flex-direction: row;
    width: auto;
    flex-shrink: 0;
    gap: 12px;
  }

  .cookie-bar__button {
    width: auto;
    min-width: 160px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    min-height: auto;
  }

  .cookie-bar__button:hover {
    transform: translateY(-1px);
  }

  .cookie-bar__button--accept:hover {
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3);
  }

  .cookie-bar__button--essential:hover {
    box-shadow: 0 4px 8px rgba(149, 165, 166, 0.3);
  }
}

/* Large desktop (1024px+) */
@media (min-width: 1024px) {
  .cookie-bar {
    padding: 28px;
  }

  .cookie-bar__button {
    min-width: 180px;
    padding: 13px 28px;
    font-size: 15px;
  }
}

/* Extra large (1440px+) */
@media (min-width: 1440px) {
  .cookie-bar__container {
    gap: 32px;
  }

  .cookie-bar__text {
    margin-right: 32px;
    font-size: 15px;
  }
}
