/* Admin sign-in page (Views/AdminAuth/SignIn). */
:root {
    --mm-yellow: #ffb21a;
    --mm-yellow-2: #ffab0d;
    --mm-cream: #fffaf0;
    --mm-ink: #202632;
    --mm-muted: #7d8796;
    --mm-border: #e2e6eb;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

    body.login_bg_style {
        min-height: 100vh;
        overflow: hidden;
        font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
        color: var(--mm-ink);
        background: radial-gradient(circle at 50% 44%, rgba(255, 191, 43, .105), transparent 31%), linear-gradient(135deg, #fffdf8 0%, #fffaf0 48%, #fff3cf 100%);
    }

/* ================================================================
                                   BACKGROUND — matched to the supplied reference
                                   ================================================================ */
.mm-login-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

    .mm-login-bg::before {
        content: "";
        position: absolute;
        inset: -18%;
        background: linear-gradient(118deg, transparent 0 18%, rgba(255, 216, 126, .18) 18.05% 30.5%, transparent 30.6% 65%, rgba(255, 218, 132, .14) 65.05% 75.5%, transparent 75.6%);
        transform: rotate(-2deg);
    }

    .mm-login-bg::after {
        content: "";
        position: absolute;
        width: 700px;
        height: 700px;
        left: 50%;
        top: 49%;
        transform: translate(-50%, -50%);
        border-radius: 48%;
        background: rgba(255, 255, 255, .18);
        box-shadow: 0 0 120px 80px rgba(255,255,255,.12);
    }

.mm-shard {
    position: absolute;
    opacity: .52;
}

    .mm-shard.left-top {
        left: -48px;
        top: -70px;
        width: 200px;
        height: 250px;
        clip-path: polygon(0 0, 100% 0, 73% 57%, 25% 73%, 0 59%);
        background: rgba(255, 209, 93, .18);
    }

    .mm-shard.right-top {
        right: -90px;
        top: -40px;
        width: 250px;
        height: 280px;
        clip-path: polygon(24% 0, 100% 0, 100% 76%, 72% 100%, 0 54%);
        background: rgba(255, 209, 93, .10);
    }

    .mm-shard.bottom-left {
        left: -40px;
        bottom: -100px;
        width: 260px;
        height: 250px;
        clip-path: polygon(0 0, 70% 14%, 100% 67%, 68% 100%, 0 100%);
        background: rgba(255, 209, 93, .11);
    }

    .mm-shard.bottom-right {
        right: -80px;
        bottom: -85px;
        width: 310px;
        height: 310px;
        clip-path: polygon(31% 0, 100% 34%, 100% 100%, 0 100%, 0 42%);
        background: rgba(255, 209, 93, .13);
    }

.mm-hex {
    position: absolute;
    width: 112px;
    height: 128px;
    clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
    opacity: .62;
}

    .mm-hex.one {
        left: 6.1%;
        top: 10.4%;
        border: 2px solid rgba(244, 177, 28, .28);
        background: rgba(255,255,255,.035);
    }

    .mm-hex.two {
        right: 5.8%;
        bottom: 6.8%;
        width: 150px;
        height: 172px;
        border: 2px solid rgba(244, 177, 28, .16);
        background: rgba(255, 201, 66, .035);
    }

    .mm-hex.three {
        left: 14.4%;
        top: -28px;
        width: 92px;
        height: 106px;
        border: 0;
        background: rgba(255, 197, 48, .10);
    }

.mm-dots {
    position: absolute;
    width: 88px;
    height: 88px;
    opacity: .42;
    background-image: radial-gradient(circle, rgba(235, 161, 15, .60) 1.8px, transparent 2.2px);
    background-size: 18px 18px;
}

    .mm-dots.top-right {
        right: 1.2%;
        top: 4.2%;
    }

    .mm-dots.bottom-left {
        left: .5%;
        bottom: 4.8%;
    }

/* ================================================================
                                   PAGE LAYOUT
                                   Reference: 1672x941 — logo top ≈ 85px, card top ≈ 169px
                                   ================================================================ */
.mm-login-shell {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 84px 20px 28px;
}

.login_logo_div {
    width: auto;
    float: none;
    margin: 0 0 29px;
    text-align: center;
    line-height: 0;
}

    .login_logo_div img {
        display: block;
        width: auto;
        height: 55px;
        max-width: 260px;
        object-fit: contain;
    }

.mou_login_style {
    width: 490px;
    max-width: 100%;
    margin: 0;
    float: none;
}

    /* ================================================================
                                   CARD
                                   ================================================================ */
    .mou_login_style .login-panel {
        position: relative;
        width: 490px;
        max-width: 100%;
        min-height: 644px;
        float: none;
        margin: 0;
        overflow: hidden;
        border: 1px solid rgba(222, 226, 232, .95);
        border-radius: 17px;
        background: rgba(255, 255, 255, .965);
        box-shadow: 0 25px 65px rgba(77, 63, 30, .13), 0 8px 24px rgba(77, 63, 30, .065) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

.login-panel::before {
    content: "";
    position: absolute;
    z-index: 5;
    left: 50%;
    top: 0;
    width: 162px;
    height: 4px;
    transform: translateX(-50%);
    border-radius: 0 0 5px 5px;
    background: linear-gradient(90deg, #f6a800, #ffc03b);
}

/* ================================================================
                                   TOP BEE MARK
                                   ================================================================ */
.mm-login-mark {
    position: absolute;
    z-index: 4;
    top: 28px;
    left: 50%;
    width: 92px;
    height: 92px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fffdf8;
    border: 1px solid #f5ead2;
    box-shadow: 0 7px 20px rgba(224, 170, 44, .11), inset 0 0 0 8px rgba(255, 245, 218, .55);
}

    .mm-login-mark img {
        width: 65%;
    }

/* ================================================================
                                   HEADER
                                   ================================================================ */
.login_bg_style .panel-heading {
    border: 0;
    background: transparent;
    text-align: center;
    padding: 139px 30px 0;
}

.login_bg_style .panel-title {
    margin: 0;
    color: #202632;
    font-size: 28px;
    line-height: 35px;
    font-weight: 700;
    letter-spacing: -.55px;
}

.login_bg_style .panel-heading::after {
    content: "Please sign in to your Moumachi account";
    display: block;
    margin-top: 7px;
    color: #7d8796;
    font-size: 13px;
    line-height: 20px;
    font-weight: 400;
}

/* ================================================================
                                   FORM
                                   ================================================================ */
.login_bg_style .panel-body {
    padding: 36px 30px 0;
}

.login_bg_style form,
.login_bg_style fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.login_bg_style .form-group {
    position: relative;
    margin: 0 0 16px;
}

    .login_bg_style .form-group:nth-child(2) {
        margin-bottom: 21px;
    }

.mm-input-wrap {
    position: relative;
    width: 100%;
}

.mm-input-icon {
    position: absolute;
    z-index: 2;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #f2a30b;
    pointer-events: none;
}

    .mm-input-icon.user::before {
        content: "";
        position: absolute;
        left: 6px;
        top: 1px;
        width: 8px;
        height: 8px;
        border: 2px solid currentColor;
        border-radius: 50%;
    }

    .mm-input-icon.user::after {
        content: "";
        position: absolute;
        left: 2px;
        bottom: 0;
        width: 16px;
        height: 9px;
        border: 2px solid currentColor;
        border-bottom: 0;
        border-radius: 10px 10px 0 0;
    }

    .mm-input-icon.lock::before {
        content: "";
        position: absolute;
        left: 4px;
        top: 8px;
        width: 14px;
        height: 11px;
        border: 2px solid currentColor;
        border-radius: 2px;
    }

    .mm-input-icon.lock::after {
        content: "";
        position: absolute;
        left: 7px;
        top: 1px;
        width: 8px;
        height: 10px;
        border: 2px solid currentColor;
        border-bottom: 0;
        border-radius: 7px 7px 0 0;
    }

.login_bg_style input.form-control {
    width: 100%;
    height: 60px;
    padding: 0 48px 0 56px;
    border: 1px solid #e1e5ea;
    border-radius: 10px;
    background: #fff;
    color: #303641;
    font-size: 13px;
    font-weight: 400;
    box-shadow: 0 2px 7px rgba(25, 35, 48, .025);
    transition: border-color .18s ease, box-shadow .18s ease;
}

    .login_bg_style input.form-control:hover {
        border-color: #d7dce3;
    }

    .login_bg_style input.form-control:focus {
        border-color: #ffb21a;
        outline: none;
        box-shadow: 0 0 0 3px rgba(255, 178, 26, .12);
    }

    .login_bg_style input.form-control::placeholder {
        color: #8e98a7;
        opacity: 1;
    }

    .login_bg_style input.form-control[readonly] {
        cursor: text;
    }

.mm-password-toggle {
    position: absolute;
    z-index: 4;
    right: 14px;
    top: 50%;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #95a0b0;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, transform .16s ease;
}

    .mm-password-toggle:hover {
        background: #fff7e5;
        color: #e99c0b;
    }

    .mm-password-toggle:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(255,178,26,.12);
    }

    .mm-password-toggle:active {
        transform: translateY(-50%) scale(.96);
    }

    .mm-password-toggle svg {
        width: 20px;
        height: 20px;
        display: block;
    }

    .mm-password-toggle .eye-off {
        display: none;
    }

    .mm-password-toggle.is-visible .eye {
        display: none;
    }

    .mm-password-toggle.is-visible .eye-off {
        display: block;
    }

/* ================================================================
                                   REMEMBER / FORGOT
                                   ================================================================ */
.mm-login-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 27px;
    min-height: 20px;
}

.login_bg_style .checkbox {
    margin: 0;
    padding: 0;
}

    .login_bg_style .checkbox label {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
        padding: 0;
        color: #414955;
        font-size: 13px;
        font-weight: 500;
        line-height: 20px;
        cursor: pointer;
    }

    .login_bg_style .checkbox input[type="checkbox"] {
        position: absolute;
        opacity: 0;
        width: 1px;
        height: 1px;
        margin: 0;
        pointer-events: none;
    }

.mm-checkmark {
    position: relative;
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    border: 1.5px solid #c8ced7;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(32,38,50,.05);
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.login_bg_style .checkbox label:hover .mm-checkmark {
    border-color: #ffb21a;
}

.login_bg_style .checkbox input[type="checkbox"]:checked + .mm-checkmark {
    border-color: #f2a30b;
    background: #f2a30b;
    box-shadow: 0 3px 8px rgba(242,163,11,.18);
}

    .login_bg_style .checkbox input[type="checkbox"]:checked + .mm-checkmark::after {
        content: "";
        position: absolute;
        left: 4px;
        top: 1px;
        width: 6px;
        height: 10px;
        border: solid #fff;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

.login_bg_style .checkbox input[type="checkbox"]:focus-visible + .mm-checkmark {
    box-shadow: 0 0 0 3px rgba(255,178,26,.16);
}

.mm-forgot-link {
    color: #e49a09 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
}

    .mm-forgot-link:hover {
        color: #c98200 !important;
        text-decoration: underline !important;
    }

/* ================================================================
                                   LOGIN BUTTON
                                   Keep #BtnLogin as the original INPUT for production JS safety.
                                   Arrow is a separate UI element, not a pseudo-element on input.
                                   ================================================================ */
.mm-login-button-wrap {
    position: relative;
    width: 100%;
}

#BtnLogin,
.mm-auth-submit {
    display: block;
    width: 100%;
    height: 56px;
    margin: 0;
    padding: 0 48px 0 20px;
    border: 0 !important;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffb21a 0%, #f7a30b 100%) !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 56px;
    text-align: center;
    box-shadow: 0 9px 20px rgba(245, 164, 13, .22);
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

    #BtnLogin:hover,
    .mm-auth-submit:hover {
        filter: brightness(.99);
        transform: translateY(-1px);
        box-shadow: 0 12px 25px rgba(245, 164, 13, .28);
    }

    #BtnLogin:active,
    .mm-auth-submit:active {
        transform: translateY(0);
    }

    #BtnLogin:focus,
    .mm-auth-submit:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(255, 178, 26, .16), 0 9px 20px rgba(245, 164, 13, .22);
    }

.mm-login-arrow {
    position: absolute;
    z-index: 2;
    left: calc(50% + 22px);
    top: 50%;
    right: auto;
    transform: translateY(-50%);
    color: #fff;
    font-size: 23px;
    line-height: 1;
    pointer-events: none;
    transition: transform .16s ease;
}

.mm-login-button-wrap:hover .mm-login-arrow {
    transform: translate(3px, -50%);
}

/* ================================================================
                                   FOOTER
                                   ================================================================ */
.bee_container_for_logins {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 114px;
    margin: 0;
    padding: 14px 30px 18px;
    border-top: 1px solid #eceef1;
    background: rgba(250, 250, 249, .70);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.mm-footer-bee-row {
    width: 100%;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.mm-footer-line {
    width: 59px;
    height: 1px;
    background: #e6e2d9;
}

.bee_container_for_logins .bee {
    transform: scale(.38);
    transform-origin: center;
    margin: -12px 0;
}

.bee_container_for_logins .bee_body {
    margin: 0 auto;
}

.mm-footer-title {
    margin-top: 5px;
    color: #7c8591;
    font-size: 13px;
    line-height: 19px;
    font-weight: 400;
}

.mm-footer-copy {
    margin-top: 4px;
    color: #a0a6ae;
    font-size: 12px;
    line-height: 18px;
}

/* ================================================================
                                   ERROR MODAL — existing behavior retained
                                   ================================================================ */
#myModal .modal-content {
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
}

#myModal .modal-header {
    padding: 18px 22px;
    border-bottom: 1px solid #f0f1f3;
    background: #fff;
}

#myModal .modal-title {
    font-weight: 700;
    color: #272c34;
}

#myModal .modal-body {
    padding: 22px;
    color: #606875;
}

#myModal .modal-footer {
    border-top: 1px solid #f0f1f3;
    background: #fafafa;
}

#myModal .green_button {
    border: 0;
    border-radius: 8px;
    background: var(--mm-yellow);
    color: #fff;
}

/* ================================================================
                                   MOUMACHI BEE / HIVE MOTION
                                   Minimal decorative animation — no impact on auth.
                                   ================================================================ */
.mm-hive {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 520px;
    height: 390px;
    transform: translate(-50%, -50%);
    opacity: .24;
}

.mm-hive-cell {
    position: absolute;
    width: 54px;
    height: 62px;
    border: 1px solid rgba(236, 166, 20, .30);
    clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
    background: rgba(255, 188, 33, .025);
}

    .mm-hive-cell:nth-child(1) {
        left: 36px;
        top: 36px;
    }

    .mm-hive-cell:nth-child(2) {
        left: 82px;
        top: 112px;
    }

    .mm-hive-cell:nth-child(3) {
        left: 28px;
        top: 188px;
    }

    .mm-hive-cell:nth-child(4) {
        right: 62px;
        top: 52px;
    }

    .mm-hive-cell:nth-child(5) {
        right: 10px;
        top: 128px;
    }

    .mm-hive-cell:nth-child(6) {
        right: 58px;
        top: 204px;
    }

.mm-flying-bee {
    position: absolute;
    z-index: 1;
    left: calc(50% + 330px);
    top: calc(50% - 110px);
    width: 34px;
    height: 28px;
    opacity: .62;
    animation: mm-bee-flight 8s ease-in-out infinite;
    filter: drop-shadow(0 5px 7px rgba(199,145,18,.12));
}

    .mm-flying-bee img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .mm-flying-bee::after {
        content: "";
        position: absolute;
        left: -28px;
        top: 15px;
        width: 34px;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(235,164,16,.32));
        transform: rotate(-8deg);
    }

.mm-hive-pulse {
    position: absolute;
    left: calc(50% - 345px);
    top: calc(50% + 90px);
    width: 46px;
    height: 53px;
    opacity: .32;
    animation: mm-hive-float 5s ease-in-out infinite;
}

    .mm-hive-pulse::before,
    .mm-hive-pulse::after {
        content: "";
        position: absolute;
        inset: 0;
        clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
    }

    .mm-hive-pulse::before {
        border: 1px solid rgba(235,164,16,.42);
        background: rgba(255,191,43,.035);
    }

    .mm-hive-pulse::after {
        inset: 8px;
        border: 1px solid rgba(235,164,16,.20);
    }

@keyframes mm-bee-flight {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(-3deg);
    }

    25% {
        transform: translate3d(-32px, -16px, 0) rotate(4deg);
    }

    50% {
        transform: translate3d(-10px, 26px, 0) rotate(-2deg);
    }

    75% {
        transform: translate3d(28px, 8px, 0) rotate(5deg);
    }
}

@keyframes mm-hive-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: .26;
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
        opacity: .42;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mm-flying-bee,
    .mm-hive-pulse,
    .mou_login_style .login-panel {
        animation: none !important;
    }
}

/* ================================================================
                                   RESPONSIVE
                                   ================================================================ */
@media (max-width: 767px) {
    body.login_bg_style {
        overflow-y: auto;
    }

    .mm-login-shell {
        min-height: 100svh;
        padding: 28px 16px 24px;
    }

    .login_logo_div {
        margin-bottom: 22px;
    }

        .login_logo_div img {
            height: 48px;
            max-width: 220px;
        }

    .mou_login_style,
    .mou_login_style .login-panel {
        width: 100%;
    }

        .mou_login_style .login-panel {
            min-height: 0;
            border-radius: 15px;
        }

    .mm-login-mark {
        top: 24px;
        width: 82px;
        height: 82px;
    }

    .login_bg_style .panel-heading {
        padding: 121px 22px 0;
    }

    .login_bg_style .panel-title {
        font-size: 24px;
        line-height: 31px;
    }

    .login_bg_style .panel-body {
        padding: 24px 22px 132px;
    }

    .login_bg_style input.form-control {
        height: 56px;
    }

    .mm-login-actions {
        margin-bottom: 22px;
    }

    .mm-login-arrow {
        right: 34%;
    }

    .bee_container_for_logins {
        height: 110px;
    }

    .mm-hex,
    .mm-dots,
    .mm-hive,
    .mm-flying-bee,
    .mm-hive-pulse {
        opacity: .16;
    }

    .mm-hive {
        width: 360px;
        height: 300px;
    }

    .mm-flying-bee {
        left: auto;
        right: 8%;
        top: 16%;
        width: 28px;
        height: 24px;
    }

    .mm-hive-pulse {
        left: 6%;
        top: 70%;
    }
}

@media (max-height: 760px) and (min-width: 768px) {
    .mm-login-shell {
        padding-top: 40px;
        padding-bottom: 20px;
    }

    .login_logo_div {
        margin-bottom: 20px;
    }

        .login_logo_div img {
            height: 50px;
        }

    .mou_login_style .login-panel {
        min-height: 590px;
    }

    .mm-login-mark {
        top: 22px;
        width: 82px;
        height: 82px;
    }

    .login_bg_style .panel-heading {
        padding-top: 119px;
    }

    .login_bg_style .panel-body {
        padding-top: 22px;
    }

    .bee_container_for_logins {
        height: 102px;
    }
}

.text-security-disk {
    -webkit-text-security: disc !important;
}

@keyframes mm-login-fade-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

.mou_login_style .login-panel {
    animation: mm-login-fade-up .38s ease-out both;
    isolation: isolate;
}

/* ================================================================
               MOUMACHI FORM ART — PURE CSS
               Everything animated here is INSIDE the login card.
               Nothing animated remains on the page background.
               ================================================================ */

.mm-form-bee-art {
    position: absolute;
    z-index: 3;
    top: 28px;
    right: 24px;
    width: 92px;
    height: 74px;
    pointer-events: none;
    overflow: visible;
}

.mm-honeycomb {
    position: absolute;
    right: 0;
    top: 4px;
    width: 58px;
    height: 58px;
    opacity: .62;
}

.mm-honey-cell {
    position: absolute;
    width: 29px;
    height: 34px;
    border: 1px solid rgba(236,166,20,.24);
    background: rgba(255,190,35,.025);
    clip-path: polygon( 25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50% );
}

    .mm-honey-cell.cell-a {
        right: 22px;
        top: 0;
    }

    .mm-honey-cell.cell-b {
        right: 0;
        top: 17px;
    }

    .mm-honey-cell.cell-c {
        right: 22px;
        top: 34px;
    }

/* Pure CSS bee */
.mm-css-bee {
    position: absolute;
    z-index: 4;
    left: 3px;
    top: 32px;
    width: 24px;
    height: 18px;
    animation: mm-form-bee-flight 4.8s ease-in-out infinite;
}

.mm-css-bee-body {
    position: absolute;
    left: 5px;
    top: 4px;
    width: 17px;
    height: 10px;
    border: 1.3px solid #222;
    border-radius: 48% 52% 48% 52%;
    background: repeating-linear-gradient( 90deg, #ffb21a 0 4px, #242424 4px 6px );
    transform: rotate(-7deg);
    box-shadow: 0 2px 4px rgba(50,40,15,.08);
}

    .mm-css-bee-body::after {
        content: "";
        position: absolute;
        right: -4px;
        top: 2px;
        width: 0;
        height: 0;
        border-top: 3px solid transparent;
        border-bottom: 3px solid transparent;
        border-left: 5px solid #242424;
        transform: rotate(-5deg);
    }

.mm-css-bee-wing {
    position: absolute;
    z-index: -1;
    width: 9px;
    height: 6px;
    border: 1px solid rgba(114,125,142,.38);
    background: rgba(235,242,248,.72);
    border-radius: 70% 40% 70% 40%;
}

    .mm-css-bee-wing.wing-a {
        left: 5px;
        top: 0;
        transform: rotate(-26deg);
        animation: mm-wing-flap-a .34s ease-in-out infinite alternate;
    }

    .mm-css-bee-wing.wing-b {
        left: 12px;
        top: -1px;
        transform: rotate(22deg);
        animation: mm-wing-flap-b .34s ease-in-out .07s infinite alternate;
    }

.mm-css-bee-stripe {
    position: absolute;
    z-index: 5;
    top: 5px;
    width: 1px;
    height: 8px;
    background: rgba(255,255,255,.8);
}

    .mm-css-bee-stripe.stripe-a {
        left: 12px;
    }

    .mm-css-bee-stripe.stripe-b {
        left: 16px;
    }

/* Tiny dotted flight path, also contained inside the card */
.mm-css-bee::after {
    content: "";
    position: absolute;
    left: -3px;
    top: 19px;
    width: 54px;
    height: 18px;
    border-top: 1px dashed rgba(232,162,16,.18);
    border-radius: 50%;
    transform: rotate(-7deg);
}

@keyframes mm-form-bee-flight {
    0%, 100% {
        transform: translate(0, 2px) rotate(-2deg);
    }

    25% {
        transform: translate(12px, -4px) rotate(5deg);
    }

    50% {
        transform: translate(28px, 0) rotate(-2deg);
    }

    75% {
        transform: translate(39px, -5px) rotate(4deg);
    }
}

@keyframes mm-wing-flap-a {
    from {
        transform: translateY(1px) rotate(-26deg) scaleY(.82);
    }

    to {
        transform: translateY(-1px) rotate(-19deg) scaleY(1.08);
    }
}

@keyframes mm-wing-flap-b {
    from {
        transform: translateY(1px) rotate(22deg) scaleY(.82);
    }

    to {
        transform: translateY(-1px) rotate(15deg) scaleY(1.08);
    }
}

/* If an old copy of the outside animation is ever left in markup,
               it is explicitly disabled. */
.mm-login-bg .mm-hive,
.mm-login-bg .mm-flying-bee,
.mm-login-bg .mm-hive-pulse {
    display: none !important;
    animation: none !important;
}

@media (max-width: 767px) {
    .mm-form-bee-art {
        top: 24px;
        right: 17px;
        transform: scale(.80);
        transform-origin: top right;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mm-css-bee,
    .mm-css-bee-wing.wing-a,
    .mm-css-bee-wing.wing-b {
        animation: none !important;
    }
}

/* ================================================================
               PASSWORD VISIBILITY — overrides -webkit-text-security
               ================================================================ */
#Password.mm-password-visible {
    -webkit-text-security: none !important;
    text-security: none !important;
}
