/* Zgody i komunikat cookies są obsługiwane przez GTM. */
.cookie-banner {
  display: none !important;
}

@media (min-width: 981px) {
  .admin-builder-v2 .admin-v2-sidebar nav button > svg,
  .admin-builder-v2 .admin-v2-sidebar-footer a > svg,
  .admin-builder-v2 .admin-v2-sidebar-footer button > svg {
    display: block;
    width: 23px;
    min-width: 23px;
    height: 23px;
    flex: 0 0 23px;
    stroke-width: 2;
  }

  .admin-builder-v2 .admin-v2-sidebar nav button,
  .admin-builder-v2 .admin-v2-sidebar-footer a,
  .admin-builder-v2 .admin-v2-sidebar-footer button {
    min-height: 47px;
    gap: 16px;
  }
}

.custom-addons-manager {
  margin-top: 24px;
  max-width: 1040px;
}

.custom-addons-heading h2 {
  margin: 10px 0 5px;
}

.custom-addons-heading p {
  margin: 0 0 22px;
  color: #68756d;
}

.custom-addons-list {
  display: grid;
  gap: 16px;
}

.custom-addons-empty {
  padding: 24px;
  border: 1px dashed #cbd5cd;
  border-radius: 10px;
  color: #68756d;
  text-align: center;
}

.custom-addon-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #dbe2dc;
  border-radius: 12px;
  background: #fafcfb;
}

.custom-addon-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e7e3;
  color: #183d28;
}

.custom-addon-enabled {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: .88rem;
  font-weight: 700;
}

.custom-addon-field {
  display: grid;
  gap: 7px;
  color: #263d30;
  font-size: .88rem;
  font-weight: 700;
}

.custom-addon-field input,
.custom-addon-field select,
.custom-addon-field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cfd8d1;
  border-radius: 8px;
  color: #25332a;
  background: #fff;
  font: inherit;
  font-weight: 500;
}

.custom-addon-field textarea.custom-addon-code {
  min-height: 190px;
  resize: vertical;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  line-height: 1.55;
  tab-size: 2;
}

.custom-addon-remove {
  justify-self: start;
  padding: 8px 11px;
  border: 0;
  color: #a3372e;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.custom-addons-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.custom-addons-notice {
  min-height: 22px;
  margin: 14px 0 0;
  font-weight: 700;
}

.custom-addons-notice.success { color: #31572c; }
.custom-addons-notice.error { color: #a3372e; }

.admin-inquiries-guide {
  display: grid;
  gap: 3px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-left: 4px solid #2f6b43;
  border-radius: 8px;
  color: #263d30;
  background: #edf4e5;
}

.admin-inquiries-guide span {
  color: #526158;
  line-height: 1.45;
}

.admin-inquiry-card {
  transition: border-color .18s ease, box-shadow .18s ease;
}

.admin-inquiry-card.is-open {
  border-color: #9fb6a3;
  box-shadow: 0 8px 24px rgba(23, 55, 25, .08);
}

.admin-inquiry-toggle {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid #a9baac;
  border-radius: 8px;
  color: #244b24;
  background: #f7faf5;
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.admin-inquiry-toggle:hover { background: #edf4e5; }
.admin-inquiry-toggle:focus-visible { outline: 3px solid rgba(36, 75, 36, .24); outline-offset: 2px; }

.admin-inquiry-details {
  margin-top: 14px;
  padding-top: 6px;
  border-top: 1px solid #e5e0d5;
}

.admin-inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e5e0d5;
}

.admin-inquiry-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid #9cac9f;
  border-radius: 8px;
  color: #244b24;
  background: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.admin-inquiry-action:hover { background: #f0f5ed; }
.admin-inquiry-action--primary { border-color: #244b24; color: #fff; background: #244b24; }
.admin-inquiry-action--primary:hover { background: #173719; }
.admin-inquiry-copy-status { color: #526158; font-size: .86rem; font-weight: 700; }

@media (max-width: 620px) {
  .custom-addons-actions .admin-button { width: 100%; justify-content: center; }
  .custom-addon-card header { align-items: flex-start; }
  .admin-inquiry-action { width: 100%; }
  .admin-inquiry-copy-status { width: 100%; }
}
