/* BOMMIIY REGISTER PAGE — scoped premium enhancements only. */
/* Original layout, colours, photo sizing and registration behaviour remain intact. */

.bm-auth--register .bm-gift-photo-frame {
    animation: bmRegisterBouquetFloat 5s ease-in-out infinite;
    transform-origin: center center;
    will-change: transform;
    box-shadow: 0 20px 45px rgba(123, 40, 75, .14);
}

@keyframes bmRegisterBouquetFloat {

    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(-.4deg);
    }

    50% {
        transform: translate3d(0, -13px, 0) rotate(.5deg);
    }
}

.bm-auth--register .bm-gift-spark--one {
    animation: bmRegisterTwinkle 3.5s ease-in-out infinite;
}

.bm-auth--register .bm-gift-spark--two {
    animation: bmRegisterTwinkle 4.5s ease-in-out 1s infinite;
}

@keyframes bmRegisterTwinkle {

    0%,
    100% {
        opacity: .55;
    }

    50% {
        opacity: 1;
    }
}

/* Google sign-in: genuine four-colour SVG icon, subtle pink sparkle. */
.bm-auth--register .bm-google {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: 100%;
    min-height: 62px;
    padding: 12px 20px;
    border: 1px solid #e7d8de;
    border-radius: 999px;
    background: #fff;
    color: #392833;
    font-family: 'Jost', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    box-shadow: 0 5px 16px rgba(80, 31, 54, .045), inset 0 1px 0 #fff;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.bm-auth--register .bm-google:hover {
    transform: translateY(-3px);
    border-color: #dba7b9;
    background: #fffdfd;
    box-shadow: 0 13px 28px rgba(145, 45, 85, .13);
}

.bm-auth--register .bm-google:active {
    transform: translateY(-1px) scale(.995);
}

.bm-auth--register .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--register .bm-google-icon svg {
    display: block;
    width: 23px;
    height: 23px;
}

.bm-auth--register .bm-google-label {
    display: inline-block;
}

.bm-auth--register .bm-google-end {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: #d15b8a;
    font-size: 15px;
    line-height: 1;
    transition: transform .25s ease, color .25s ease;
}

.bm-auth--register .bm-google:hover .bm-google-end {
    transform: rotate(45deg) scale(1.15);
    color: #a92359;
}

.bm-auth--register .bm-google small {
    display: none;
}

/* Primary register button: same pink palette, more polished hover. */
.bm-auth--register .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, .19);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.bm-auth--register .bm-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 17px 32px rgba(165, 30, 80, .26);
    filter: brightness(1.035);
}

.bm-auth--register .bm-submit:active {
    transform: translateY(-1px) scale(.995);
}

.bm-auth--register .bm-premium-sparkle {
    display: inline-block;
    margin-left: 6px;
    font-size: 14px;
    line-height: 1;
    transition: transform .3s ease;
}

.bm-auth--register .bm-submit .bm-premium-sparkle {
    color: #ffe5ef;
}

.bm-auth--register .bm-auth-switch-btn .bm-premium-sparkle {
    color: #c64d7c;
}

.bm-auth--register .bm-submit:hover .bm-premium-sparkle,
.bm-auth--register .bm-auth-switch-btn:hover .bm-premium-sparkle {
    transform: rotate(45deg) scale(1.15);
}

/* Back, log-in link and password visibility controls. */
.bm-auth--register .bm-auth-switch-btn,
.bm-auth--register .bm-password-toggle,
.bm-auth--register .bm-back-link {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease,
        background-color .25s ease, color .25s ease;
}

.bm-auth--register .bm-auth-switch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 22px rgba(170, 45, 86, .12);
}

.bm-auth--register .bm-password-toggle:hover {
    background: #fbe4ec;
    color: #9e1f50;
}

.bm-auth--register .bm-back-link:hover {
    color: #a92359;
    transform: translateX(-3px);
}

.bm-auth--register .bm-back-link-icon {
    font-size: 19px;
}

/* Inputs and keyboard accessibility. */
.bm-auth--register .bm-field input {
    transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.bm-auth--register .bm-field input:focus {
    border-color: #c75b83;
    box-shadow: 0 0 0 4px rgba(207, 99, 141, .12);
    outline: none;
}

.bm-auth--register a:focus-visible,
.bm-auth--register button:focus-visible,
.bm-auth--register input:focus-visible {
    outline: 3px solid #e59db7;
    outline-offset: 3px;
}

@media (max-width: 560px) {
    .bm-auth--register .bm-google {
        min-height: 56px;
        gap: 10px;
        padding: 11px 14px;
        font-size: 14px;
    }

    .bm-auth--register .bm-gift-photo-frame {
        animation-duration: 5.5s;
    }
}

@media (prefers-reduced-motion: reduce) {

    .bm-auth--register .bm-gift-photo-frame,
    .bm-auth--register .bm-gift-spark--one,
    .bm-auth--register .bm-gift-spark--two {
        animation: none !important;
        will-change: auto;
    }

    .bm-auth--register .bm-google,
    .bm-auth--register .bm-google-end,
    .bm-auth--register .bm-submit,
    .bm-auth--register .bm-premium-sparkle,
    .bm-auth--register .bm-auth-switch-btn,
    .bm-auth--register .bm-password-toggle,
    .bm-auth--register .bm-back-link,
    .bm-auth--register .bm-field input {
        transition: none !important;
    }
}