.general-config-heading {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

.general-config-heading p {
  color: #6e63e8;
  font-size:10px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 6px;
}

.general-config-heading h3 {
  font:700 16px "Plus Jakarta Sans";
  margin: 0;
}

.general-config-heading > div > span {
  color: #9b9eae;
  display: block;
  font-size:11px;
  margin-top: 6px;
}

.general-config-badge {
  align-items: center;
  background: #f3f1ff;
  border-radius: 12px;
  color: #6d64ce;
  display: flex;
  font-size:10px;
  font-weight: 600;
  gap: 5px;
  padding: 6px 8px;
}

.general-config-badge i {
  background: #6e63e8;
  border-radius: 50%;
  height: 5px;
  width: 5px;
}

.company-logo-section {
  align-items: center;
  background: linear-gradient(135deg, #f6f4ff, #fbfbff);
  border: 1px solid #e8e5fc;
  border-radius: 11px;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(220px, 1fr) minmax(190px, 0.75fr);
  margin-top: 18px;
  padding: 16px;
}

.company-logo-preview {
  align-items: center;
  background: #fff;
  border: 1px dashed #cfcaf4;
  border-radius: 10px;
  display: flex;
  height: 78px;
  justify-content: center;
  overflow: hidden;
  width: 78px;
}

.company-logo-preview strong {
  background: #6e63e8;
  border-radius: 9px;
  box-shadow: 0 6px 13px rgba(110, 99, 232, 0.22);
  color: #fff;
  font:700 17px "Plus Jakarta Sans";
  height: 45px;
  line-height: 45px;
  text-align: center;
  width: 45px;
}

.company-logo-preview img {
  height: 100%;
  object-fit: contain;
  padding: 6px;
  width: 100%;
}

.company-logo-copy h4 {
  color: #565a6e;
  font:700 13px "Plus Jakarta Sans";
  margin: 0;
}

.company-logo-copy p {
  color: #9296a7;
  font-size:10px;
  line-height: 1.5;
  margin: 5px 0 9px;
  max-width: 320px;
}

.company-logo-copy > div {
  display: flex;
  gap: 6px;
}

.company-logo-upload,
.company-logo-copy button {
  background: #fff;
  border: 1px solid #dedfe8;
  border-radius: 6px;
  color: #6c62d7;
  cursor: pointer;
  font:600 10px "DM Sans";
  padding: 7px 9px;
}

.company-logo-upload {
  background: #6e63e8;
  border-color: #6e63e8;
  color: #fff;
}

.company-logo-upload input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.company-logo-copy > small {
  color: #7a76a2;
  display: block;
  font-size:9px;
  min-height: 9px;
  margin-top: 6px;
}

.company-logo-document {
  background: #fff;
  border: 1px solid #e7e6f3;
  border-radius: 8px;
  min-height: 78px;
  padding: 11px;
}

.company-logo-document > small {
  color: #aaaDBa;
  font-size:9px;
  letter-spacing: 0.7px;
}

.company-logo-document > span {
  align-items: center;
  display: flex;
  gap: 7px;
  margin-top: 7px;
}

.company-logo-document > span i {
  background: #6e63e8;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 5px;
  color: #fff;
  font-size:9px;
  font-style: normal;
  font-weight: 700;
  height: 23px;
  line-height: 23px;
  text-align: center;
  width: 23px;
}

.company-logo-document > span i.has-logo {
  background-color: #fff;
  color: transparent;
}

.company-logo-document > span b {
  color: #5b5f73;
  font-size:11px;
}

.company-logo-document > p {
  color: #b0b2bf;
  font-size:8px;
  letter-spacing: 0.3px;
  margin: 7px 0 0;
}

.general-config-section {
  border: 0;
  border-top: 1px solid #ededf2;
  margin: 20px 0 0;
  padding: 19px 0 0;
}

.general-config-section legend {
  align-items: center;
  display: grid;
  gap: 4px 8px;
  grid-template-columns: 25px auto;
  padding: 0;
}

.general-config-section legend > span {
  background: #f0efff;
  border-radius: 6px;
  color: #675ddd;
  font-size:11px;
  font-weight: 700;
  grid-row: 1 / 3;
  height: 25px;
  line-height: 25px;
  text-align: center;
  width: 25px;
}

.general-config-section legend > strong {
  color: #5d6174;
  font-size:12px;
}

.general-config-section legend > small {
  color: #9da0af;
  font-size:10px;
}

.general-config-grid {
  display: grid;
  gap: 11px 13px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 15px;
}

.general-config-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.general-config-grid label.full {
  grid-column: 1 / -1;
}

.general-config-grid label > span {
  color: #666a7d;
  display: block;
  font-size:10px;
  font-weight: 600;
  margin-bottom: 5px;
}

.general-config-grid label > span b {
  color: #db6570;
}

.general-config-grid input,
.general-config-grid select,
.general-config-grid textarea {
  background: #fff;
  border: 1px solid #dfe1e9;
  border-radius: 7px;
  color: #55596d;
  font:13px "DM Sans";
  outline: none;
  padding: 0 10px;
  width: 100%;
}

.general-config-grid input,
.general-config-grid select {
  height: 35px;
}

.general-config-grid textarea {
  line-height: 1.5;
  padding-bottom: 9px;
  padding-top: 9px;
  resize: vertical;
}

.general-config-grid input:focus,
.general-config-grid select:focus,
.general-config-grid textarea:focus {
  border-color: #8178e7;
  box-shadow: 0 0 0 3px rgba(110, 99, 232, 0.09);
}

.general-config-footer {
  align-items: center;
  border-top: 1px solid #ededf2;
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
}

.general-config-footer > span {
  color: #9da0af;
  font-size:10px;
}

.general-config-footer > span b {
  font-weight: 500;
}

.general-config-footer > span i {
  background: #e4a34c;
  border-radius: 50%;
  display: inline-block;
  height: 5px;
  margin-right: 4px;
  width: 5px;
}

.general-config-footer > span i.dirty {
  background: #dc6b75;
}

.general-config-footer > div {
  display: flex;
  gap: 7px;
}

.general-config-footer button {
  border-radius: 7px;
  cursor: pointer;
  font:600 11px "DM Sans";
  padding: 9px 11px;
}

.general-config-reset {
  background: #fff;
  border: 1px solid #dedfe7;
  color: #73778a;
}

.general-config-save {
  background: #6e63e8;
  border: 1px solid #6e63e8;
  color: #fff;
}

@media (max-width: 1000px) {
  .company-logo-section {
    grid-template-columns: auto 1fr;
  }

  .company-logo-document {
    grid-column: 1 / -1;
  }

  .general-config-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .company-logo-section {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .company-logo-document {
    grid-column: auto;
  }

  .general-config-grid,
  .general-config-grid.compact {
    grid-template-columns: 1fr;
  }

  .general-config-grid label.full {
    grid-column: auto;
  }

  .general-config-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .general-config-footer > div,
  .general-config-footer button {
    width: 100%;
  }
}
