.ibloja-cookie-banner,
.ibloja-cookie-banner * {
  box-sizing: border-box;
}

.ibloja-cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  max-width: 100vw;
  border-top: 1px solid #d1d9e6;
  background: #fff;
  box-shadow: 0 -8px 24px rgba(15, 35, 71, 0.12);
  color: #374151;
  font-family: "Inter", Arial, sans-serif;
}

.ibloja-cookie-banner[hidden] {
  display: none;
}

.ibloja-cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
}

.ibloja-cookie-text {
  max-width: 820px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.ibloja-cookie-text a {
  color: #2e6db4;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ibloja-cookie-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.ibloja-cookie-button {
  min-width: 104px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: 600 14px/1 "Montserrat", "Inter", Arial, sans-serif;
  cursor: pointer;
  transition: background-color 150ms, border-color 150ms, color 150ms;
}

.ibloja-cookie-button:focus-visible,
.ibloja-cookie-text a:focus-visible {
  outline: 3px solid rgba(46, 109, 180, 0.35);
  outline-offset: 3px;
}

.ibloja-cookie-reject {
  border-color: #b8c3d1;
  background: #fff;
  color: #1a3a6b;
}

.ibloja-cookie-reject:hover {
  background: #f4f6f9;
}

.ibloja-cookie-accept {
  border-color: #f97316;
  background: #f97316;
  color: #fff;
}

.ibloja-cookie-accept:hover {
  border-color: #ea6d10;
  background: #ea6d10;
}

@media (max-width: 720px) {
  .ibloja-cookie-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .ibloja-cookie-text {
    font-size: 14px;
  }

  .ibloja-cookie-actions {
    width: 100%;
  }

  .ibloja-cookie-button {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (max-width: 380px) {
  .ibloja-cookie-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .ibloja-cookie-button {
    width: 100%;
  }
}
