/* DXT Workforce VMS — Phase 10 account, system and authentication surfaces */

:root {
    --dxt-sy-blue: #1c75bc;
    --dxt-sy-deep: #05406f;
    --dxt-sy-green: #1a9970;
    --dxt-sy-ink: #17212b;
    --dxt-sy-muted: #687386;
    --dxt-sy-line: #dfe5ec;
    --dxt-sy-soft: #f5f7fa;
    --dxt-sy-surface: #ffffff;
    --dxt-sy-danger: #c73b3b;
    --dxt-sy-radius: 12px;
    --dxt-sy-shadow: 0 8px 24px rgba(22, 42, 68, .07);
}

body.dxt-system-phase10,
body.dxt-system-phase10 button,
body.dxt-system-phase10 input,
body.dxt-system-phase10 select,
body.dxt-system-phase10 textarea,
body.dxt-system-login,
body.dxt-system-login button,
body.dxt-system-login input,
body.dxt-lock-screen,
body.dxt-lock-screen button,
body.dxt-lock-screen input {
    font-family: "Century Gothic", CenturyGothic, AppleGothic, Arial, sans-serif;
}

body.dxt-system-phase10 #cmsPageViewMainSection {
    min-width: 0;
}

body.dxt-system-phase10 #cmsPageViewMainSection > .dxt-system-commandbar,
body.dxt-system-phase10 #cmsPageViewMainSection > .dxt-system-nav,
body.dxt-system-phase10 #cmsPageViewMainSection > .dxt-system-metrics,
body.dxt-system-phase10 #cmsPageViewMainSection > .row,
body.dxt-system-phase10 #cmsPageViewMainSection > section {
    width: 100%;
    max-width: none;
}

/* System command bar */
body.dxt-system-phase10 .dxt-system-commandbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 12px;
    padding: 18px 20px;
    gap: 20px;
    color: var(--dxt-sy-ink);
    background: #fff;
    border: 1px solid var(--dxt-sy-line);
    border-left: 4px solid var(--dxt-sy-blue);
    border-radius: var(--dxt-sy-radius);
    box-shadow: var(--dxt-sy-shadow);
}

body.dxt-system-phase10 .dxt-system-commandbar-copy {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 14px;
}

body.dxt-system-phase10 .dxt-system-commandbar-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    color: var(--dxt-sy-blue);
    background: #eef6fc;
    border: 1px solid #d6e9f8;
    border-radius: 11px;
    font-size: 21px;
}

body.dxt-system-phase10 .dxt-system-kicker,
.dxt-about-eyebrow,
.dxt-about-section-heading > span {
    display: block;
    margin-bottom: 2px;
    color: var(--dxt-sy-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.3;
    text-transform: uppercase;
}

body.dxt-system-phase10 .dxt-system-commandbar h1 {
    margin: 0;
    color: var(--dxt-sy-ink);
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.2;
}

body.dxt-system-phase10 .dxt-system-commandbar p {
    max-width: 820px;
    margin: 4px 0 0;
    color: var(--dxt-sy-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

body.dxt-system-phase10 .dxt-system-nav {
    display: flex;
    align-items: center;
    margin: 0 0 12px;
    padding: 7px;
    gap: 5px;
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--dxt-sy-line);
    border-radius: var(--dxt-sy-radius);
    box-shadow: 0 5px 16px rgba(22, 42, 68, .045);
}

body.dxt-system-phase10 .dxt-system-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 0 auto;
    min-width: 140px;
    min-height: 40px;
    padding: 8px 12px;
    gap: 7px;
    color: #526174;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
}

body.dxt-system-phase10 .dxt-system-nav-link:hover {
    color: var(--dxt-sy-deep);
    background: #f4f8fb;
    border-color: #dceaf5;
}

body.dxt-system-phase10 .dxt-system-nav-link.is-active {
    color: #fff;
    background: var(--dxt-sy-deep);
    border-color: var(--dxt-sy-deep);
}

body.dxt-system-phase10 .dxt-system-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 12px;
    gap: 10px;
}

body.dxt-system-phase10 .dxt-system-metrics article {
    display: flex;
    align-items: center;
    min-height: 82px;
    padding: 13px;
    gap: 11px;
    background: #fff;
    border: 1px solid var(--dxt-sy-line);
    border-radius: 11px;
    box-shadow: 0 4px 14px rgba(22, 42, 68, .045);
}

body.dxt-system-phase10 .dxt-system-metrics article > span {
    display: inline-grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    color: var(--dxt-sy-blue);
    background: #eef6fc;
    border-radius: 9px;
    font-size: 18px;
}

body.dxt-system-phase10 .dxt-system-metrics article > span.is-green {
    color: #137c5a;
    background: #eaf7f2;
}

body.dxt-system-phase10 .dxt-system-metrics article > span.is-muted {
    color: #59677a;
    background: #eef1f5;
}

body.dxt-system-phase10 .dxt-system-metrics article > div {
    display: grid;
    min-width: 0;
}

body.dxt-system-phase10 .dxt-system-metrics small,
body.dxt-system-phase10 .dxt-system-metrics em {
    overflow: hidden;
    color: var(--dxt-sy-muted);
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.dxt-system-phase10 .dxt-system-metrics strong {
    color: var(--dxt-sy-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

/* Profile workspace */
body.dxt-system-phase10[data-dxt-system-page="profile"] #cmsPageViewMainSection > .row {
    margin-right: 0;
    margin-left: 0;
}

body.dxt-system-phase10 .dxt-system-profile-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--dxt-sy-line);
    border-radius: var(--dxt-sy-radius) !important;
    box-shadow: var(--dxt-sy-shadow);
}

body.dxt-system-phase10 .dxt-system-profile-card .row-grid > [class*="col-md-"] {
    border-color: var(--dxt-sy-line);
}

body.dxt-system-phase10 .dxt-system-profile-card .dxt-profile-hero-avatar {
    border: 4px solid #fff;
    box-shadow: 0 0 0 1px #d7e1ea, 0 8px 24px rgba(19, 50, 80, .12);
}

body.dxt-system-phase10 .dxt-system-profile-card h5 {
    color: var(--dxt-sy-ink);
    font-size: 20px;
}

body.dxt-system-phase10 .dxt-system-profile-card h5 small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    font-weight: 400;
}

body.dxt-system-phase10 .dxt-system-profile-card p {
    max-width: 540px;
    color: var(--dxt-sy-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
}

body.dxt-system-phase10 .dxt-system-profile-card .btn-primary {
    min-height: 36px;
    color: #fff;
    background: var(--dxt-sy-blue);
    border-color: var(--dxt-sy-blue);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

body.dxt-system-phase10 .dxt-system-contact-card {
    margin: 0 0 9px !important;
    border: 1px solid var(--dxt-sy-line) !important;
    border-radius: 9px;
    box-shadow: none;
}

body.dxt-system-phase10 .dxt-system-contact-card .card-body {
    padding: 12px 14px;
}

body.dxt-system-phase10 .dxt-system-contact-card a {
    color: #405268;
    font-size: 13px;
    text-decoration: none;
}

body.dxt-system-phase10 .dxt-system-contact-card strong {
    color: var(--dxt-sy-ink);
    font-size: 12px;
    font-weight: 700;
}

body.dxt-system-phase10 .dxt-system-profile-table {
    width: 100%;
    margin: 10px 0 0;
    border: 1px solid var(--dxt-sy-line);
    border-radius: 9px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

body.dxt-system-phase10 .dxt-system-profile-table td {
    padding: 9px 12px;
    color: #405268;
    border-bottom: 1px solid #edf1f5;
    font-size: 12px;
    font-weight: 400;
}

body.dxt-system-phase10 .dxt-system-profile-table tr:last-child td {
    border-bottom: 0;
}

body.dxt-system-phase10 .dxt-system-profile-table td:first-child {
    width: 128px;
    color: var(--dxt-sy-muted);
    background: #f7f9fb;
    font-weight: 700;
}

body.dxt-system-phase10 .dxt-system-profile-table h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

body.dxt-system-phase10 .dxt-system-notification-panel {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--dxt-sy-line);
    border-radius: var(--dxt-sy-radius);
    box-shadow: var(--dxt-sy-shadow);
}

body.dxt-system-phase10 .dxt-system-notification-panel .panel-hdr {
    min-height: 58px;
    padding: 13px 17px;
    background: #fff;
    border-bottom: 1px solid var(--dxt-sy-line);
}

body.dxt-system-phase10 .dxt-system-notification-panel .panel-hdr h2 {
    color: var(--dxt-sy-ink);
    font-size: 16px;
    font-weight: 700;
}

body.dxt-system-phase10 .dxt-system-notification-panel .panel-content {
    padding: 15px;
}

body.dxt-system-phase10 .dxt-system-notification-panel .panel-tag {
    margin: 0 0 13px;
    color: #526174;
    background: #f4f8fb;
    border: 1px solid #dceaf5;
    border-left: 3px solid var(--dxt-sy-blue);
    border-radius: 8px;
    font-size: 12px;
}

body.dxt-system-phase10 .dxt-system-notification-panel .list {
    min-height: 92px;
    padding: 15px;
    background: #fff;
    border: 1px solid var(--dxt-sy-line);
    border-radius: 9px;
}

body.dxt-system-phase10 .dxt-system-notification-panel .custom-control-label {
    color: var(--dxt-sy-ink);
    font-size: 13px;
    font-weight: 700;
}

body.dxt-system-phase10 .dxt-system-notification-panel .onoffswitch-title-desc {
    display: block;
    margin-top: 8px;
    color: var(--dxt-sy-muted);
    font-size: 11px;
    font-weight: 400;
}

body.dxt-system-phase10 .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--dxt-sy-green);
    border-color: var(--dxt-sy-green);
}

/* System configuration */
body.dxt-system-phase10 .dxt-system-form .form-label,
body.dxt-system-phase10 .dxt-system-form label {
    margin-bottom: 6px;
    color: #3d4c5d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

body.dxt-system-phase10 .dxt-system-form .form-control,
body.dxt-system-phase10 .dxt-system-form .select2-selection {
    min-height: 40px;
    color: var(--dxt-sy-ink);
    background: #fff;
    border: 1px solid #cfd9e3;
    border-radius: 8px;
    box-shadow: none;
    font-size: 13px;
}

body.dxt-system-phase10 .dxt-system-form textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

body.dxt-system-phase10 .dxt-system-form-section {
    display: flex;
    align-items: center;
    margin: 8px 0 14px;
    padding: 11px 12px;
    gap: 10px;
    color: var(--dxt-sy-deep);
    background: #f4f8fb;
    border: 1px solid #dceaf5;
    border-radius: 9px;
}

body.dxt-system-phase10 .dxt-system-form-section > i {
    font-size: 18px;
}

body.dxt-system-phase10 .dxt-system-form-section strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
}

body.dxt-system-phase10 .dxt-system-form-section small {
    display: block;
    margin-top: 2px;
    color: var(--dxt-sy-muted);
    font-size: 11px;
    font-weight: 400;
}

body.dxt-system-phase10 .dxt-system-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 13px;
    box-shadow: 0 18px 55px rgba(20, 40, 65, .2);
}

body.dxt-system-phase10 .dxt-system-modal .modal-header {
    min-height: 58px;
    color: var(--dxt-sy-ink);
    background: #fff;
    border-bottom: 1px solid var(--dxt-sy-line);
}

body.dxt-system-phase10 .dxt-system-modal .modal-title {
    font-size: 17px;
    font-weight: 700;
}

body.dxt-system-phase10 .dxt-system-modal .modal-body {
    padding: 18px;
}

body.dxt-system-phase10 .dxt-system-form #formSubmitButton,
body.dxt-system-phase10 .dxt-system-form #formSubmitButton:hover,
body.dxt-system-phase10 .dxt-system-form #formSubmitButton:focus {
    min-height: 38px;
    color: #fff;
    background: var(--dxt-sy-green);
    border-color: var(--dxt-sy-green);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

/* About */
.dxt-about-overview,
.dxt-about-card,
.dxt-about-capabilities {
    background: #fff;
    border: 1px solid var(--dxt-sy-line);
    border-radius: var(--dxt-sy-radius);
    box-shadow: var(--dxt-sy-shadow);
}

.dxt-about-overview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 22px;
    gap: 20px;
    border-left: 4px solid var(--dxt-sy-blue);
}

.dxt-about-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.dxt-about-brand img {
    width: 116px;
    max-height: 58px;
    object-fit: contain;
}

.dxt-about-brand > div > span {
    color: var(--dxt-sy-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dxt-about-brand h2,
.dxt-about-section-heading h2 {
    margin: 3px 0 5px;
    color: var(--dxt-sy-ink);
    font-size: 22px;
    font-weight: 700;
}

.dxt-about-brand p,
.dxt-about-card p,
.dxt-about-capability-grid p {
    margin: 0;
    color: var(--dxt-sy-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.dxt-about-pill {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 34px;
    padding: 7px 11px;
    gap: 6px;
    color: #117654;
    background: #eaf7f2;
    border: 1px solid #ccecdf;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.dxt-about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 12px;
    gap: 12px;
}

.dxt-about-card {
    position: relative;
    padding: 20px;
}

.dxt-about-card-icon {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: var(--dxt-sy-blue);
    background: #eef6fc;
    border-radius: 9px;
    font-size: 19px;
}

.dxt-about-card-icon.is-green {
    color: #137c5a;
    background: #eaf7f2;
}

.dxt-about-card h3 {
    margin: 4px 52px 3px 0;
    color: var(--dxt-sy-ink);
    font-size: 18px;
    font-weight: 700;
}

.dxt-about-card dl {
    margin: 16px 0 0;
    border-top: 1px solid var(--dxt-sy-line);
}

.dxt-about-card dl > div {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    padding: 9px 0;
    gap: 10px;
    border-bottom: 1px solid #edf1f5;
}

.dxt-about-card dl > div:last-child {
    border-bottom: 0;
}

.dxt-about-card dt,
.dxt-about-card dd {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
}

.dxt-about-card dt {
    color: var(--dxt-sy-muted);
    font-weight: 700;
}

.dxt-about-card dd {
    overflow-wrap: anywhere;
    color: var(--dxt-sy-ink);
    font-weight: 400;
}

.dxt-about-card a {
    color: var(--dxt-sy-blue);
}

.dxt-about-capabilities {
    padding: 20px;
}

.dxt-about-capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 16px;
    gap: 10px;
}

.dxt-about-capability-grid article {
    padding: 15px;
    background: #f7f9fb;
    border: 1px solid #e4eaf0;
    border-radius: 9px;
}

.dxt-about-capability-grid i {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
    color: var(--dxt-sy-deep);
    background: #eaf3fa;
    border-radius: 8px;
    font-size: 17px;
}

.dxt-about-capability-grid strong {
    display: block;
    margin-bottom: 4px;
    color: var(--dxt-sy-ink);
    font-size: 13px;
    font-weight: 700;
}

/* SQL console */
.dxt-sql-console {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--dxt-sy-line);
    border-radius: var(--dxt-sy-radius);
    box-shadow: var(--dxt-sy-shadow);
}

.dxt-sql-console > header {
    display: flex;
    align-items: center;
    padding: 18px;
    gap: 13px;
    border-bottom: 1px solid var(--dxt-sy-line);
}

.dxt-sql-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    color: var(--dxt-sy-blue);
    background: #eef6fc;
    border-radius: 9px;
    font-size: 20px;
}

.dxt-sql-console > header > div {
    min-width: 0;
}

.dxt-sql-console > header > div > span {
    color: var(--dxt-sy-blue);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dxt-sql-console h2 {
    margin: 2px 0 3px;
    color: var(--dxt-sy-ink);
    font-size: 18px;
    font-weight: 700;
}

.dxt-sql-console header p {
    margin: 0;
    color: var(--dxt-sy-muted);
    font-size: 12px;
    font-weight: 400;
}

.dxt-sql-restricted {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 30px;
    margin-left: auto;
    padding: 6px 9px;
    gap: 5px;
    color: var(--dxt-sy-deep);
    background: #edf5fb;
    border: 1px solid #d7e7f3;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.dxt-sql-warning {
    display: flex;
    align-items: flex-start;
    margin: 16px 18px 0;
    padding: 11px 12px;
    gap: 9px;
    color: #76561b;
    background: #fff9eb;
    border: 1px solid #f1dfb2;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.45;
}

.dxt-sql-warning strong {
    font-weight: 700;
}

.dxt-sql-editor {
    padding: 18px;
}

.dxt-sql-editor > label {
    display: block;
    margin-bottom: 7px;
    color: #3d4c5d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.dxt-sql-editor #sql {
    width: 100%;
    min-height: 300px;
    padding: 15px;
    color: #dce9f5;
    background: #102437;
    border: 1px solid #203c55;
    border-radius: 9px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .18);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 13px;
    line-height: 1.55;
    resize: vertical;
}

.dxt-sql-editor #sql::placeholder {
    color: #8fa7ba;
}

.dxt-sql-editor footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    gap: 12px;
}

.dxt-sql-editor footer small {
    color: var(--dxt-sy-muted);
    font-size: 11px;
}

.dxt-sql-editor kbd {
    color: #46576a;
    background: #eef1f5;
    border: 1px solid #d8e0e7;
    box-shadow: none;
}

.dxt-sql-editor #SQLButton {
    min-height: 38px;
    padding: 8px 13px;
    color: #fff;
    background: var(--dxt-sy-blue);
    border-color: var(--dxt-sy-blue);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

/* Error and unavailable states */
.dxt-system-error {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: min(620px, calc(100vh - 260px));
    padding: 40px 20px;
    color: var(--dxt-sy-ink);
    text-align: center;
    background: #fff;
    border: 1px solid var(--dxt-sy-line);
    border-radius: var(--dxt-sy-radius);
    box-shadow: var(--dxt-sy-shadow);
}

.dxt-system-error-icon {
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 12px;
    color: var(--dxt-sy-blue);
    background: #eef6fc;
    border: 1px solid #d6e9f8;
    border-radius: 14px;
    font-size: 27px;
}

.dxt-system-error-code {
    color: var(--dxt-sy-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.dxt-system-error h1,
.dxt-system-error h2 {
    margin: 6px 0 7px;
    color: var(--dxt-sy-ink);
    font-size: 26px;
    font-weight: 700;
}

.dxt-system-error p {
    max-width: 580px;
    margin: 0 0 18px;
    color: var(--dxt-sy-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
}

.dxt-system-error > div {
    display: flex;
    gap: 8px;
}

.dxt-system-error .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 13px;
    gap: 6px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.dxt-system-error .btn-primary {
    color: #fff;
    background: var(--dxt-sy-blue);
    border-color: var(--dxt-sy-blue);
}

.dxt-system-error-compact {
    min-height: 290px;
}

/* Login refinement */
body.dxt-system-login .dxt-login-shell {
    background: #f3f6f9;
}

body.dxt-system-login .dxt-login-intro {
    color: #fff;
    background: var(--dxt-sy-deep);
}

body.dxt-system-login .dxt-login-intro h1 {
    max-width: 670px;
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 700;
    letter-spacing: -.045em;
}

body.dxt-system-login .dxt-login-intro p {
    max-width: 640px;
    color: rgba(255, 255, 255, .8);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
}

body.dxt-system-login .dxt-login-form-inner {
    border: 1px solid var(--dxt-sy-line);
    border-radius: 14px;
    box-shadow: 0 18px 55px rgba(20, 40, 65, .12);
}

body.dxt-system-login .dxt-login-form h2 {
    color: var(--dxt-sy-ink);
    font-weight: 700;
}

body.dxt-system-login .dxt-login-form .form-control {
    min-height: 46px;
    border: 1px solid #cfd9e3;
    border-radius: 8px;
    font-size: 14px;
}

body.dxt-system-login .dxt-login-form #formSubmitButton {
    min-height: 44px;
    color: #fff;
    background: var(--dxt-sy-blue);
    border-color: var(--dxt-sy-blue);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

body.dxt-system-login .dxt-login-password-wrap {
    position: relative;
}

body.dxt-system-login .dxt-login-password-wrap input {
    padding-right: 46px;
}

body.dxt-system-login .dxt-login-password-toggle {
    position: absolute;
    top: 50%;
    right: 7px;
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    color: #657489;
    background: transparent;
    border: 0;
    border-radius: 7px;
    transform: translateY(-50%);
}

/* Lock screen */
body.dxt-lock-screen {
    min-height: 100vh;
    margin: 0;
    color: var(--dxt-sy-ink);
    background: #eef3f7;
}

.dxt-lock-shell {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 88px 20px 54px;
}

.dxt-lock-brand {
    position: absolute;
    top: 24px;
    left: 28px;
}

.dxt-lock-brand img {
    width: 128px;
    max-height: 62px;
    object-fit: contain;
}

.dxt-lock-card {
    position: relative;
    width: min(100%, 440px);
    padding: 34px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--dxt-sy-line);
    border-top: 4px solid var(--dxt-sy-blue);
    border-radius: 15px;
    box-shadow: 0 18px 55px rgba(20, 40, 65, .13);
}

.dxt-lock-shield {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #117654;
    background: #eaf7f2;
    border-radius: 9px;
    font-size: 17px;
}

.dxt-lock-avatar {
    width: 86px;
    height: 86px;
    margin: 0 auto 14px;
    overflow: hidden;
    background: #edf1f5;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #d5dfe8, 0 7px 18px rgba(20, 40, 65, .12);
}

.dxt-lock-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dxt-lock-kicker {
    color: var(--dxt-sy-blue);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.dxt-lock-card h1 {
    margin: 5px 0 6px;
    color: var(--dxt-sy-ink);
    font-size: 22px;
    font-weight: 700;
}

.dxt-lock-card > p {
    margin: 0 0 19px;
    color: var(--dxt-sy-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.dxt-lock-card > label {
    display: block;
    margin-bottom: 6px;
    color: #3d4c5d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: left;
    text-transform: uppercase;
}

.dxt-lock-input {
    display: flex;
}

.dxt-lock-input input {
    min-height: 44px;
    border: 1px solid #cfd9e3;
    border-right: 0;
    border-radius: 8px 0 0 8px;
    box-shadow: none;
    font-size: 14px;
}

.dxt-lock-input .btn {
    display: inline-grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    color: #fff;
    background: var(--dxt-sy-green);
    border: 1px solid var(--dxt-sy-green);
    border-radius: 0 8px 8px 0;
    font-size: 18px;
}

.dxt-lock-error {
    min-height: 20px;
    margin-top: 7px;
    color: var(--dxt-sy-danger);
    font-size: 11px;
}

.dxt-lock-switch {
    padding: 4px;
    color: var(--dxt-sy-blue);
    background: transparent;
    border: 0;
    font-size: 11px;
    font-weight: 600;
}

.dxt-lock-shell > footer {
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    color: #68778a;
    font-size: 10px;
    text-align: center;
}

body.dxt-system-phase10 :focus-visible,
body.dxt-system-login :focus-visible,
body.dxt-lock-screen :focus-visible {
    outline: 3px solid rgba(28, 117, 188, .22);
    outline-offset: 2px;
}

@media (max-width: 1050px) {
    body.dxt-system-phase10 .dxt-system-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    body.dxt-system-phase10 .dxt-system-commandbar,
    .dxt-about-overview,
    .dxt-sql-console > header {
        align-items: flex-start;
        flex-direction: column;
    }

    body.dxt-system-phase10 .dxt-system-metrics,
    .dxt-about-grid,
    .dxt-about-capability-grid {
        grid-template-columns: 1fr;
    }

    .dxt-about-brand {
        align-items: flex-start;
        flex-direction: column;
    }

    .dxt-about-pill,
    .dxt-sql-restricted {
        margin-left: 0;
    }

    .dxt-sql-editor footer {
        align-items: stretch;
        flex-direction: column;
    }

    .dxt-sql-editor #SQLButton {
        width: 100%;
    }

    .dxt-system-error > div {
        flex-direction: column;
        width: 100%;
    }

    .dxt-lock-card {
        padding: 30px 22px;
    }

    .dxt-lock-brand {
        top: 18px;
        left: 20px;
    }
}

@media print {
    body.dxt-system-phase10 .dxt-system-nav,
    body.dxt-system-phase10 .dxt-system-commandbar,
    .dxt-sql-editor footer,
    .dxt-system-error > div {
        display: none !important;
    }

    body.dxt-system-phase10 .dxt-system-metrics article,
    .dxt-about-overview,
    .dxt-about-card,
    .dxt-about-capabilities,
    .dxt-sql-console,
    .dxt-system-error {
        box-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.dxt-system-phase10 *,
    body.dxt-system-phase10 *::before,
    body.dxt-system-phase10 *::after,
    body.dxt-system-login *,
    body.dxt-lock-screen * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
