/* ========================================================
   GLOBAL BASICS
======================================================== */
html {
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.digins-bg {
  --gap: 14px;
  width: 100%;
}

/* ========================================================
   EINHEITLICHE SECTION-GEOMETRIE
======================================================== */
.digins-bg__section {
  width: 100%;
  padding: 24px 28px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

/* ========================================================
   FORM – 2-SPALTIG, RESPONSIVE
======================================================== */
.digins-bg__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
  width: 100%;
}

/* ========================================================
   FORM LABELS
======================================================== */
.digins-bg__field label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

/* ========================================================
   FORM INPUT
======================================================== */

input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    border: 1px solid #6666!Important; 
    border-radius: 0px!Important;
    padding: .5rem 1rem;
    transition: all .3s;
    width: 100%;
}



/* ========================================================
   INPUT & SELECT – EINHEITLICHER LOOK
======================================================== */
.digins-bg__field input,
.digins-bg__field select {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  font-size: 16px;
  line-height: 52px;
  border: 1px solid #d1d5db;
  border-radius: 0;
  background-color: #ffffff;
  color: #111827;
  transition: border-color .15s ease;
}

.digins-bg__field input::placeholder {
  color: #9ca3af;
}

.digins-bg__field input:focus,
.digins-bg__field select:focus {
  outline: none;
  border-color: #111827;
}

/* ========================================================
   SELECT – CUSTOM ARROW
======================================================== */
.digins-bg__field select {
  appearance: none;
  padding-right: 52px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
}

/* ========================================================
   RESPONSIVE FORM
======================================================== */
@media (max-width: 520px) {
  .digins-bg__form {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   BANNER LISTE
======================================================== */
.digins-bg__list {
  display: grid;
  gap: 18px;
}

.digins-bg__item {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 50px;
  padding-bottom: 20px;
  background: #ffffff;
  border-bottom: 1px dotted #e5e7eb;
  align-items: start;
}

.digins-bg__preview {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 10px;
  overflow: hidden;
  cursor: zoom-in;
}

.digins-bg__canvas {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  cursor: zoom-in;
}

.digins-bg__title {
  margin-top: 20px;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 700;
}

.digins-bg__size {
  margin-bottom: 12px;
  color: #6b7280;
}

.digins-bg__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.digins-bg__btn {
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.digins-bg__btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
}

.digins-bg__btn--download {
  background: #111827;
  color: #ffffff;
}

.digins-bg__btn--share {
  background: #e5e7eb;
  color: #111827;
}

.digins-bg__hint {
  margin-top: 10px;
  font-size: 13px;
  line-height: 18px;
  color: #6b7280;
}

/* ========================================================
   RESPONSIVE BANNER LAYOUT
======================================================== */
@media (max-width: 900px) {
  
  .digins-bg__section {
    padding: 20px 20px 20px 20px;
  }
  .digins-bg__item {
    grid-template-columns: 1fr;
  }
  .digins-bg__title {
    margin-top: 10px;
   }
  .digins-bg__item {
  gap: 10px;
}
  .digins-bg__actions {
    flex-direction: column;
  }

  .digins-bg__btn {
    width: 100%;
  }
}

/* ========================================================
   BANNERGRÖSSEN NAVIGATION
======================================================== */
.digins-bg__sizes {
  margin-bottom: 20px;
  width: 100%;
}

.digins-bg__sizes-title {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  color: #111827;
}

.digins-bg__sizes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.digins-bg__size-link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  transition: background-color .15s ease, border-color .15s ease;
}

.digins-bg__size-link:hover {
  background: #ffffff;
  border-color: #111827;
}

/* ========================================================
   LIGHTBOX – FULLSCREEN
======================================================== */
.digins-bg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.digins-bg-lightbox[hidden] {
  display: none;
}

.digins-bg-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.digins-bg-lightbox__content {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.digins-bg-lightbox__canvas {
  max-width: 95vw;
  max-height: 95vh;
  pointer-events: auto;
}

.digins-bg-lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  padding: 6px 14px;
  font-size: 34px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border: 0;
  cursor: pointer;
  pointer-events: auto;
}