/* ==========================================================
   BOMMIIY GIFT COLLECTION
   PREMIUM LOGIN PAGE ENHANCEMENTS

   Applies ONLY to .bm-auth--login

   Original pink theme preserved.
   Original bouquet image preserved.
   Existing authentication functionality preserved.
========================================================== */


/* ==========================================================
   1. BOUQUET PHOTO FLOATING ANIMATION
========================================================== */

.bm-auth--login .bm-gift-photo-frame {

    animation: bmLoginBouquetFloat 5s ease-in-out infinite;

    will-change: transform;

    transform-origin: center center;

    box-shadow:
        0 20px 45px rgba(123, 40, 75, 0.14);

}


/* Gentle up-and-down floating movement */

@keyframes bmLoginBouquetFloat {

    0%,
    100% {

        transform: translate3d(0, 0, 0) rotate(-0.4deg);

    }

    50% {

        transform: translate3d(0, -13px, 0) rotate(0.5deg);

    }

}


/* ==========================================================
   2. DECORATIVE SPARKLE ANIMATION
========================================================== */

.bm-auth--login .bm-gift-spark--one {

    animation: bmLoginTwinkle 3.5s ease-in-out infinite;

}

.bm-auth--login .bm-gift-spark--two {

    animation: bmLoginTwinkle 4.5s ease-in-out 1s infinite;

}


@keyframes bmLoginTwinkle {

    0%,
    100% {

        opacity: 0.55;

    }

    50% {

        opacity: 1;

    }

}


/* ==========================================================
   3. PREMIUM GOOGLE LOGIN BUTTON
========================================================== */

.bm-auth--login .bm-google {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 13px;

    min-height: 62px;

    width: 100%;

    padding: 12px 20px;

    border: 1px solid #e7d8de;

    border-radius: 999px;

    background: #ffffff;

    color: #392833;

    font-family: 'Jost', Arial, sans-serif;

    font-size: 15px;

    font-weight: 600;

    line-height: 1.3;

    letter-spacing: 0.1px;

    text-decoration: none;

    box-shadow:
        0 5px 16px rgba(80, 31, 54, 0.045),
        inset 0 1px 0 #ffffff;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;

}


/* Google button hover */

.bm-auth--login .bm-google:hover {

    transform: translateY(-3px);

    border-color: #dba7b9;

    background: #fffdfd;

    box-shadow:
        0 13px 28px rgba(145, 45, 85, 0.13);

}


/* Google button click */

.bm-auth--login .bm-google:active {

    transform: translateY(-1px) scale(0.995);

}


/* ==========================================================
   4. ORIGINAL GOOGLE MULTICOLOUR ICON
========================================================== */

.bm-auth--login .bm-google-icon {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 30px;

    height: 30px;

    flex: 0 0 30px;

    padding: 0;

    border: 0;

    border-radius: 0;

    background: transparent;

    box-shadow: none;

    font-size: 0;

}


.bm-auth--login .bm-google-icon svg {

    display: block;

    width: 23px;

    height: 23px;

}


/* Google button label */

.bm-auth--login .bm-google-label {

    display: inline-block;

}


/* ==========================================================
   5. PREMIUM PINK SPARKLE ICON
   Replaces the old Google button arrow visually.
========================================================== */

.bm-auth--login .bm-google-end {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 20px;

    height: 20px;

    flex: 0 0 20px;

    color: #d15b8a;

    font-size: 0;

    line-height: 1;

    transition:
        color 0.25s ease,
        transform 0.25s ease;

}


/* Sparkle shape */

.bm-auth--login .bm-google-end svg {

    display: block;

    width: 15px;

    height: 15px;

}


/* Sparkle hover */

.bm-auth--login .bm-google:hover .bm-google-end {

    transform: scale(1.12);

    color: #a92359;

}


/* Hide old Google subtitle if present */

.bm-auth--login .bm-google small {

    display: none;

}


/* ==========================================================
   6. PREMIUM PINK LOGIN BUTTON
========================================================== */

.bm-auth--login .bm-submit {

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(105deg,
            #aa2052 0%,
            #c52f69 55%,
            #a92359 100%);

    box-shadow:
        0 12px 26px rgba(165, 30, 80, 0.19);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;

}


/* Login button hover */

.bm-auth--login .bm-submit:hover {

    transform: translateY(-3px);

    box-shadow:
        0 17px 32px rgba(165, 30, 80, 0.26);

    filter: brightness(1.035);

}


/* Login button click */

.bm-auth--login .bm-submit:active {

    transform: translateY(-1px) scale(0.995);

}


/* Login arrow animation */

.bm-auth--login .bm-submit span {

    display: inline-block;

    transition: transform 0.25s ease;

}


.bm-auth--login .bm-submit:hover span {

    transform: translate(3px, -3px);

}


/* ==========================================================
   7. PREMIUM SECONDARY BUTTON TRANSITIONS
========================================================== */

.bm-auth--login .bm-auth-switch-btn,
.bm-auth--login .bm-password-toggle,
.bm-auth--login .bm-back-link {

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease;

}


/* ==========================================================
   8. CREATE ACCOUNT BUTTON
========================================================== */

.bm-auth--login .bm-auth-switch-btn:hover {

    transform: translateY(-2px);

    box-shadow:
        0 9px 22px rgba(170, 45, 86, 0.12);

}


/* ==========================================================
   9. SHOW / HIDE PASSWORD BUTTON
========================================================== */

.bm-auth--login .bm-password-toggle:hover {

    background: #fbe4ec;

    color: #9e1f50;

}


/* ==========================================================
   10. BACK TO SHOP LINK
========================================================== */

.bm-auth--login .bm-back-link:hover {

    color: #a92359;

    transform: translateX(-3px);

}


/* ==========================================================
   11. PREMIUM INPUT FOCUS EFFECT
========================================================== */

.bm-auth--login .bm-field input {

    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background-color 0.22s ease;

}


.bm-auth--login .bm-field input:focus {

    border-color: #c75b83;

    box-shadow:
        0 0 0 4px rgba(207, 99, 141, 0.12);

    outline: none;

}


/* ==========================================================
   12. REMEMBER ME CHECKBOX
========================================================== */

.bm-auth--login .bm-remember input {

    accent-color: #b52c5a;

}


/* ==========================================================
   13. ACCESSIBLE KEYBOARD FOCUS
========================================================== */

.bm-auth--login a:focus-visible,
.bm-auth--login button:focus-visible,
.bm-auth--login input:focus-visible {

    outline: 3px solid #e59db7;

    outline-offset: 3px;

}


/* ==========================================================
   14. MOBILE RESPONSIVE
========================================================== */

@media (max-width: 560px) {

    .bm-auth--login .bm-google {

        min-height: 56px;

        gap: 10px;

        padding: 11px 14px;

        font-size: 14px;

    }

    .bm-auth--login .bm-gift-photo-frame {

        animation-duration: 5.5s;

    }

}


/* ==========================================================
   15. REDUCED MOTION ACCESSIBILITY
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .bm-auth--login .bm-gift-photo-frame,
    .bm-auth--login .bm-gift-spark--one,
    .bm-auth--login .bm-gift-spark--two {

        animation: none !important;

        will-change: auto;

    }

    .bm-auth--login .bm-google,
    .bm-auth--login .bm-google-end,
    .bm-auth--login .bm-submit,
    .bm-auth--login .bm-submit span,
    .bm-auth--login .bm-auth-switch-btn,
    .bm-auth--login .bm-password-toggle,
    .bm-auth--login .bm-back-link,
    .bm-auth--login .bm-field input {

        transition: none !important;

    }

}