:root {
    --sidebar-width: 304px;
    --bg: #ffffff;
    --bg-soft: #e8eaf0;
    --bg-soft-2: #d7e1fb;
    --line: #cfd8ee;
    --line-strong: #97ace6;
    --text: #050505;
    --muted: #5d6785;
    --brand: #3207ff;
    --brand-soft: #8f7cf4;
    --brand-dark: #2812b1;
    --brand-deep: #0e0066;
    --danger: #bf1736;
    --success: #198754;
    --warning: #b7791f;
    --radius: 24px;
    --radius-sm: 14px;
    --shadow: 0 24px 60px rgba(14, 0, 102, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
}

body {
    margin: 0;
    color: var(--text);
    font-family: "TT Firs Neue", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    background:
        linear-gradient(90deg, rgba(232, 234, 240, 0.72) 0, rgba(232, 234, 240, 0.72) var(--sidebar-width), transparent var(--sidebar-width)),
        var(--bg);
}

body.body-auth {
    background: var(--bg);
}

a {
    transition: color 140ms ease, background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.app-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.app-layout--with-sidebar {
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
}

.app-layout--auth {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(215, 225, 251, 0.55) 0%, rgba(232, 234, 240, 0.36) 40%, var(--bg) 100%);
}

.app-layout--auth::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(50, 7, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(50, 7, 255, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 66% 56% at 50% 44%, #000 18%, transparent 72%);
    mask-image: radial-gradient(ellipse 66% 56% at 50% 44%, #000 18%, transparent 72%);
    z-index: 0;
}

.app-layout--auth::after {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(620px, 70vw);
    height: min(620px, 70vw);
    transform: translate(-50%, -50%);
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(50, 7, 255, 0.08) 0%, rgba(151, 172, 230, 0.03) 42%, transparent 72%);
    z-index: 0;
}

.app-sidebar {
    min-width: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 22px;
}

.app-sidebar-frame {
    height: 100%;
    min-width: 0;
    padding: 28px 20px 22px;
    border: 1px solid rgba(151, 172, 230, 0.65);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(151, 172, 230, 0.52) 0%, rgba(232, 234, 240, 0.88) 38%, rgba(255, 255, 255, 0.96) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    display: flex;
    flex-direction: column;
    gap: 22px;
    overflow: hidden;
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
}

.app-brand:hover {
    color: var(--brand);
}

.app-brand__mark {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    box-shadow: 0 14px 28px rgba(50, 7, 255, 0.22);
    font-weight: 800;
}

.app-brand__text {
    font-size: 1.1rem;
    font-weight: 700;
}

.app-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
}

.app-nav__group {
    flex: 0 0 auto;
    padding: 10px;
    border: 1px solid rgba(151, 172, 230, 0.35);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.46);
}

.app-nav__summary {
    min-height: 34px;
    display: flex;
    align-items: center;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.app-nav__link {
    display: block;
    padding: 12px 14px;
    border-radius: 16px;
    color: rgba(5, 5, 5, 0.86);
    text-decoration: none;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.app-nav__link:hover {
    background: rgba(255, 255, 255, 0.74);
    color: var(--text);
    transform: translateX(2px);
}

.app-nav__link.is-active {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    box-shadow: 0 14px 28px rgba(50, 7, 255, 0.2);
}

.app-nav__link--child {
    margin-top: 6px;
}

.app-sidebar-user {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(151, 172, 230, 0.7);
    display: grid;
    gap: 6px;
}

.app-sidebar-user__name {
    font-size: 1rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.app-sidebar-user__role {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.app-content {
    min-width: 0;
    padding: 26px 34px 40px;
}

.app-layout--auth .app-content {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 28px;
}

.app-container {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
}

.app-layout--auth .app-container {
    max-width: none;
    min-height: calc(100vh - 56px);
    display: grid;
    place-items: center;
}

.login-bg,
.login-bg__grid,
.login-bg__dots,
.login-bg__glow,
.login-bg__pulses {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.login-bg {
    z-index: 0;
    overflow: hidden;
}

.login-bg__grid {
    background-image:
        linear-gradient(rgba(50, 7, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(50, 7, 255, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 68% 58% at 50% 44%, #000 16%, transparent 72%);
    mask-image: radial-gradient(ellipse 68% 58% at 50% 44%, #000 16%, transparent 72%);
    animation: login-grid-float 12s ease-in-out infinite;
}

.login-bg__dots {
    opacity: 0.55;
    background-image: radial-gradient(circle, rgba(50, 7, 255, 0.12) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 58%);
    mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 58%);
    animation: login-dots-pulse 4.5s ease-in-out infinite;
}

.login-bg__glow {
    top: 50%;
    left: 50%;
    width: min(760px, 74vw);
    height: min(760px, 74vw);
    inset: auto;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(circle at center, rgba(50, 7, 255, 0.16) 0%, rgba(151, 172, 230, 0.07) 42%, transparent 72%);
    filter: blur(2px);
    animation: login-glow-breathe 5.6s ease-in-out infinite;
}

.login-bg__emblem {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%);
    pointer-events: none;
    color: rgba(50, 7, 255, 0.028);
    font-size: clamp(12rem, 28vw, 31rem);
    font-weight: 900;
    line-height: 1;
    z-index: 0;
    animation: login-emblem-drift 9s ease-in-out infinite;
}

.login-bg__pulses {
    display: grid;
    place-items: center;
}

.login-bg__pulse {
    position: absolute;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(50, 7, 255, 0.1);
    border-radius: 48px;
    opacity: 0;
    transform: rotate(45deg) scale(0.44);
}

.login-bg__pulse:nth-child(1) {
    animation: login-pulse-sweep 4.8s ease-out infinite;
}

.login-bg__pulse:nth-child(2) {
    animation: login-pulse-sweep 4.8s ease-out 1.6s infinite;
}

.login-bg__pulse:nth-child(3) {
    animation: login-pulse-sweep 4.8s ease-out 3.2s infinite;
}

.login-card {
    position: relative;
    z-index: 1;
    width: min(468px, 92vw);
    padding: 40px 36px 34px;
    border: 1px solid rgba(151, 172, 230, 0.48);
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 28px 68px rgba(14, 0, 102, 0.09),
        0 0 0 1px rgba(215, 225, 251, 0.55) inset;
    transform: translateZ(0);
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.login-card.is-validating {
    border-color: rgba(50, 7, 255, 0.36);
    box-shadow:
        0 30px 78px rgba(14, 0, 102, 0.14),
        0 0 0 1px rgba(50, 7, 255, 0.12) inset,
        0 0 58px rgba(50, 7, 255, 0.11);
    animation: login-card-breathe 1.45s ease-in-out infinite;
}

.login-card.is-loading {
    transform: translateY(-2px) scale(0.995);
}

.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.login-brand__mark {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    box-shadow: 0 12px 22px rgba(50, 7, 255, 0.2);
    font-weight: 800;
}

.login-brand__text {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
}

.login-title {
    margin: 0 0 22px;
    font-size: 1.28rem;
    line-height: 1.18;
}

.login-form {
    display: grid;
    gap: 16px;
}

.login-form.is-submitting .login-form__group,
.login-form.is-submitting .alert {
    pointer-events: none;
    opacity: 0.58;
}

.login-form__group {
    display: grid;
    gap: 6px;
}

.login-card .form-select,
.login-card .form-control,
.login-card .scroll-select-toggle {
    min-height: 48px;
    border-radius: 16px;
    padding-inline: 15px;
}

.login-card .password-input-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.login-card .password-input-group .btn {
    min-width: 104px;
    border-radius: 14px !important;
}

.login-card .password-input-group .form-control {
    border-radius: 16px !important;
    width: 100% !important;
    min-width: 0;
}

.login-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    margin-top: 4px;
    border-radius: 14px;
}

.login-submit__spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.42);
    border-top-color: #fff;
    border-radius: 50%;
}

.login-form.is-submitting .login-submit__spinner {
    display: inline-block;
    animation: login-spinner 720ms linear infinite;
}

.login-progress {
    display: grid;
    gap: 8px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 180ms ease, max-height 180ms ease;
}

.login-form.is-submitting .login-progress {
    opacity: 1;
    max-height: 24px;
}

.login-progress__track {
    height: 8px;
    border-radius: 999px;
    background: rgba(215, 225, 251, 0.78);
    overflow: hidden;
}

.login-progress__fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-soft) 100%);
    box-shadow: 0 0 22px rgba(50, 7, 255, 0.22);
    transition: width 460ms ease;
}

.login-statuses {
    display: grid;
    gap: 7px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 180ms ease, max-height 180ms ease;
}

.login-form.is-submitting .login-statuses {
    opacity: 1;
    max-height: 132px;
}

.login-status {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 600;
    opacity: 0.42;
    transform: translateY(4px);
    transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.login-status::before {
    content: "";
    position: absolute;
    top: 0.45em;
    left: 0;
    width: 10px;
    height: 10px;
    border: 2px solid rgba(50, 7, 255, 0.22);
    border-radius: 50%;
    background: #fff;
}

.login-status.is-visible {
    color: var(--text);
    opacity: 1;
    transform: translateY(0);
}

.login-status.is-visible::before {
    border-color: var(--brand);
    box-shadow: 0 0 0 5px rgba(50, 7, 255, 0.08);
}

.login-status.is-done::before {
    background: var(--brand);
    border-color: var(--brand);
}

@keyframes login-grid-float {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(-12px, 10px, 0);
    }
}

@keyframes login-dots-pulse {
    0%,
    100% {
        opacity: 0.36;
        transform: scale(1);
    }
    50% {
        opacity: 0.72;
        transform: scale(1.025);
    }
}

@keyframes login-glow-breathe {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(0.98);
        opacity: 0.85;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.08);
        opacity: 1;
    }
}

@keyframes login-emblem-drift {
    0%,
    100% {
        transform: translate(-50%, -48%) rotate(0deg);
    }
    50% {
        transform: translate(-49%, -50%) rotate(-1.5deg);
    }
}

@keyframes login-pulse-sweep {
    0% {
        opacity: 0;
        transform: rotate(45deg) scale(0.44);
    }
    14% {
        opacity: 0.26;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) scale(2.55);
    }
}

@keyframes login-card-breathe {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.006);
    }
}

@keyframes login-spinner {
    to {
        transform: rotate(360deg);
    }
}

.page-shell {
    min-height: 100vh;
}

.content-card {
    background: var(--bg);
    border: 1px solid rgba(151, 172, 230, 0.45);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.row > [class*="col-"] > .content-card {
    border-radius: 28px;
}

h1,
h2,
h3,
.h1,
.h2,
.h3,
.h4,
.h5 {
    color: var(--text);
    font-weight: 700;
    letter-spacing: 0;
}

.text-muted {
    color: var(--muted) !important;
}

.table-responsive {
    border-radius: var(--radius);
}

.table {
    --bs-table-bg: transparent;
    margin-bottom: 0;
}

.table > :not(caption) > * > * {
    padding: 0.85rem 0.75rem;
    border-bottom-color: rgba(207, 216, 238, 0.9);
}

.table th {
    white-space: nowrap;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 700;
}

.table th .table-sort-link {
    color: #000;
    font-weight: 700;
    text-decoration: none;
}

.table th .table-sort-link:hover,
.table th .table-sort-link:focus {
    color: #000;
    text-decoration: none;
}

.table-hover > tbody > tr:hover > * {
    --bs-table-bg-state: rgba(215, 225, 251, 0.28);
}

.btn {
    border-radius: var(--radius-sm);
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-weight: 600;
}

.btn-sm {
    min-height: 34px;
    border-radius: 11px;
}

.btn-primary,
.btn-success {
    border-color: transparent;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    box-shadow: 0 12px 24px rgba(50, 7, 255, 0.14);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-success:hover,
.btn-success:focus {
    border-color: transparent;
    background: linear-gradient(135deg, #4328ff 0%, var(--brand-dark) 100%);
    box-shadow: 0 16px 28px rgba(50, 7, 255, 0.18);
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success {
    color: var(--text);
    border-color: rgba(151, 172, 230, 0.8);
    background: #fff;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-success:hover {
    color: var(--brand);
    border-color: rgba(50, 7, 255, 0.4);
    background: rgba(245, 247, 255, 0.95);
}

.btn-danger,
.btn-outline-danger:hover {
    border-color: transparent;
    background: var(--danger);
}

.btn-outline-danger {
    color: var(--danger);
    border-color: rgba(191, 23, 54, 0.36);
    background: #fff;
}

.badge {
    border-radius: 9px;
    padding: 0.42em 0.62em;
}

.bg-secondary {
    background-color: #677083 !important;
}

.bg-success {
    background-color: var(--success) !important;
}

.bg-warning {
    background-color: #ffb612 !important;
}

.form-control,
.form-select,
textarea,
input,
select {
    border-radius: var(--radius-sm);
    border-color: rgba(151, 172, 230, 0.75);
}

.form-control:focus,
.form-select:focus,
textarea:focus,
input:focus,
select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(50, 7, 255, 0.12);
}

.form-label {
    margin-bottom: 0.25rem;
    color: var(--text);
    font-weight: 600;
}

.alert {
    border-radius: 18px;
    border-width: 1px;
}

.alert-danger {
    color: var(--danger);
    background: rgba(191, 23, 54, 0.08);
    border-color: rgba(191, 23, 54, 0.2);
}

.alert-warning {
    color: #674600;
    background: rgba(255, 182, 18, 0.16);
    border-color: rgba(255, 182, 18, 0.34);
}

.alert-success {
    color: #0f5132;
    background: rgba(25, 135, 84, 0.12);
    border-color: rgba(25, 135, 84, 0.25);
}

.alert-info {
    color: var(--brand-deep);
    background: rgba(215, 225, 251, 0.6);
    border-color: rgba(151, 172, 230, 0.45);
}

.city-tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.city-tab {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 2px 12px;
    border: 1px solid #6c757d;
    border-radius: 999px;
    color: #212529;
    background: #fff;
    line-height: 1.2;
}

.city-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 3px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.875rem;
    line-height: 1.2;
    white-space: nowrap;
}

.city-badge-moscow {
    color: #28536b;
    background: #d8ecf3;
    border-color: #b9dbe7;
}

.city-badge-spb {
    color: #5a3f73;
    background: #eadff4;
    border-color: #d8c3ea;
}

.city-badge-samara {
    color: #496333;
    background: #e2efd4;
    border-color: #cbe1b4;
}

.city-badge-novosibirsk {
    color: #7a4b22;
    background: #f5e1c8;
    border-color: #ebc99e;
}

.city-badge-default {
    color: #495057;
    background: #edf0f2;
    border-color: #d8dee3;
}

.status-nowrap {
    white-space: nowrap;
}

.summary-time {
    min-width: 120px;
    white-space: nowrap;
}

.summary-comment {
    text-align: center;
    vertical-align: middle;
}

.summary-table-card {
    overflow: visible;
}

.summary-table {
    min-width: 1120px;
}

.sticky-table-head {
    position: sticky;
    top: 0;
    z-index: 5;
}

.sticky-table-head th {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #fff;
    box-shadow: 0 1px 0 #dee2e6;
}

.password-input-group .form-control:focus {
    position: relative;
    z-index: 1;
}

.password-input-group {
    gap: 8px;
}

.password-input-group .form-control {
    border-radius: 0.375rem !important;
}

.password-input-group .btn {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 0.375rem !important;
}

.contact-clear-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

.contact-clear-input {
    padding-right: 2.5rem;
}

.contact-clear-btn {
    position: absolute;
    top: 50%;
    right: 0.55rem;
    z-index: 3;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #6c757d;
    font-size: 1.25rem;
    line-height: 1;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-clear-btn:hover,
.contact-clear-btn:focus {
    color: #212529;
    background: #eef2f7;
}

.scroll-select {
    position: relative;
}

.scroll-select-toggle {
    min-height: 42px;
}

.scroll-select-menu {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    z-index: 1050;
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    padding: 4px 0;
    border: 1px solid rgba(151, 172, 230, 0.8);
    border-radius: var(--radius-sm);
    background: #fff;
    box-shadow: 0 18px 45px rgba(32, 40, 69, 0.16);
}

.scroll-select.is-open .scroll-select-menu {
    display: block;
}

.scroll-select-item {
    display: block;
    width: 100%;
    padding: 8px 12px;
    border: 0;
    background: transparent;
    color: #212529;
    text-align: left;
}

.scroll-select-item:hover,
.scroll-select-item:focus,
.scroll-select-item.is-selected {
    background: var(--brand);
    color: #fff;
}

.messenger-time-field {
    max-width: 170px;
}

.messenger-time-input {
    width: 170px !important;
    max-width: 100%;
}

@media (max-width: 576px) {
    .messenger-time-field {
        max-width: none;
    }

    .messenger-time-input {
        width: 100% !important;
    }
}

@media (max-width: 1024px) {
    body {
        background:
            linear-gradient(180deg, rgba(232, 234, 240, 0.72) 0, rgba(232, 234, 240, 0.72) 360px, transparent 360px),
            var(--bg);
    }

    .app-layout,
    .app-layout--with-sidebar {
        grid-template-columns: 1fr;
    }

    .app-sidebar {
        position: static;
        height: auto;
        padding: 18px 18px 0;
    }

    .app-sidebar-frame {
        padding: 22px 18px;
        gap: 16px;
    }

    .app-nav {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 6px;
    }

    .app-nav__group {
        min-width: 220px;
    }

    .app-nav__link {
        min-width: max-content;
        white-space: nowrap;
    }

    .app-sidebar-user {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .app-sidebar-user form {
        margin-left: auto;
    }

    .app-sidebar-user .btn {
        width: auto !important;
        min-width: 120px;
    }

    .app-content {
        padding: 18px;
    }
}

@media (max-width: 680px) {
    :root {
        --radius: 20px;
    }

    .app-content {
        padding: 14px;
    }

    .app-sidebar {
        padding: 14px 14px 0;
    }

    .app-sidebar-frame,
    .content-card {
        border-radius: 22px;
    }

    .app-sidebar-user {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .login-card {
        padding: 30px 24px 26px;
        border-radius: 28px;
    }

    .login-card .password-input-group {
        grid-template-columns: 1fr;
    }

    .login-card .password-input-group .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
    }

    .login-bg__grid,
    .login-bg__dots,
    .login-bg__glow,
    .login-bg__emblem,
    .login-bg__pulse,
    .login-card.is-validating,
    .login-form.is-submitting .login-submit__spinner {
        animation: none !important;
    }

    .login-progress__fill,
    .login-status,
    .login-card {
        transition-duration: 1ms !important;
    }
}
