.content.qc-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #eef0f3;
    color: #1f2933;
}

.qc-tabsbar {
    flex: none;
    padding: 12px 16px 0 16px;
}

.qc-section {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 12px 16px 16px 16px;
}

.qc-section-fields {
    display: block;
    overflow: auto;
}

.qc-card {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(31, 41, 51, .06), 0 8px 24px rgba(31, 41, 51, .06);
}

.qc-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #eef0f3;
}

.qc-card-heading {
    min-width: 0;
}

.content-container h2.qc-card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1f2933;
}

.qc-card-subtitle {
    margin: 2px 0 0 0;
    font-size: 13px;
    color: #5f6b7a;
}

.qc-grid {
    flex: 1 1 auto;
    min-height: 0;
}

.qc-grid-types .dx-datagrid-header-panel {
    display: none;
}

.qc-grid .dx-datagrid-filter-row > td {
    padding: 6px;
    background: #ffffff;
}

.qc-grid .dx-datagrid-filter-row .dx-texteditor {
    border: 1px solid #e3e7ec;
    border-radius: 7px;
    background: #ffffff;
}

.qc-grid .dx-datagrid-filter-row .dx-texteditor.dx-state-focused {
    border-color: #c9a227;
    box-shadow: 0 0 0 3px #f3dd85;
}

.qc-grid .qc-cell-strong {
    font-weight: 600;
}

.qc-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #e3f3ea;
    color: #1b6b44;
    font-size: 12px;
}

.qc-status {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: #e3f3ea;
    color: #1b6b44;
    font-size: 13px;
    font-weight: 600;
}

.qc-status.qc-status-inactive {
    background: #eef0f3;
    color: #4b5967;
}

#frmMS .dx-field-item.qc-fields-card {
    box-sizing: border-box;
    height: 100%;
    border: 1px solid #e3e7ec;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(31, 41, 51, .06), 0 8px 24px rgba(31, 41, 51, .06);
    overflow: hidden;
}

#frmMS .dx-field-item.qc-fields-card.dx-col-0 {
    margin-right: 8px;
}

#frmMS .dx-field-item.qc-fields-card.dx-col-1 {
    margin-left: 8px;
}

#frmMS .qc-fields-card > .dx-form-group-content {
    padding: 0;
    border: 0;
}

#frmMS .qc-fields-card .dx-field-item {
    padding: 10px 18px;
}

#frmMS .qc-fields-card .qc-card-head {
    margin: -10px -18px 4px -18px;
    padding: 14px 18px;
}

#frmMS .qc-fields-card .dx-field-item-label-text {
    font-size: 14px;
    font-weight: 600;
    color: #1f2933;
}

#frmMS .qc-fields-card .dx-texteditor {
    border-radius: 8px;
}

#frmMS .qc-switch-item {
    display: flex;
    justify-content: flex-end;
    padding-top: 12px;
}

#frmMS .qc-switch-item .dx-field-item-content {
    display: flex;
    justify-content: flex-end;
}

#frmMS .qc-switch-item .dx-switch {
    width: 40px;
    height: 22px;
}

#frmMS .qc-switch-item .dx-switch-container {
    width: 40px;
    height: 22px;
    box-sizing: border-box;
    padding: 1px;
    border: 1px solid #d5dae1;
    position: relative;
    border-radius: 999px;
    background: #eef0f3;
    overflow: hidden;
}

#frmMS .qc-switch-item .dx-switch-container:before {
    display: none;
}

#frmMS .qc-switch-item .dx-switch-inner {
    visibility: hidden;
}

#frmMS .qc-switch-item .dx-switch-container:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #9aa4b0;
    transition: left .15s ease, background-color .15s ease;
}

#frmMS .qc-switch-item .dx-switch-on-value .dx-switch-container {
    border-color: #c9a227;
    background: #fbf1c4;
}

#frmMS .qc-switch-item .dx-switch-on-value .dx-switch-container:after {
    left: 20px;
    background: #c9a227;
}

#frmMS .qc-switch-item .dx-state-focused .dx-switch-container,
#frmMS .qc-switch-item .dx-switch.dx-state-focused .dx-switch-container {
    box-shadow: 0 0 0 3px #f3dd85;
}

.qc-field-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1f2933;
}

.qc-field-hint {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #5f6b7a;
}
