/*
 * Omamori - Bandeau cookies (v1.18).
 * Identite teal Omamori, fixe en bas de l'ecran, non bloquant pour le contenu.
 */

#oma-cookie-banner {
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 9990;
  background: #0f2c2a;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  animation: oma-cookie-rise 0.35s ease-out;
  font-family: inherit;
}

@keyframes oma-cookie-rise {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

#oma-cookie-banner.oma-cookie-hide {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.oma-cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  flex-wrap: wrap;
}

.oma-cookie-text {
  flex: 1 1 360px;
  min-width: 0;
}

.oma-cookie-text strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.oma-cookie-text p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #d8e6e3;
}

.oma-cookie-text a {
  color: #4dd1c0;
  text-decoration: underline;
}

.oma-cookie-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.oma-cookie-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.oma-cookie-accept {
  background: #1ea69a;
  color: #fff;
}
.oma-cookie-accept:hover {
  background: #178c81;
  transform: translateY(-1px);
}

.oma-cookie-refuse {
  background: transparent;
  color: #d8e6e3;
  border-color: #4d6663;
}
.oma-cookie-refuse:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
  #oma-cookie-banner {
    bottom: 8px;
    left: 8px;
    right: 8px;
    padding: 12px 14px;
  }
  .oma-cookie-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .oma-cookie-actions {
    justify-content: flex-end;
  }
  .oma-cookie-text p {
    font-size: 12px;
  }
}
