/* Login Button in Menu */
.wulmb-menu-login-btn {
    display: inline-flex;
    align-items: center;
    border: none;
    background: #ffffff;
    padding-bottom: 3px;
    margin-left: 10px
}

.wulmb-menu-login-btn svg {
    color: #A4C36A;
}

.gm-navigation-drawer--mobile .wulmb-menu-login-btn {
    margin-left: 0;
    position: absolute;
    top: 6px
}

.gm-navigation-drawer--mobile .wulmb-menu-login-btn svg {
    width: 25px;
    height: 25px;
}

/* Login Modal */
.wulmb-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999990;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.wulmb-modal.closing {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.wulmb-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.wulmb-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.3s ease-out;
    z-index: 999999999;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

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

.wulmb-modal.closing .wulmb-modal-content {
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
}

.wulmb-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.wulmb-modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    transform: scale(1.1);
}

.wulmb-modal-close svg {
    width: 20px;
    height: 20px;
}

.wulmb-modal-body {
    padding: 2rem;
}

/* Prevent body scroll when modal is open */
body.wulmb-modal-open {
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wulmb-menu-login-btn {
        width: 40px;
        height: 40px;
        margin-left: 10px;
    }

    .wulmb-menu-login-btn svg {
        width: 18px;
        height: 18px;
    }

    .wulmb-modal-content {
        border-radius: 0;
        max-width: 100%;
        width: 100%;
        max-height: 100vh;
        min-height: 100vh;
    }

    .wulmb-modal-body {
        padding: 1.5rem;
    }
}