/* DESOFT - cerez onay banner'i */

/* ui-animation.css icindeki "body.desoft-home-page > div" kurali position/z-index'i
   eziyordu; bu yuzden yerlesim kurallari id + class ile yaziliyor. */
#desoft-cookie-consent.desoft-cc {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2147483000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
  font-family: inherit;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#desoft-cookie-consent.desoft-cc--visible {
  opacity: 1;
  transform: translateY(0);
}

.desoft-cc__text {
  flex: 1 1 340px;
  min-width: 0;
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.6;
}

.desoft-cc__text strong {
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 600;
}

.desoft-cc__text a {
  color: #1e40af;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.desoft-cc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.desoft-cc__btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.desoft-cc__btn--accept {
  background: #1e40af;
  color: #ffffff;
}

.desoft-cc__btn--accept:hover {
  background: #1b3796;
}

.desoft-cc__btn--reject {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}

.desoft-cc__btn--reject:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.desoft-cc__btn:focus-visible {
  outline: 2px solid #1e40af;
  outline-offset: 2px;
}

/* Footer'daki "Cerez Tercihleri" baglantisi */
.desoft-cc-reopen {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  opacity: 0.85;
}

.desoft-cc-reopen:hover {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .desoft-cc {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 18px;
    gap: 14px;
  }

  .desoft-cc__actions {
    width: 100%;
  }

  .desoft-cc__btn {
    flex: 1 1 auto;
  }
}

/* Banner acikken sayfanin sag altindaki yuzen CTA ile cakismasin */
body.desoft-cc-open .desoft-solution-cta,
body.desoft-cc-open .desoft-floating-cta {
  transform: translateY(-96px);
}
