/**
 * planish.com.tr site.css çerez şeridi — auth v2 ve app (tanıtım sitesi ile aynı).
 */
body.planish-auth-v2-body {
  --planish-footer-chrome-bottom: #0a0a0a;
}

.planish-cookie-bar {
  position: fixed;
  z-index: 50000;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 100%;
  box-sizing: border-box;
  pointer-events: none;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

html body #planishCookieBar.planish-cookie-bar:not(.planish-cookie-bar--hidden) {
  background-color: var(--planish-footer-chrome-bottom);
  background-image: none;
  transition: background-color 0.28s ease;
}

html body #planishCookieBar.planish-cookie-bar:not(.planish-cookie-bar--hidden).planish-cookie-bar--over-footer {
  background-color: transparent !important;
  background-image: none !important;
}

.planish-cookie-bar--hidden {
  display: none !important;
}

.planish-cookie-bar__strip {
  position: relative;
  pointer-events: auto;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding:
    0.72rem max(3.25rem, calc(2.75rem + env(safe-area-inset-right, 0px)))
    0.72rem
    max(0.85rem, env(safe-area-inset-left, 0px));
  color: #fff;
  text-align: left;
  transition: background-color 0.28s ease;
}

html body #planishCookieBar.planish-cookie-bar:not(.planish-cookie-bar--hidden) .planish-cookie-bar__strip {
  background-color: var(--planish-footer-chrome-bottom) !important;
  background-image: none !important;
}

html body #planishCookieBar.planish-cookie-bar:not(.planish-cookie-bar--hidden).planish-cookie-bar--over-footer .planish-cookie-bar__strip {
  background-color: var(--planish-cookie-bar-footer-bg, var(--planish-footer-chrome-bottom)) !important;
  background-image: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 992px) {
  .planish-cookie-bar__strip {
    padding-left: max(2.5rem, env(safe-area-inset-left, 0px));
  }
}

.planish-cookie-bar__text {
  margin: 0;
  max-width: none;
  font-size: 0.8125rem;
  line-height: 1.5;
  font-weight: 400;
  color: #fff;
}

@media (min-width: 640px) {
  .planish-cookie-bar__text {
    font-size: 0.875rem;
    line-height: 1.45;
  }
}

.planish-cookie-bar__legal-btn {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  cursor: pointer;
  display: inline;
  vertical-align: baseline;
}

.planish-cookie-bar__legal-btn:hover {
  color: #fff;
  opacity: 0.88;
}

.planish-cookie-bar__legal-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
  border-radius: 2px;
}

.planish-cookie-bar__legal-fallback {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.planish-cookie-bar__close {
  position: absolute;
  top: 50%;
  right: max(0.85rem, env(safe-area-inset-right, 0px));
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

html body #planishCookieBar .planish-cookie-bar__close {
  background-color: var(--planish-footer-chrome-bottom) !important;
  background-image: none !important;
  transition: background-color 0.28s ease, border-color 0.15s ease;
}

html body #planishCookieBar.planish-cookie-bar--over-footer .planish-cookie-bar__close {
  background-color: var(--planish-cookie-bar-footer-bg, var(--planish-footer-chrome-bottom)) !important;
  background-image: none !important;
}

.planish-cookie-bar__close:hover {
  opacity: 0.9;
  border-color: rgba(255, 255, 255, 0.72);
}

.planish-cookie-bar__close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.planish-cookie-bar__close-icon {
  display: block;
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 300;
  margin-top: -0.05em;
}
