.account-login-body {
    padding: 0;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 14px;
    overflow-x: hidden;
}

.account-login-container {
    max-width: 1750px;
}

.account-login-card {
    overflow: hidden;
}

#calendar {
    margin: 10px 0 10px 10px;
}

.fc .fc-button-primary,
.fc .fc-button-primary:disabled {
    background-color: #007bff;
    border-color: #007bff;
}

.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
    background-color: #1c52f1;
    border-color: #1c52f1;
}

#calendar .fc-view-container {
    background-color: #fff;
    box-shadow: none;
}

.mt-5,
.my-5 {
    margin-top: 1rem !important;
}

.afake {
    color: #4e73df;
    background-color: transparent;
    border: 0;
}

.afake:hover {
    color: #4169dd;
    cursor: pointer;
    text-decoration: underline;
}

.account-calendar-panel,
.account-login-panel {
    will-change: transform, opacity;
}

.account-calendar-panel {
    transition: flex-basis 1.05s cubic-bezier(.16, 1, .3, 1), max-width 1.05s cubic-bezier(.16, 1, .3, 1), opacity .45s ease;
    transform-origin: left center;
}

.account-slide-from-left {
    animation: accountSlideLeft 1.02s cubic-bezier(.16, 1, .3, 1) both;
}

.account-slide-from-right {
    animation: accountSlideRight 1.02s cubic-bezier(.16, 1, .3, 1) .1s both;
}

.account-login-panel {
    background: #fff;
}

.account-login-panel .form-control-user {
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.account-login-panel .form-control-user:focus {
    transform: translateY(-1px);
}

.account-calendar-expanding {
    animation: accountCalendarExpand 1.05s cubic-bezier(.16, 1, .3, 1) both;
}

.account-calendar-contracting {
    animation: accountCalendarContract 1.05s cubic-bezier(.16, 1, .3, 1) both;
}

.account-show-login-panel {
    align-items: center;
    justify-content: center;
    animation: accountShowLoginButton .6s cubic-bezier(.16, 1, .3, 1) .22s both;
}

.account-theme-switch {
    display: flex;
    justify-content: center;
    margin-top: .85rem;
}

.account-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-width: 10rem;
    min-height: 2.35rem;
    padding: .45rem .9rem;
    border: 1px solid #d1d9ee;
    border-radius: 999px;
    color: #2d4f9f;
    background: #fff;
    box-shadow: 0 .35rem 1rem rgba(78, 115, 223, .14);
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.account-theme-toggle:hover {
    color: #173f7f;
    border-color: #9eb1ec;
    background: #f8faff;
    transform: translateY(-1px);
}

.account-theme-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 .2rem rgba(78, 115, 223, .22);
}

.account-theme-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
}

.account-theme-toggle-text {
    font-weight: 700;
    line-height: 1.1;
}

@keyframes accountSlideLeft {
    from {
        opacity: 0;
        transform: translateX(-92px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes accountSlideRight {
    from {
        opacity: 0;
        transform: translateX(92px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes accountCalendarExpand {
    0% {
        opacity: .86;
        transform: scaleX(.955);
    }

    58% {
        opacity: 1;
        transform: scaleX(1.008);
    }

    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes accountCalendarContract {
    0% {
        opacity: .95;
        transform: scaleX(1.01);
    }

    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes accountShowLoginButton {
    from {
        opacity: 0;
        transform: translateX(16px) scale(.9);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

html[data-theme="dark"] .account-login-body {
    background: linear-gradient(135deg, #111827 0%, #173f7f 52%, #1f5fb4 100%) !important;
}

html[data-theme="dark"] .account-login-card,
html[data-theme="dark"] .account-login-panel {
    color: var(--utx-dark-text);
    background-color: var(--utx-dark-surface) !important;
}

html[data-theme="dark"] .account-login-panel {
    border-left-color: var(--utx-dark-accent-strong) !important;
}

html[data-theme="dark"] .afake {
    color: var(--utx-dark-accent);
}

html[data-theme="dark"] .afake:hover {
    color: #b8c6ff;
}

html[data-theme="dark"] .account-theme-toggle {
    color: var(--utx-dark-text);
    border-color: var(--utx-dark-border);
    background: var(--utx-dark-surface-raised);
    box-shadow: 0 .45rem 1.1rem rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .account-theme-toggle:hover {
    color: #fff;
    border-color: var(--utx-dark-accent-strong);
    background: #31435d;
}

@media (prefers-reduced-motion: reduce) {
    .account-slide-from-left,
    .account-slide-from-right,
    .account-calendar-expanding,
    .account-calendar-contracting,
    .account-show-login-panel {
        animation: none;
    }

    .account-calendar-panel,
    .account-theme-toggle {
        transition: none;
    }

    .account-login-panel .form-control-user:focus {
        transform: none;
    }
}

@media (max-width: 991.98px) {
    .account-login-panel {
        border-left: 0 !important;
    }

    .account-slide-from-right {
        animation-delay: 0s;
    }
}
