@import url("admin_related_modals.css?v=20260614-related-modal-2");
@import url("progressive_loading.css?v=20260623-progressive-loading");

:root,
[data-bs-theme="light"],
[data-bs-theme="dark"],
body {
  --bs-body-bg: #222222;
  --bs-body-color: #f8f9fa;
  --bs-tertiary-bg: #222222;
  --bs-secondary-bg: #303030;
  --bs-card-bg: #303030;
}

html,
body,
.wrapper,
.app-wrapper,
.app-main,
.app-content,
.app-content-header,
.content-wrapper,
.main-footer,
.app-footer {
  background-color: #222222 !important;
  color: #f8f9fa;
}

.app-main > .app-content,
.app-main > .app-content-header,
.content-wrapper > .content,
.content-wrapper > .content-header,
#content,
#content-main {
  background-color: #222222 !important;
}

.app-content-header h1,
.app-content-header h2,
.app-content-header h3,
.app-content-header .breadcrumb,
.app-content-header .breadcrumb a,
.app-content-header .breadcrumb-item,
.app-content-header .breadcrumb-item.active,
.app-main h1,
.app-main h2,
.app-main h3,
.app-main h4,
.app-main label,
.app-main p,
.app-main small,
.content-header h1,
.content-header .breadcrumb,
.content-header .breadcrumb a,
.content-header .breadcrumb-item,
.content-header .breadcrumb-item.active,
.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4,
.content-wrapper label,
.content-wrapper p,
.content-wrapper small {
  color: #f8f9fa;
}

.breadcrumb {
  background-color: rgba(255, 255, 255, 0.08) !important;
}

.breadcrumb a,
.breadcrumb-item + .breadcrumb-item::before {
  color: #f8f9fa !important;
}

.card,
.module,
.dashboard .card,
.app-auth .card,
.app-technical_config .card {
  background-color: #303030 !important;
  color: #f8f9fa;
}

.card-header,
.module caption {
  background-color: #444444 !important;
  color: #f8f9fa !important;
}

.card-body,
.card-footer,
.module table,
.module tbody,
.module tr,
.module td,
.module th {
  background-color: #222222 !important;
  color: #f8f9fa;
}

.dashboard #content-related,
.dashboard #content-related .module,
.dashboard #recent-actions-module,
.dashboard #recent-actions-module h2,
.dashboard #recent-actions-module h3,
.dashboard #recent-actions-module p {
  background-color: #222222 !important;
  color: #f8f9fa !important;
}

.app-technical_config a,
.app-auth a,
.dashboard a {
  color: #00bc8c;
}

.app-technical_config a.btn-primary,
.app-technical_config a.btn-secondary,
.app-technical_config a.btn-success,
.app-technical_config a.btn-danger,
.app-technical_config a.btn-info,
.app-technical_config a.addlink,
.app-auth a.btn-primary,
.app-auth a.btn-secondary,
.app-auth a.btn-success,
.app-auth a.btn-danger,
.app-auth a.btn-info,
.app-auth a.addlink,
.dashboard a.btn-primary,
.dashboard a.btn-secondary,
.dashboard a.btn-success,
.dashboard a.btn-danger,
.dashboard a.btn-info,
.dashboard a.addlink {
  color: #ffffff !important;
}

.app-technical_config a.btn-primary:hover,
.app-technical_config a.btn-primary:focus,
.app-technical_config a.btn-secondary:hover,
.app-technical_config a.btn-secondary:focus,
.app-technical_config a.btn-success:hover,
.app-technical_config a.btn-success:focus,
.app-technical_config a.btn-danger:hover,
.app-technical_config a.btn-danger:focus,
.app-technical_config a.btn-info:hover,
.app-technical_config a.btn-info:focus,
.app-technical_config a.addlink:hover,
.app-technical_config a.addlink:focus,
.app-auth a.btn-primary:hover,
.app-auth a.btn-primary:focus,
.app-auth a.btn-secondary:hover,
.app-auth a.btn-secondary:focus,
.app-auth a.btn-success:hover,
.app-auth a.btn-success:focus,
.app-auth a.btn-danger:hover,
.app-auth a.btn-danger:focus,
.app-auth a.btn-info:hover,
.app-auth a.btn-info:focus,
.app-auth a.addlink:hover,
.app-auth a.addlink:focus,
.dashboard a.btn-primary:hover,
.dashboard a.btn-primary:focus,
.dashboard a.btn-secondary:hover,
.dashboard a.btn-secondary:focus,
.dashboard a.btn-success:hover,
.dashboard a.btn-success:focus,
.dashboard a.btn-danger:hover,
.dashboard a.btn-danger:focus,
.dashboard a.btn-info:hover,
.dashboard a.btn-info:focus,
.dashboard a.addlink:hover,
.dashboard a.addlink:focus {
  color: #ffffff !important;
}

.isg-sidebar-group-title {
  margin: 12px 10px 4px;
  padding: 8px 8px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.64) !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.isg-sidebar-group-title:first-child {
  margin-top: 4px;
  border-top: 0;
}

body.change-form #content-main > form > .row {
  display: flex;
  flex-direction: column;
}

body.change-form #content-main > form > .row > .col-12.col-lg-9,
body.change-form #content-main > form > .row > .col-12.col-lg-3 {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100% !important;
}

body.change-form #content-main > form > .row > .col-12.col-lg-3 {
  order: -1;
  align-self: stretch;
}

body.change-form #jazzy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  position: static;
  width: 100%;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

body.change-form #jazzy-actions > .d-flex,
body.change-form #jazzy-actions .object-tools {
  display: contents !important;
}

body.change-form #jazzy-actions .btn,
body.change-form #jazzy-actions input[type="submit"] {
  width: auto !important;
  min-width: 132px;
  margin: 0;
}

body.change-form #jazzy-actions input[name="_addanother"],
body.change-form #jazzy-actions input[name="_continue"] {
  min-width: 190px;
}

body.change-form .card-body {
  overflow-x: hidden;
}

body.change-form .form-row,
body.change-form .form-group,
body.change-form .fieldBox {
  width: 100%;
}

body.change-form .form-group > .row,
body.change-form .form-row > .row,
body.change-form .fieldBox > .row {
  display: grid !important;
  grid-template-columns: minmax(240px, 280px) minmax(360px, 1fr);
  column-gap: 18px;
  align-items: center;
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

body.change-form .form-group > .row > label,
body.change-form .form-row > .row > label,
body.change-form .fieldBox > .row > label {
  grid-column: 1;
  justify-self: stretch;
  width: 100% !important;
  max-width: none !important;
  padding-right: 0;
  padding-left: 0;
  margin-bottom: 0;
  white-space: normal;
  overflow-wrap: normal;
}

body.change-form .form-group > .row > div,
body.change-form .form-row > .row > div,
body.change-form .fieldBox > .row > div {
  grid-column: 2;
  width: 100% !important;
  max-width: none !important;
  padding-right: 0;
  padding-left: 0;
}

body.change-form .form-row > div,
body.change-form .form-group > div,
body.change-form .fieldBox > div {
  min-width: 0;
}

body.change-form label {
  justify-self: stretch;
  width: 100% !important;
  max-width: none !important;
  margin-bottom: 0;
  white-space: normal;
  overflow-wrap: normal;
}

body.change-form input[type="text"],
body.change-form input[type="number"],
body.change-form input[type="url"],
body.change-form input[type="password"],
body.change-form select,
body.change-form textarea,
body.change-form .select2-container {
  width: 100% !important;
  max-width: 100%;
}

body.change-form .related-widget-wrapper {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto auto auto;
  column-gap: 8px;
  align-items: center;
  width: 100%;
}

body.change-form .related-widget-wrapper .select2-container,
body.change-form .related-widget-wrapper select {
  min-width: 0;
}

body.change-form select,
body.change-form select.form-control,
body.change-form .form-select,
body.change-form .custom-select {
  color: #f8f9fa !important;
  background-color: #1f1f1f !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

body.change-form select option {
  color: #f8f9fa;
  background-color: #1f1f1f;
}

body.change-form select option:checked,
body.change-form select option:hover,
body.change-form select option:focus {
  color: #ffffff;
  background-color: #2f6fdd;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  color: #f8f9fa !important;
  background-color: #1f1f1f !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
  color: #f8f9fa !important;
}

.select2-dropdown,
.select2-container--default .select2-search--dropdown .select2-search__field {
  color: #f8f9fa !important;
  background-color: #1f1f1f !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

.select2-container--default .select2-results__option {
  color: #f8f9fa !important;
  background-color: #1f1f1f !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option[aria-selected="true"] {
  color: #ffffff !important;
  background-color: #2f6fdd !important;
}

body.change-form textarea {
  min-height: 110px;
}

.isg-email-test-action {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.isg-email-test-action .btn {
  min-width: 132px;
}

.isg-email-test-action .help {
  flex: 1 1 260px;
  margin: 0;
  color: rgba(248, 249, 250, 0.78);
}

body.change-form .help,
body.change-form .help-block,
body.change-form .readonly,
body.change-form .errorlist {
  grid-column: 2;
}

@media (max-width: 980px) {
  body.change-form .form-row,
  body.change-form .form-group,
  body.change-form .fieldBox {
    row-gap: 6px;
  }

  body.change-form .form-group > .row,
  body.change-form .form-row > .row,
  body.change-form .fieldBox > .row {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }

  body.change-form .form-group > .row > label,
  body.change-form .form-row > .row > label,
  body.change-form .fieldBox > .row > label,
  body.change-form .form-group > .row > div,
  body.change-form .form-row > .row > div,
  body.change-form .fieldBox > .row > div,
  body.change-form .help,
  body.change-form .help-block,
  body.change-form .readonly,
  body.change-form .errorlist {
    grid-column: 1;
  }
}

.isg-admin-field-help-source {
  display: none !important;
}

.isg-admin-help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: #2f6fa6;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
  cursor: pointer;
}

.isg-admin-help-button:hover,
.isg-admin-help-button:focus {
  background: #348fd6;
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff;
  outline: 2px solid rgba(52, 143, 214, 0.35);
  outline-offset: 2px;
}

.isg-admin-help-modal[hidden] {
  display: none !important;
}

.isg-admin-help-modal {
  position: fixed;
  z-index: 2050;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.58);
}

.isg-admin-help-dialog {
  position: relative;
  width: min(560px, 100%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #2b2b2b;
  color: #f8f9fa;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.isg-admin-help-title {
  margin: 0 92px 14px 0;
  color: #f8f9fa;
  font-size: 22px;
  line-height: 1.25;
}

.isg-admin-help-body,
.isg-admin-help-example p {
  margin: 0;
  color: #f8f9fa;
  font-size: 14px;
  line-height: 1.5;
}

.isg-admin-help-example {
  margin-top: 16px;
  padding: 12px;
  border-left: 3px solid #348fd6;
  border-radius: 4px;
  background: rgba(52, 143, 214, 0.12);
}

.isg-admin-help-example strong {
  display: block;
  margin-bottom: 4px;
  color: #b8daf7;
}

.isg-admin-help-close {
  position: absolute;
  top: 14px;
  right: 14px;
  min-width: 74px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  background: #444444;
  color: #ffffff;
  cursor: pointer;
}

.isg-admin-help-close:hover,
.isg-admin-help-close:focus {
  background: #555555;
  color: #ffffff;
}

.isg-auth-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(20, 83, 45, 0.28), rgba(32, 40, 51, 0.72)),
    #202833 !important;
}

.isg-auth-box {
  width: min(440px, calc(100vw - 32px));
}

.isg-auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  margin-bottom: 18px;
  text-align: center;
}

.isg-auth-logo img {
  display: block;
  width: min(280px, calc(100vw - 96px));
  max-width: 100%;
  max-height: 76px;
  height: auto !important;
  margin: 0 auto;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  object-fit: contain;
}

.isg-auth-logo a,
.isg-auth-logo b {
  color: #ffffff;
  font-size: 30px;
  letter-spacing: 0;
}

.isg-auth-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #303030 !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.isg-auth-card-body {
  padding: 28px;
  background: #303030 !important;
  color: #f8f9fa;
}

.isg-auth-header {
  margin-bottom: 22px;
  text-align: left;
}

.isg-auth-kicker {
  margin: 0 0 6px;
  color: #81d4b4 !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.isg-auth-header h1 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 26px;
  line-height: 1.2;
}

.isg-auth-header p,
.isg-auth-help,
.isg-auth-footer {
  color: rgba(248, 249, 250, 0.78) !important;
  font-size: 14px;
  line-height: 1.45;
}

.isg-auth-field {
  margin-bottom: 16px;
}

.isg-auth-field label {
  display: block;
  margin-bottom: 7px;
  color: #f8f9fa;
  font-size: 14px;
  font-weight: 700;
}

.isg-auth-field .form-control {
  min-height: 46px;
  color: #f8f9fa;
  background: #1f1f1f;
  border-color: rgba(255, 255, 255, 0.22);
}

.isg-auth-field .form-control:focus {
  color: #ffffff;
  background: #1f1f1f;
  border-color: #00bc8c;
  box-shadow: 0 0 0 0.18rem rgba(0, 188, 140, 0.22);
}

.isg-auth-field .input-group-text,
.isg-auth-password-toggle {
  min-width: 48px;
  justify-content: center;
  color: #e9ecef;
  background: #252525;
  border-color: rgba(255, 255, 255, 0.22);
}

.isg-auth-password-toggle:hover,
.isg-auth-password-toggle:focus {
  color: #ffffff;
  background: #3a3a3a;
}

.isg-auth-alert {
  margin-bottom: 16px;
  border-radius: 6px;
}

.isg-auth-links {
  margin: 14px 0 18px;
  text-align: center;
}

.isg-auth-links a,
.isg-auth-card a {
  color: #81d4b4;
}

.isg-auth-links a:hover,
.isg-auth-links a:focus,
.isg-auth-card a:hover,
.isg-auth-card a:focus {
  color: #a4e8cb;
}

.isg-auth-submit {
  min-height: 46px;
  font-weight: 700;
}

.isg-auth-submit[aria-busy="true"] {
  cursor: progress;
}

.isg-auth-help {
  margin: -2px 0 18px;
}

.isg-auth-footer {
  margin: 14px 0 0;
  text-align: center;
}

@media (max-width: 420px) {
  .isg-auth-card-body {
    padding: 22px;
  }

  .isg-auth-header h1 {
    font-size: 23px;
  }
}
