
#dn-cookie-banner-root,
#dn-cookie-banner-root * { box-sizing: border-box; }

#dn-cookie-banner-root {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2147483647;
  font-family: Arial, Helvetica, sans-serif;
  color: #1d2328;
}

#dn-cookie-banner {
  max-width: 780px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  box-shadow: 0 16px 50px rgba(0,0,0,.28);
  padding: 22px;
}

#dn-cookie-banner h2 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.25;
}

#dn-cookie-banner p {
  margin: 0;
  color: #535a60;
  font-size: 14px;
  line-height: 1.55;
}

#dn-cookie-banner a {
  color: inherit;
  text-decoration: underline;
  font-weight: 700;
}

.dn-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.dn-cookie-btn {
  appearance: none;
  border: 1px solid #20272c;
  border-radius: 9px;
  background: #fff;
  color: #20272c;
  padding: 12px 15px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.dn-cookie-btn-primary {
  background: #20272c;
  color: #fff;
}

#dn-cookie-details {
  display: none;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e5e7e9;
}

#dn-cookie-details.dn-open { display: block; }

.dn-cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid #eceeef;
}

.dn-cookie-row:last-child { border-bottom: 0; }

.dn-cookie-row strong {
  display: block;
  font-size: 14px;
  margin-bottom: 3px;
}

.dn-cookie-row small {
  display: block;
  color: #687078;
  font-size: 12px;
  line-height: 1.4;
}

.dn-cookie-row input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

#dn-cookie-reopen {
  display: none;
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 2147483647;
  border: 1px solid #bbb;
  border-radius: 999px;
  background: #fff;
  color: #20272c;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,.16);
  cursor: pointer;
}

@media (max-width: 620px) {
  #dn-cookie-banner-root {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
  #dn-cookie-banner {
    padding: 17px;
    border-radius: 12px;
  }
  .dn-cookie-actions {
    flex-direction: column;
  }
  .dn-cookie-btn {
    width: 100%;
    padding: 14px;
  }
}
