:root {
    color-scheme: light;
}

body {
    background: #f2f4f5;
    color: #0d1b26;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.content-header {
    background: #f2f4f5;
}

#content-resizer-handler {
    display: none;
}

.content-wrapper {
    max-inline-size: none;
}

.vmg-brand {
    align-items: center;
    display: flex;
    min-height: 50px;
    padding-block: 7px;
}

.vmg-brand img {
    display: block;
    height: auto;
    max-width: 168px;
    width: 100%;
}

.ea-sidebar-content {
    padding-top: 10px;
}

.ea-sidebar-item {
    margin-bottom: 5px;
    padding-inline: 11px;
}

.ea-sidebar-item-link {
    align-items: center;
    border-radius: 6px;
    padding-block: 10px;
}

.ea-sidebar-item-icon {
    margin-inline-end: 11px;
}

.ea-index .content-body,
.ea-detail .content-body {
    background: #ffffff;
    border: 1px solid #dde3e6;
    border-radius: 8px;
    box-shadow: none;
    padding: 20px;
}

.datagrid td.actions {
    white-space: nowrap;
}

.dropdown-menu {
    border: 1px solid #dde3e6;
    box-shadow: none;
}

.dropdown-menu .dropdown-item,
.dropdown-menu .dropdown-item .action-label {
    color: #0d1b26;
}

.dropdown-menu .dropdown-item-variant-danger,
.dropdown-menu .dropdown-item-variant-danger .action-icon,
.dropdown-menu .dropdown-item-variant-danger .action-label {
    color: #b42318;
}

.dropdown-menu .dropdown-divider {
    border-top: 1px solid #dde3e6;
    box-shadow: none;
}

.btn,
.btn:hover,
.btn:active,
.btn:focus,
.btn:focus-visible {
    box-shadow: none !important;
}

.form-widget .form-select,
.form-widget input.form-control,
.form-widget textarea.form-control {
    min-block-size: 40px;
}

.form-widget input.form-control:focus,
.form-widget textarea.form-control:focus,
.form-widget .form-select:focus {
    border-color: #fd571e;
    box-shadow: none;
    outline: 2px solid #fd571e;
    outline-offset: -1px;
}

.form-tabs-tablist {
    border-bottom: 1px solid #dde3e6;
    box-shadow: none;
    margin-bottom: 20px;
}

.ea-edit .form-column,
.ea-new .form-column,
.ea-detail .form-column {
    margin-bottom: 18px;
}

.ea-edit .form-column-panel,
.ea-new .form-column-panel,
.ea-detail .form-column-panel {
    background: #ffffff;
    border-color: #dde3e6;
    border-radius: 8px;
    box-shadow: none;
    min-height: 100%;
    padding: 18px;
}

.ea-edit .form-column-title,
.ea-new .form-column-title,
.ea-detail .form-column-title {
    border-bottom: 0;
    color: #0d1b26;
    margin-bottom: 18px;
    padding: 0;
}

.ea-edit .form-column-title-content,
.ea-new .form-column-title-content,
.ea-detail .form-column-title-content {
    font-weight: 700;
}

.ea-edit .form-column-icon,
.ea-new .form-column-icon,
.ea-detail .form-column-icon,
.ea-edit .form-fieldset-icon,
.ea-new .form-fieldset-icon,
.ea-detail .form-fieldset-icon {
    color: #fd571e;
}

.ea-edit .form-column .form-fieldset,
.ea-new .form-column .form-fieldset,
.ea-detail .form-column .form-fieldset {
    background: transparent;
    border: 0;
    box-shadow: none;
    margin: 0 !important;
    padding: 0;
}

.ea-edit .form-column .form-fieldset-body,
.ea-new .form-column .form-fieldset-body,
.ea-detail .form-column .form-fieldset-body {
    padding: 0;
}

.vmg-welcome-card {
    background: #ffffff;
    border: 1px solid #dde3e6;
    border-radius: 10px;
    box-shadow: none;
    max-width: 720px;
    padding: clamp(28px, 5vw, 48px);
}

.vmg-welcome-kicker {
    color: #fd571e;
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.vmg-welcome-card h2 {
    color: #0d1b26;
    font-size: clamp(28px, 4vw, 40px);
    margin: 0 0 12px;
}

.vmg-welcome-card p {
    color: #66737c;
    line-height: 1.65;
    margin: 0 0 26px;
}

body.page-login {
    background: #0d1b26;
}

.login-wrapper {
    margin-block-start: 0 !important;
}

.login-wrapper .main-header #header-logo {
    border-block-end: 0;
}

.login-wrapper .main-header #header-logo .logo {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
}

.vmg-login-brand {
    display: block;
    width: 230px;
}

.vmg-login-brand img {
    display: block;
    height: auto;
    width: 100%;
}

.login-wrapper .content {
    border-radius: 9px;
    box-shadow: none;
}

.login-wrapper .form-text a {
    color: #d94511;
    font-weight: 650;
}

.vmg-password-page {
    align-items: center;
    background: #0d1b26;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    margin: 0;
    min-height: 100vh;
    padding: 24px;
}

.vmg-password-wrapper {
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.vmg-password-panel {
    background: #ffffff;
    border: 1px solid #dde3e6;
    border-radius: 9px;
    box-shadow: none;
    box-sizing: border-box;
    max-width: 440px;
    padding: 38px 44px;
    width: 100%;
}

.vmg-password-brand {
    display: block;
    margin: 0 0 32px;
    max-width: calc(100vw - 64px);
    width: 230px;
}

.vmg-password-brand img {
    display: block;
    height: auto;
    width: 100%;
}

.vmg-password-panel h1 {
    color: #0d1b26;
    font-size: 26px;
    line-height: 1.25;
    margin: 0 0 12px;
}

.vmg-password-panel > p {
    color: #66737c;
    line-height: 1.6;
    margin: 0 0 24px;
}

.vmg-password-form {
    display: grid;
    gap: 8px;
}

.vmg-password-form label {
    color: #0d1b26;
    font-weight: 700;
    margin-top: 8px;
}

.vmg-password-form input {
    border: 1px solid #cdd5da;
    border-radius: 6px;
    box-sizing: border-box;
    font: inherit;
    min-height: 44px;
    padding: 10px 12px;
    width: 100%;
}

.vmg-password-form input:focus {
    border-color: #fd571e;
    box-shadow: none;
    outline: 2px solid #fd571e;
    outline-offset: -1px;
}

.vmg-password-form button {
    background: #fd571e;
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 750;
    margin-top: 16px;
    min-height: 46px;
}

.vmg-password-form button:hover {
    background: #e74812;
}

.vmg-back-link {
    color: #d94511;
    display: block;
    font-weight: 650;
    margin-top: 22px;
    text-align: center;
}

.vmg-alert {
    border-radius: 6px;
    line-height: 1.45;
    margin-bottom: 16px;
    padding: 11px 13px;
}

.vmg-alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

.vmg-alert-success {
    background: #dcfce7;
    color: #166534;
}

@media (min-width: 769px) {
    .ea-edit .form-tabs-content .row > .form-column,
    .ea-new .form-tabs-content .row > .form-column,
    .ea-detail .form-tabs-content .row > .form-column {
        flex: 1 1 0;
        max-width: none;
        min-width: 0;
        width: 0;
    }
}

@media (min-width: 992px) {
    .content-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }

    body.ea-sidebar-width-compact .vmg-brand img {
        height: 35px;
        max-width: none;
        object-fit: cover;
        object-position: left;
        width: 35px;
    }
}

@media (max-width: 600px) {
    .vmg-password-page {
        padding: 16px;
    }

    .vmg-password-panel {
        padding: 30px 24px;
    }

}
